|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.model.uml.AbstractUmlModelFactory
org.argouml.model.uml.foundation.core.CoreFactory
Factory to create UML classes for the UML Foundation::Core package. Feature, StructuralFeature, and PresentationElement do not have a create methods since it is called an "abstract metaclass" in the UML specifications.
Field Summary | |
private static CoreFactory |
SINGLETON
Singleton instance. |
Fields inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
|
Constructor Summary | |
private |
CoreFactory()
Don't allow instantiation |
Method Summary | |
java.lang.Object |
buildAbstraction(java.lang.String name)
Build an empty but initialized instance of a UML Abstraction with a given name. |
ru.novosoft.uml.foundation.core.MAssociation |
buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1,
boolean nav1,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg1,
ru.novosoft.uml.foundation.core.MClassifier c2,
boolean nav2,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg2)
Builds a default binary association with two default association ends. |
ru.novosoft.uml.foundation.core.MAssociation |
buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1,
boolean nav1,
ru.novosoft.uml.foundation.core.MClassifier c2,
boolean nav2)
Builds a default binary association with two default association ends. |
ru.novosoft.uml.foundation.core.MAssociation |
buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg1,
ru.novosoft.uml.foundation.core.MClassifier c2,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg2)
Builds a default binary association with two default association ends. |
ru.novosoft.uml.foundation.core.MAssociation |
buildAssociation(ru.novosoft.uml.foundation.core.MClassifier from,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg1,
ru.novosoft.uml.foundation.core.MClassifier to,
ru.novosoft.uml.foundation.data_types.MAggregationKind agg2,
java.lang.Boolean unidirectional)
Builds a binary associationrole on basis of two classifierroles, navigation and aggregation. |
java.lang.Object |
buildAssociation(java.lang.Object c1,
boolean nav1,
java.lang.Object c2,
boolean nav2,
java.lang.String name)
Builds a binary association with a direction, aggregation and a given name. |
ru.novosoft.uml.foundation.core.MAssociation |
buildAssociation(java.lang.Object classifier1,
java.lang.Object classifier2)
Builds a binary associations between two classifiers with default values for the association ends and the association itself. |
ru.novosoft.uml.foundation.core.MAssociationClass |
buildAssociationClass(ru.novosoft.uml.foundation.core.MClassifier end1,
ru.novosoft.uml.foundation.core.MClassifier end2)
Builds an associationClass between classifier end1 and end2 with a default class. |
ru.novosoft.uml.foundation.core.MAssociationEnd |
buildAssociationEnd(ru.novosoft.uml.foundation.core.MAssociation assoc,
java.lang.String name,
ru.novosoft.uml.foundation.core.MClassifier type,
ru.novosoft.uml.foundation.data_types.MMultiplicity multi,
ru.novosoft.uml.foundation.extension_mechanisms.MStereotype stereo,
boolean navigable,
ru.novosoft.uml.foundation.data_types.MOrderingKind order,
ru.novosoft.uml.foundation.data_types.MAggregationKind aggregation,
ru.novosoft.uml.foundation.data_types.MScopeKind scope,
ru.novosoft.uml.foundation.data_types.MChangeableKind changeable,
ru.novosoft.uml.foundation.data_types.MVisibilityKind visibility)
Builds a fully configurable association end. |
ru.novosoft.uml.foundation.core.MAssociationEnd |
buildAssociationEnd(ru.novosoft.uml.foundation.core.MClassifier type,
ru.novosoft.uml.foundation.core.MAssociation assoc)
|
ru.novosoft.uml.foundation.core.MAssociationClass |
buildAssociatonClass(ru.novosoft.uml.foundation.core.MClass cl,
ru.novosoft.uml.foundation.core.MClassifier end1,
ru.novosoft.uml.foundation.core.MClassifier end2)
Builds an association class from a class and two classifiers that should be associated. |
ru.novosoft.uml.foundation.core.MAttribute |
buildAttribute()
Builds a default attribute. |
ru.novosoft.uml.foundation.core.MAttribute |
buildAttribute(java.lang.Object handle)
Builds an attribute owned by some classifier cls. |
java.lang.Object |
buildAttribute(java.lang.String name)
Builds a default attribute with a given name. |
ru.novosoft.uml.foundation.core.MBinding |
buildBinding(ru.novosoft.uml.foundation.core.MModelElement client,
ru.novosoft.uml.foundation.core.MModelElement supplier)
Builds a binding between a client modelelement and a supplier modelelement. |
ru.novosoft.uml.foundation.core.MClass |
buildClass()
Builds a default implementation for a class. |
ru.novosoft.uml.foundation.core.MClass |
buildClass(java.lang.Object owner)
Builds a class with a given namespace. |
ru.novosoft.uml.foundation.core.MClass |
buildClass(java.lang.String name)
Builds a class with a given name. |
ru.novosoft.uml.foundation.core.MClass |
buildClass(java.lang.String name,
java.lang.Object owner)
Builds a class with a given name and namespace. |
ru.novosoft.uml.foundation.core.MComment |
buildComment(java.lang.Object element)
Builds a comment inluding a reference to the given modelelement to comment. |
ru.novosoft.uml.foundation.core.MConstraint |
buildConstraint(java.lang.Object constrElement)
Builds a constraint that constraints the given modelelement. |
java.lang.Object |
buildConstraint(java.lang.String name,
java.lang.Object bexpr)
Builds a constraint with a given name and boolean expression. |
java.lang.Object |
buildDataType(java.lang.String name,
java.lang.Object owner)
Builds a datatype with a given name and namespace. |
ru.novosoft.uml.foundation.core.MDependency |
buildDependency(java.lang.Object clientObj,
java.lang.Object supplierObj)
Builds a modelelement dependency between two modelelements. |
ru.novosoft.uml.foundation.core.MGeneralization |
buildGeneralization(java.lang.Object child1,
java.lang.Object parent1)
Builds a generalization between a parent and a child. |
java.lang.Object |
buildGeneralization(java.lang.Object child,
java.lang.Object parent,
java.lang.String name)
Builds a generalization between a parent and a child with a given name. |
java.lang.Object |
buildInterface()
Builds a default implementation for an interface. |
java.lang.Object |
buildInterface(java.lang.Object owner)
Builds an interface with a given namespace. |
java.lang.Object |
buildInterface(java.lang.String name)
Builds an interface with a given name. |
java.lang.Object |
buildInterface(java.lang.String name,
java.lang.Object owner)
Builds an interface with a given name and namespace. |
ru.novosoft.uml.foundation.core.MMethod |
buildMethod(ru.novosoft.uml.foundation.core.MOperation op)
Builds a default method belonging to a certain operation. |
ru.novosoft.uml.foundation.core.MMethod |
buildMethod(ru.novosoft.uml.foundation.core.MOperation op,
NotationName notation,
java.lang.String body)
Builds a method belonging to a certain operation. |
ru.novosoft.uml.foundation.core.MMethod |
buildMethod(java.lang.String name)
Builds a method with a given name. |
ru.novosoft.uml.foundation.core.MOperation |
buildOperation(java.lang.Object handle)
Builds an operation for a classifier. |
java.lang.Object |
buildOperation(java.lang.Object cls,
java.lang.String name)
Builds an operation with a given name for classifier. |
ru.novosoft.uml.foundation.core.MParameter |
buildParameter()
Constructs a default parameter. |
ru.novosoft.uml.foundation.core.MParameter |
buildParameter(ru.novosoft.uml.foundation.core.MBehavioralFeature oper)
Constructs a default parameter and adds it to oper. |
ru.novosoft.uml.foundation.core.MParameter |
buildParameter(java.lang.Object o)
Adds a parameter initialized to default values to a given event or behavioral feature |
java.lang.Object |
buildParameter(java.lang.Object feature,
java.lang.Object dk)
Constructs a default parameter, adds it to oper and sets its type (return etc.). |
ru.novosoft.uml.foundation.core.MPermission |
buildPermission(java.lang.Object clientObj,
java.lang.Object supplierObj)
Builds a modelelement permission between two modelelements. |
java.lang.Object |
buildRealization(ru.novosoft.uml.foundation.core.MModelElement client,
ru.novosoft.uml.foundation.core.MModelElement supplier)
Builds a realization between some supplier (for example an interface in Java) and a client who implements the realization. |
ru.novosoft.uml.foundation.core.MUsage |
buildUsage(ru.novosoft.uml.foundation.core.MModelElement client,
ru.novosoft.uml.foundation.core.MModelElement supplier)
Builds a usage between some client and a supplier. |
ru.novosoft.uml.foundation.core.MClass |
copyClass(ru.novosoft.uml.foundation.core.MClass source,
ru.novosoft.uml.foundation.core.MNamespace ns)
Copies a class, and it's features. |
ru.novosoft.uml.foundation.core.MDataType |
copyDataType(ru.novosoft.uml.foundation.core.MDataType source,
ru.novosoft.uml.foundation.core.MNamespace ns)
Copies a datatype, and it's features. |
ru.novosoft.uml.foundation.core.MInterface |
copyInterface(ru.novosoft.uml.foundation.core.MInterface source,
ru.novosoft.uml.foundation.core.MNamespace ns)
Copies an interface, and it's features. |
java.lang.Object |
createAbstraction()
Create an empty but initialized instance of a UML Abstraction. |
ru.novosoft.uml.foundation.core.MAssociation |
createAssociation()
Create an empty but initialized instance of a UML Association. |
ru.novosoft.uml.foundation.core.MAssociationClass |
createAssociationClass()
Create an empty but initialized instance of a UML AssociationClass. |
ru.novosoft.uml.foundation.core.MAssociationEnd |
createAssociationEnd()
Create an empty but initialized instance of a UML AssociationEnd. |
ru.novosoft.uml.foundation.core.MAttribute |
createAttribute()
Create an empty but initialized instance of a UML Attribute. |
ru.novosoft.uml.foundation.core.MBinding |
createBinding()
Create an empty but initialized instance of a UML Binding. |
ru.novosoft.uml.foundation.core.MClass |
createClass()
Create an empty but initialized instance of a UML Class. |
ru.novosoft.uml.foundation.core.MClassifier |
createClassifier()
Create an empty but initialized instance of a UML Classifier. |
ru.novosoft.uml.foundation.core.MComment |
createComment()
Create an empty but initialized instance of a UML Comment. |
ru.novosoft.uml.foundation.core.MComponent |
createComponent()
Create an empty but initialized instance of a UML Component. |
ru.novosoft.uml.foundation.core.MConstraint |
createConstraint()
Create an empty but initialized instance of a UML Constraint. |
ru.novosoft.uml.foundation.core.MDataType |
createDataType()
Create an empty but initialized instance of a UML DataType. |
ru.novosoft.uml.foundation.core.MDependency |
createDependency()
Create an empty but initialized instance of a UML Dependency. |
ru.novosoft.uml.foundation.core.MElementResidence |
createElementResidence()
Create an empty but initialized instance of a UML ElementResidence. |
ru.novosoft.uml.foundation.core.MFlow |
createFlow()
Create an empty but initialized instance of a UML Flow. |
ru.novosoft.uml.foundation.core.MGeneralization |
createGeneralization()
Create an empty but initialized instance of a UML Generalization. |
ru.novosoft.uml.foundation.core.MInterface |
createInterface()
Create an empty but initialized instance of a UML Interface. |
ru.novosoft.uml.foundation.core.MMethod |
createMethod()
Create an empty but initialized instance of a UML Method. |
ru.novosoft.uml.foundation.core.MNamespace |
createNamespace()
Create an empty but initialized instance of a UML Namespace. |
ru.novosoft.uml.foundation.core.MNode |
createNode()
Create an empty but initialized instance of a UML Node. |
ru.novosoft.uml.foundation.core.MOperation |
createOperation()
Create an empty but initialized instance of a UML Operation. |
ru.novosoft.uml.foundation.core.MParameter |
createParameter()
Create an empty but initialized instance of a UML Parameter. |
ru.novosoft.uml.foundation.core.MPermission |
createPermission()
Create an empty but initialized instance of a UML Permission. |
ru.novosoft.uml.foundation.core.MRelationship |
createRelationship()
Create an empty but initialized instance of a UML Relationship. |
ru.novosoft.uml.foundation.core.MTemplateParameter |
createTemplateParameter()
Create an empty but initialized instance of a UML TemplateParameter. |
ru.novosoft.uml.foundation.core.MUsage |
createUsage()
Create an empty but initialized instance of a UML Usage. |
void |
deleteAbstraction(java.lang.Object elem)
|
void |
deleteAssociation(ru.novosoft.uml.foundation.core.MAssociation elem)
|
void |
deleteAssociationClass(ru.novosoft.uml.foundation.core.MAssociationClass elem)
|
void |
deleteAssociationEnd(ru.novosoft.uml.foundation.core.MAssociationEnd elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. |
void |
deleteAttribute(ru.novosoft.uml.foundation.core.MAttribute elem)
|
void |
deleteBehavioralFeature(ru.novosoft.uml.foundation.core.MBehavioralFeature elem)
|
void |
deleteBinding(ru.novosoft.uml.foundation.core.MBinding elem)
|
void |
deleteClass(ru.novosoft.uml.foundation.core.MClass elem)
|
void |
deleteClassifier(java.lang.Object elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. |
void |
deleteComment(ru.novosoft.uml.foundation.core.MComment elem)
|
void |
deleteComponent(ru.novosoft.uml.foundation.core.MComponent elem)
|
void |
deleteConstraint(ru.novosoft.uml.foundation.core.MConstraint elem)
|
void |
deleteDataType(ru.novosoft.uml.foundation.core.MDataType elem)
|
void |
deleteDependency(ru.novosoft.uml.foundation.core.MDependency elem)
|
void |
deleteElement(ru.novosoft.uml.foundation.core.MElement elem)
|
void |
deleteElementResidence(ru.novosoft.uml.foundation.core.MElementResidence elem)
|
void |
deleteFeature(ru.novosoft.uml.foundation.core.MFeature elem)
|
void |
deleteFlow(ru.novosoft.uml.foundation.core.MFlow elem)
|
void |
deleteGeneralizableElement(ru.novosoft.uml.foundation.core.MGeneralizableElement elem)
|
void |
deleteGeneralization(ru.novosoft.uml.foundation.core.MGeneralization elem)
|
void |
deleteInterface(ru.novosoft.uml.foundation.core.MInterface elem)
|
void |
deleteMethod(ru.novosoft.uml.foundation.core.MMethod elem)
|
void |
deleteModelElement(ru.novosoft.uml.foundation.core.MModelElement elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. |
void |
deleteNamespace(ru.novosoft.uml.foundation.core.MNamespace elem)
A namespace deletes its owned elements. |
void |
deleteNode(ru.novosoft.uml.foundation.core.MNode elem)
|
void |
deleteOperation(ru.novosoft.uml.foundation.core.MOperation elem)
|
void |
deleteParameter(ru.novosoft.uml.foundation.core.MParameter elem)
|
void |
deletePermission(ru.novosoft.uml.foundation.core.MPermission elem)
|
void |
deletePresentationElement(ru.novosoft.uml.foundation.core.MPresentationElement elem)
|
void |
deleteRelationship(ru.novosoft.uml.foundation.core.MRelationship elem)
|
void |
deleteStructuralFeature(ru.novosoft.uml.foundation.core.MStructuralFeature elem)
|
void |
deleteTemplateParameter(ru.novosoft.uml.foundation.core.MTemplateParameter elem)
|
void |
deleteUsage(ru.novosoft.uml.foundation.core.MUsage elem)
|
void |
doCopyClass(ru.novosoft.uml.foundation.core.MClass source,
ru.novosoft.uml.foundation.core.MClass target)
Used by the copy functions. |
void |
doCopyClassifier(ru.novosoft.uml.foundation.core.MClassifier source,
ru.novosoft.uml.foundation.core.MClassifier target)
Used by the copy functions. |
void |
doCopyDataType(ru.novosoft.uml.foundation.core.MDataType source,
ru.novosoft.uml.foundation.core.MDataType target)
Used by the copy functions. |
void |
doCopyElement(ru.novosoft.uml.foundation.core.MElement source,
ru.novosoft.uml.foundation.core.MElement target)
Deprecated. by Linus Tolke as of 0.15.4. Will be made private. |
void |
doCopyGeneralizableElement(ru.novosoft.uml.foundation.core.MGeneralizableElement source,
ru.novosoft.uml.foundation.core.MGeneralizableElement target)
Used by the copy functions. |
void |
doCopyInterface(ru.novosoft.uml.foundation.core.MInterface source,
ru.novosoft.uml.foundation.core.MInterface target)
Used by the copy functions. |
void |
doCopyModelElement(ru.novosoft.uml.foundation.core.MModelElement source,
ru.novosoft.uml.foundation.core.MModelElement target)
Used by the copy functions. |
void |
doCopyNamespace(ru.novosoft.uml.foundation.core.MNamespace source,
ru.novosoft.uml.foundation.core.MNamespace target)
Used by the copy functions. |
static CoreFactory |
getFactory()
Singleton instance access method. |
Methods inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
addListenersToModelElement, initialize, isGuiEnabled, setGuiEnabled |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static CoreFactory SINGLETON
Constructor Detail |
private CoreFactory()
Method Detail |
public static CoreFactory getFactory()
public java.lang.Object createAbstraction()
public java.lang.Object buildAbstraction(java.lang.String name)
name
-
public ru.novosoft.uml.foundation.core.MAssociation createAssociation()
public ru.novosoft.uml.foundation.core.MAssociationClass createAssociationClass()
public ru.novosoft.uml.foundation.core.MAssociationEnd createAssociationEnd()
public ru.novosoft.uml.foundation.core.MAttribute createAttribute()
public ru.novosoft.uml.foundation.core.MBinding createBinding()
public ru.novosoft.uml.foundation.core.MClass createClass()
public ru.novosoft.uml.foundation.core.MClassifier createClassifier()
public ru.novosoft.uml.foundation.core.MComment createComment()
public ru.novosoft.uml.foundation.core.MComponent createComponent()
public ru.novosoft.uml.foundation.core.MConstraint createConstraint()
public ru.novosoft.uml.foundation.core.MDataType createDataType()
public ru.novosoft.uml.foundation.core.MDependency createDependency()
public ru.novosoft.uml.foundation.core.MElementResidence createElementResidence()
public ru.novosoft.uml.foundation.core.MFlow createFlow()
public ru.novosoft.uml.foundation.core.MGeneralization createGeneralization()
public ru.novosoft.uml.foundation.core.MInterface createInterface()
public ru.novosoft.uml.foundation.core.MMethod createMethod()
public ru.novosoft.uml.foundation.core.MNamespace createNamespace()
public ru.novosoft.uml.foundation.core.MNode createNode()
public ru.novosoft.uml.foundation.core.MOperation createOperation()
public ru.novosoft.uml.foundation.core.MParameter createParameter()
public ru.novosoft.uml.foundation.core.MPermission createPermission()
public ru.novosoft.uml.foundation.core.MRelationship createRelationship()
public ru.novosoft.uml.foundation.core.MTemplateParameter createTemplateParameter()
public ru.novosoft.uml.foundation.core.MUsage createUsage()
public ru.novosoft.uml.foundation.core.MAssociation buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1, boolean nav1, ru.novosoft.uml.foundation.data_types.MAggregationKind agg1, ru.novosoft.uml.foundation.core.MClassifier c2, boolean nav2, ru.novosoft.uml.foundation.data_types.MAggregationKind agg2)
c1
- The first classifier to connect tonav1
- The navigability of the Associaton endagg1
- The aggregation type of the second Associaton endc2
- The second classifier to connect tonav2
- The navigability of the second Associaton endagg2
- The aggregation type of the second Associaton end
public ru.novosoft.uml.foundation.core.MAssociation buildAssociation(ru.novosoft.uml.foundation.core.MClassifier from, ru.novosoft.uml.foundation.data_types.MAggregationKind agg1, ru.novosoft.uml.foundation.core.MClassifier to, ru.novosoft.uml.foundation.data_types.MAggregationKind agg2, java.lang.Boolean unidirectional)
public ru.novosoft.uml.foundation.core.MAssociation buildAssociation(java.lang.Object classifier1, java.lang.Object classifier2)
classifier1
- The first classifier to connectclassifier2
- The second classifier to connect
public ru.novosoft.uml.foundation.core.MAssociation buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1, boolean nav1, ru.novosoft.uml.foundation.core.MClassifier c2, boolean nav2)
c1
- The first classifier to connect tonav1
- The navigability of the Associaton endc2
- The second classifier to connect tonav2
- The navigability of the second Associaton end
public java.lang.Object buildAssociation(java.lang.Object c1, boolean nav1, java.lang.Object c2, boolean nav2, java.lang.String name)
c1
- The first classifier to connect tonav1
- The navigability of the Associaton endc2
- The second classifier to connect tonav2
- The navigability of the second Associaton endname
-
public ru.novosoft.uml.foundation.core.MAssociation buildAssociation(ru.novosoft.uml.foundation.core.MClassifier c1, ru.novosoft.uml.foundation.data_types.MAggregationKind agg1, ru.novosoft.uml.foundation.core.MClassifier c2, ru.novosoft.uml.foundation.data_types.MAggregationKind agg2)
c1
- The first classifier to connect toagg1
- The aggregation type of the second Associaton endc2
- The second classifier to connect toagg2
- The aggregation type of the second Associaton end
public ru.novosoft.uml.foundation.core.MAssociationClass buildAssociationClass(ru.novosoft.uml.foundation.core.MClassifier end1, ru.novosoft.uml.foundation.core.MClassifier end2)
end1
- end2
-
public ru.novosoft.uml.foundation.core.MAssociationEnd buildAssociationEnd(ru.novosoft.uml.foundation.core.MAssociation assoc, java.lang.String name, ru.novosoft.uml.foundation.core.MClassifier type, ru.novosoft.uml.foundation.data_types.MMultiplicity multi, ru.novosoft.uml.foundation.extension_mechanisms.MStereotype stereo, boolean navigable, ru.novosoft.uml.foundation.data_types.MOrderingKind order, ru.novosoft.uml.foundation.data_types.MAggregationKind aggregation, ru.novosoft.uml.foundation.data_types.MScopeKind scope, ru.novosoft.uml.foundation.data_types.MChangeableKind changeable, ru.novosoft.uml.foundation.data_types.MVisibilityKind visibility)
assoc
- The associaton this end will be part ofname
- The name of the association endtype
- The type (classifier) the end will connect. The end
is a connection piece between an association and a classifiermulti
- The multiplicitystereo
- The stereotypenavigable
- The navigability. True if this association end
can be 'passed' from the other classifier.order
- Ordering of the associationaggregation
- scope
- changeable
- visibility
-
public ru.novosoft.uml.foundation.core.MAssociationEnd buildAssociationEnd(ru.novosoft.uml.foundation.core.MClassifier type, ru.novosoft.uml.foundation.core.MAssociation assoc)
public ru.novosoft.uml.foundation.core.MAssociationClass buildAssociatonClass(ru.novosoft.uml.foundation.core.MClass cl, ru.novosoft.uml.foundation.core.MClassifier end1, ru.novosoft.uml.foundation.core.MClassifier end2)
cl
- end1
- end2
-
public ru.novosoft.uml.foundation.core.MAttribute buildAttribute()
public java.lang.Object buildAttribute(java.lang.String name)
name
-
public ru.novosoft.uml.foundation.core.MAttribute buildAttribute(java.lang.Object handle)
handle
-
public ru.novosoft.uml.foundation.core.MBinding buildBinding(ru.novosoft.uml.foundation.core.MModelElement client, ru.novosoft.uml.foundation.core.MModelElement supplier)
client
- supplier
-
public ru.novosoft.uml.foundation.core.MClass buildClass()
public ru.novosoft.uml.foundation.core.MClass buildClass(java.lang.Object owner)
owner
-
buildClass()
public ru.novosoft.uml.foundation.core.MClass buildClass(java.lang.String name)
name
-
buildClass()
public ru.novosoft.uml.foundation.core.MClass buildClass(java.lang.String name, java.lang.Object owner)
name
- owner
-
buildClass()
public java.lang.Object buildInterface()
public java.lang.Object buildInterface(java.lang.Object owner)
owner
- is the owner
buildInterface()
public java.lang.Object buildInterface(java.lang.String name)
name
- is the given name.
buildInterface()
public java.lang.Object buildInterface(java.lang.String name, java.lang.Object owner)
name
- is the given nameowner
- is the namespace
buildInterface()
public java.lang.Object buildDataType(java.lang.String name, java.lang.Object owner)
name
- is the nameowner
- is the namespace
public ru.novosoft.uml.foundation.core.MDependency buildDependency(java.lang.Object clientObj, java.lang.Object supplierObj)
clientObj
- is the clientsupplierObj
- is the supplier
public ru.novosoft.uml.foundation.core.MPermission buildPermission(java.lang.Object clientObj, java.lang.Object supplierObj)
clientObj
- is the clientsupplierObj
- is the supplier
public java.lang.Object buildGeneralization(java.lang.Object child, java.lang.Object parent, java.lang.String name)
child
- is the childparent
- is the parentname
- is the given name
public ru.novosoft.uml.foundation.core.MGeneralization buildGeneralization(java.lang.Object child1, java.lang.Object parent1)
child1
- is the childparent1
- is the parent
public ru.novosoft.uml.foundation.core.MMethod buildMethod(ru.novosoft.uml.foundation.core.MOperation op)
op
- is the operation
public ru.novosoft.uml.foundation.core.MMethod buildMethod(ru.novosoft.uml.foundation.core.MOperation op, NotationName notation, java.lang.String body)
op
- The operation this method belongs tonotation
- The notationname (language name) of the bodybody
- The actual body of the method
public ru.novosoft.uml.foundation.core.MMethod buildMethod(java.lang.String name)
name
- is the given name
public ru.novosoft.uml.foundation.core.MOperation buildOperation(java.lang.Object handle)
handle
- is the classifier.
public java.lang.Object buildOperation(java.lang.Object cls, java.lang.String name)
cls
- is the classifier.name
- is the given name.
public ru.novosoft.uml.foundation.core.MParameter buildParameter()
public ru.novosoft.uml.foundation.core.MParameter buildParameter(ru.novosoft.uml.foundation.core.MBehavioralFeature oper)
oper
- The operation where it is added to.
If null, it is not added.
public java.lang.Object buildParameter(java.lang.Object feature, java.lang.Object dk)
feature
- The operation where it is added to.
If null, it is not added.dk
- The directionkind. If null it is not set.
public ru.novosoft.uml.foundation.core.MParameter buildParameter(java.lang.Object o)
o
- an event or behavioral feature
public java.lang.Object buildRealization(ru.novosoft.uml.foundation.core.MModelElement client, ru.novosoft.uml.foundation.core.MModelElement supplier)
client
- is the clientsupplier
- is the supplier
public ru.novosoft.uml.foundation.core.MUsage buildUsage(ru.novosoft.uml.foundation.core.MModelElement client, ru.novosoft.uml.foundation.core.MModelElement supplier)
IllegalArgumentException
is thrown.
client
- is the clientsupplier
- is the supplier
public ru.novosoft.uml.foundation.core.MComment buildComment(java.lang.Object element)
element
- is the model element
public ru.novosoft.uml.foundation.core.MConstraint buildConstraint(java.lang.Object constrElement)
constrElement
- The constrained element.
public java.lang.Object buildConstraint(java.lang.String name, java.lang.Object bexpr)
name
- is the given namebexpr
- boolean expression
public void deleteAbstraction(java.lang.Object elem)
public void deleteAssociation(ru.novosoft.uml.foundation.core.MAssociation elem)
public void deleteAssociationClass(ru.novosoft.uml.foundation.core.MAssociationClass elem)
public void deleteAssociationEnd(ru.novosoft.uml.foundation.core.MAssociationEnd elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. Does not do an cascading delete for elements that are deleted by the NSUML method remove. This method should not be called directly.
In the case of an associationend these are the following elements:
- Binary Associations that 'loose' one of the associationends by this deletion.
elem
- UmlFactory.delete(Object)
public void deleteAttribute(ru.novosoft.uml.foundation.core.MAttribute elem)
public void deleteBehavioralFeature(ru.novosoft.uml.foundation.core.MBehavioralFeature elem)
public void deleteBinding(ru.novosoft.uml.foundation.core.MBinding elem)
public void deleteClass(ru.novosoft.uml.foundation.core.MClass elem)
public void deleteClassifier(java.lang.Object elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. Does not do an cascading delete for elements that are deleted by the NSUML method remove. This method should not be called directly.
In the case of a classifier these are the following elements:
- AssociationEnds that have this classifier as type
elem
- UmlFactory.delete(Object)
public void deleteComment(ru.novosoft.uml.foundation.core.MComment elem)
public void deleteComponent(ru.novosoft.uml.foundation.core.MComponent elem)
public void deleteConstraint(ru.novosoft.uml.foundation.core.MConstraint elem)
public void deleteDataType(ru.novosoft.uml.foundation.core.MDataType elem)
public void deleteDependency(ru.novosoft.uml.foundation.core.MDependency elem)
public void deleteElement(ru.novosoft.uml.foundation.core.MElement elem)
public void deleteElementResidence(ru.novosoft.uml.foundation.core.MElementResidence elem)
public void deleteFeature(ru.novosoft.uml.foundation.core.MFeature elem)
public void deleteFlow(ru.novosoft.uml.foundation.core.MFlow elem)
public void deleteGeneralizableElement(ru.novosoft.uml.foundation.core.MGeneralizableElement elem)
public void deleteGeneralization(ru.novosoft.uml.foundation.core.MGeneralization elem)
public void deleteInterface(ru.novosoft.uml.foundation.core.MInterface elem)
public void deleteMethod(ru.novosoft.uml.foundation.core.MMethod elem)
public void deleteModelElement(ru.novosoft.uml.foundation.core.MModelElement elem)
Does a 'cascading delete' to all modelelements that are associated with this element that would be in an illegal state after deletion of the element. Does not do an cascading delete for elements that are deleted by the NSUML method remove. This method should not be called directly.
In the case of a modelelement these are the following elements:
- Dependencies that have the modelelement as supplier or as a client and are binary. (that is, they only have one supplier and one client)
elem
- UmlFactory.delete(Object)
public void deleteNamespace(ru.novosoft.uml.foundation.core.MNamespace elem)
elem
- is the namespace.public void deleteNode(ru.novosoft.uml.foundation.core.MNode elem)
public void deleteOperation(ru.novosoft.uml.foundation.core.MOperation elem)
public void deleteParameter(ru.novosoft.uml.foundation.core.MParameter elem)
public void deletePermission(ru.novosoft.uml.foundation.core.MPermission elem)
public void deletePresentationElement(ru.novosoft.uml.foundation.core.MPresentationElement elem)
public void deleteRelationship(ru.novosoft.uml.foundation.core.MRelationship elem)
public void deleteStructuralFeature(ru.novosoft.uml.foundation.core.MStructuralFeature elem)
public void deleteTemplateParameter(ru.novosoft.uml.foundation.core.MTemplateParameter elem)
public void deleteUsage(ru.novosoft.uml.foundation.core.MUsage elem)
public ru.novosoft.uml.foundation.core.MClass copyClass(ru.novosoft.uml.foundation.core.MClass source, ru.novosoft.uml.foundation.core.MNamespace ns)
source
- is the class to copy.ns
- is the namespace to put the copy in.
public ru.novosoft.uml.foundation.core.MDataType copyDataType(ru.novosoft.uml.foundation.core.MDataType source, ru.novosoft.uml.foundation.core.MNamespace ns)
source
- is the datatype to copy.ns
- is the namespace to put the copy in.
public ru.novosoft.uml.foundation.core.MInterface copyInterface(ru.novosoft.uml.foundation.core.MInterface source, ru.novosoft.uml.foundation.core.MNamespace ns)
source
- is the interface to copy.ns
- is the namespace to put the copy in.
public void doCopyElement(ru.novosoft.uml.foundation.core.MElement source, ru.novosoft.uml.foundation.core.MElement target)
public void doCopyClass(ru.novosoft.uml.foundation.core.MClass source, ru.novosoft.uml.foundation.core.MClass target)
public void doCopyClassifier(ru.novosoft.uml.foundation.core.MClassifier source, ru.novosoft.uml.foundation.core.MClassifier target)
public void doCopyDataType(ru.novosoft.uml.foundation.core.MDataType source, ru.novosoft.uml.foundation.core.MDataType target)
public void doCopyGeneralizableElement(ru.novosoft.uml.foundation.core.MGeneralizableElement source, ru.novosoft.uml.foundation.core.MGeneralizableElement target)
public void doCopyInterface(ru.novosoft.uml.foundation.core.MInterface source, ru.novosoft.uml.foundation.core.MInterface target)
public void doCopyModelElement(ru.novosoft.uml.foundation.core.MModelElement source, ru.novosoft.uml.foundation.core.MModelElement target)
public void doCopyNamespace(ru.novosoft.uml.foundation.core.MNamespace source, ru.novosoft.uml.foundation.core.MNamespace target)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |