Package com.xxrjun.factories
Class UMLObjectFactory
java.lang.Object
com.xxrjun.factories.UMLObjectFactory
The type Uml factory.
-
Method Summary
Modifier and TypeMethodDescriptionstatic UMLBasicObject
createUMLBasicObject
(UMLObjectTypes objectType, Point p) Create uml basic object uml basic object.static UMLConnectionLine
createUMLConnectionLine
(UMLObjectTypes objectType, Point sourcePoint, Point destinationPoint) Create uml connection line uml connection line.
-
Method Details
-
createUMLBasicObject
Create uml basic object uml basic object.- Parameters:
objectType
- the object typep
- the p- Returns:
- the uml basic object
-
createUMLConnectionLine
public static UMLConnectionLine createUMLConnectionLine(UMLObjectTypes objectType, Point sourcePoint, Point destinationPoint) Create uml connection line uml connection line.- Parameters:
objectType
- the object typesourcePoint
- the source pointdestinationPoint
- the destination point- Returns:
- the uml connection line
-