|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface to the factory for the Core.
| Method Summary | |
Object |
buildAbstraction(String name,
Object supplier,
Object client)
Build an empty but initialized instance of a UML Abstraction with a given name. |
Object |
buildAssociation(Object c1,
boolean nav1,
Object c2,
boolean nav2,
String name)
Builds a binary association with a direction, aggregation and a given name. |
Object |
buildAssociation(Object classifier1,
Object classifier2)
Builds a binary associations between two classifiers with default values for the association ends and the association itself. |
Object |
buildAssociation(Object fromClassifier,
Object aggregationKind1,
Object toClassifier,
Object aggregationKind2,
Boolean unidirectional)
Builds a binary associationrole on basis of two classifierroles, navigation and aggregation. |
Object |
buildAssociationClass(Object end1,
Object end2)
Builds an associationClass between classifier end1 and end2 with a default class. |
Object |
buildAssociationEnd(Object type,
Object assoc)
Builds a simply configured association end. |
Object |
buildAssociationEnd(Object assoc,
String name,
Object type,
Object multi,
Object stereo,
boolean navigable,
Object order,
Object aggregation,
Object scope,
Object changeable,
Object visibility)
Builds a fully configurable association end. |
Object |
buildAttribute(Object model,
Object type)
Builds a default attribute. |
Object |
buildAttribute(Object handle,
Object model,
Object type)
Builds an attribute owned by some classifier cls. |
Object |
buildAttribute(Object handle,
Object model,
Object type,
Collection propertyChangeListeners)
Deprecated. for 0.21.2 by tfmorris - use non-listener version |
Object |
buildClass()
Builds a default implementation for a class. |
Object |
buildClass(Object owner)
Builds a class with a given namespace. |
Object |
buildClass(String name)
Builds a class with a given name. |
Object |
buildClass(String name,
Object owner)
Builds a class with a given name and namespace. |
Object |
buildComment(Object element,
Object model)
Builds a comment inluding a reference to the given modelelement to comment. |
Object |
buildConstraint(Object constrElement)
Builds a constraint that constraints the given modelelement. |
Object |
buildConstraint(String name,
Object bexpr)
Builds a constraint with a given name and boolean expression. |
Object |
buildDataType(String name,
Object owner)
Builds a datatype with a given name and namespace. |
Object |
buildDependency(Object clientObj,
Object supplierObj)
Builds a modelelement dependency between two modelelements. |
Object |
buildEnumeration(String name,
Object owner)
|
Object |
buildEnumerationLiteral(String name,
Object enumeration)
|
Object |
buildGeneralization(Object child,
Object parent)
Builds a generalization between a parent and a child. |
Object |
buildGeneralization(Object child,
Object parent,
String name)
Builds a generalization between a parent and a child with a given name. |
Object |
buildInterface()
Builds a default implementation for an interface. |
Object |
buildInterface(Object owner)
Builds an interface with a given namespace. |
Object |
buildInterface(String name)
Builds an interface with a given name. |
Object |
buildInterface(String name,
Object owner)
Builds an interface with a given name and namespace. |
Object |
buildMethod(String name)
Builds a method with a given name. |
Object |
buildOperation(Object classifier,
Object model,
Object returnType)
Builds an operation for a classifier. |
Object |
buildOperation(Object classifier,
Object model,
Object returnType,
Collection propertyChangeListeners)
Deprecated. for 0.21.2 by tfmorris - use non-listener version |
Object |
buildOperation(Object cls,
Object model,
Object returnType,
String name)
Builds an operation with a given name for classifier. |
Object |
buildOperation(Object cls,
Object model,
Object returnType,
String name,
Collection propertyChangeListeners)
Deprecated. for 0.21.2 by tfmorris - use non-listener version |
Object |
buildParameter(Object o,
Object model,
Object type)
Adds a parameter initialized to default values to a given event or behavioral feature. |
Object |
buildParameter(Object o,
Object model,
Object type,
Collection propertyChangeListeners)
Deprecated. for 0.21.2 by tfmorris - use non-listener version |
Object |
buildPermission(Object clientObj,
Object supplierObj)
Builds a modelelement permission between two modelelements. |
Object |
buildRealization(Object clnt,
Object spplr,
Object model)
Builds a realization between some supplier (for example an interface in Java) and a client who implements the realization. |
Object |
buildUsage(Object client,
Object supplier)
Builds a usage between some client and a supplier. |
Object |
copyClass(Object source,
Object ns)
Copies a class, and it's features. |
Object |
copyDataType(Object source,
Object ns)
Copies a datatype, and it's features. |
Object |
copyInterface(Object source,
Object ns)
Copies an interface, and it's features. |
Object |
createAbstraction()
Create an empty but initialized instance of a UML Abstraction. |
Object |
createArtifact()
Create an empty but initialized instance of an Artifact |
Object |
createAssociation()
Create an empty but initialized instance of a UML Association. |
Object |
createAssociationClass()
Create an empty but initialized instance of a UML AssociationClass. |
Object |
createAssociationEnd()
Create an empty but initialized instance of a UML AssociationEnd. |
Object |
createAttribute()
Create an empty but initialized instance of a UML Attribute. |
Object |
createBinding()
Create an empty but initialized instance of a UML Binding. |
Object |
createClass()
Create an empty but initialized instance of a UML Class. |
Object |
createComment()
Create an empty but initialized instance of a UML Comment. |
Object |
createComponent()
Create an empty but initialized instance of a UML Component. |
Object |
createConstraint()
Create an empty but initialized instance of a UML Constraint. |
Object |
createDataType()
Create an empty but initialized instance of a UML DataType. |
Object |
createDependency()
Create an empty but initialized instance of a UML Dependency. |
Object |
createElementResidence()
Create an empty but initialized instance of a UML ElementResidence. |
Object |
createEnumeration()
Create an Enumeration. |
Object |
createEnumerationLiteral()
Create an EnumerationLiteral. |
Object |
createFlow()
Create an empty but initialized instance of a UML Flow. |
Object |
createGeneralization()
Additional support for generalization. |
Object |
createInterface()
Create an empty but initialized instance of a UML Interface. |
Object |
createMethod()
Create an empty but initialized instance of a UML Method. |
Object |
createNode()
Create an empty but initialized instance of a UML Node. |
Object |
createOperation()
Create an empty but initialized instance of a UML Operation. |
Object |
createParameter()
Create an empty but initialized instance of a UML Parameter. |
Object |
createPermission()
Create an empty but initialized instance of a UML Permission. |
Object |
createPrimitive()
Create a UML Primitive. |
Object |
createProgrammingLanguageDataType()
Create a UML ProgrammingLanguageDataType. |
Object |
createTemplateArgument()
Create a UML TemplateArgument. |
Object |
createTemplateParameter()
Create an empty but initialized instance of a UML TemplateParameter. |
Object |
createUsage()
Create an empty but initialized instance of a UML Usage. |
| Method Detail |
public Object createAbstraction()
public Object buildAbstraction(String name,
Object supplier,
Object client)
name - The name.supplier - the supplier of the abstractionclient - the client of the abstraction
public Object createArtifact()
public Object createAssociation()
public Object createAssociationClass()
public Object createAssociationEnd()
public Object createAttribute()
public Object createBinding()
public Object createClass()
public Object createComment()
public Object createComponent()
public Object createConstraint()
public Object createDataType()
public Object createDependency()
public Object createElementResidence()
public Object createEnumeration()
public Object createEnumerationLiteral()
public Object createFlow()
public Object createInterface()
public Object createMethod()
public Object createNode()
public Object createOperation()
public Object createParameter()
public Object createPermission()
public Object createPrimitive()
public Object createProgrammingLanguageDataType()
public Object createTemplateArgument()
public Object createTemplateParameter()
public Object createUsage()
public Object buildAssociation(Object fromClassifier,
Object aggregationKind1,
Object toClassifier,
Object aggregationKind2,
Boolean unidirectional)
fromClassifier - the first given classifieraggregationKind1 - the first aggregationkindtoClassifier - the second given classifieraggregationKind2 - the second aggregationkindunidirectional - true if unidirectional
public Object buildAssociation(Object classifier1,
Object classifier2)
classifier1 - The first classifier to connectclassifier2 - The second classifier to connect
public Object buildAssociation(Object c1,
boolean nav1,
Object c2,
boolean nav2,
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 - the given name
public Object buildAssociationClass(Object end1,
Object end2)
end1 - the first given classifierend2 - the second given classifier
public Object buildAssociationEnd(Object assoc,
String name,
Object type,
Object multi,
Object stereo,
boolean navigable,
Object order,
Object aggregation,
Object scope,
Object changeable,
Object 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 - the aggregationkindscope - the scope kindchangeable - the changeablekindvisibility - the visibilitykind
public Object buildAssociationEnd(Object type,
Object assoc)
type - the given classifierassoc - the given association
public Object buildAttribute(Object model,
Object type)
model - The model the attribute belongs to.type - The type of the attribute.
public Object buildAttribute(Object handle,
Object model,
Object type)
handle - the given classifiermodel - the enclosing modeltype - the type
public Object buildAttribute(Object handle,
Object model,
Object type,
Collection propertyChangeListeners)
handle - the given classifiermodel - the enclosing modeltype - the typepropertyChangeListeners - the listeners
public Object buildClass()
public Object buildClass(Object owner)
owner - the namespace
buildClass()public Object buildClass(String name)
name - the given name
buildClass()
public Object buildClass(String name,
Object owner)
name - the given nameowner - the namespace
buildClass()public Object buildInterface()
public Object buildInterface(Object owner)
owner - is the owner
buildInterface()public Object buildInterface(String name)
name - is the given name.
buildInterface()
public Object buildInterface(String name,
Object owner)
name - is the given nameowner - is the namespace
buildInterface()
public Object buildDataType(String name,
Object owner)
name - is the nameowner - is the namespace
public Object buildEnumeration(String name,
Object owner)
name - is the nameowner - is the namespace
public Object buildEnumerationLiteral(String name,
Object enumeration)
name - is the nameenumeration - is the enumeration of the literal
public Object buildDependency(Object clientObj,
Object supplierObj)
clientObj - is the clientsupplierObj - is the supplier
public Object buildPermission(Object clientObj,
Object supplierObj)
clientObj - is the clientsupplierObj - is the supplier
public Object buildGeneralization(Object child,
Object parent,
String name)
child - is the childparent - is the parentname - is the given name
public Object buildGeneralization(Object child,
Object parent)
child - is the childparent - is the parent
public Object buildMethod(String name)
name - is the given name
public Object buildOperation(Object classifier,
Object model,
Object returnType,
Collection propertyChangeListeners)
classifier - is the given classifiermodel - is the model to which the class belongsreturnType - the type of the return parameterpropertyChangeListeners - the listeners
public Object buildOperation(Object classifier,
Object model,
Object returnType)
classifier - is the given classifiermodel - is the model to which the class belongsreturnType - the type of the return parameter
public Object buildOperation(Object cls,
Object model,
Object returnType,
String name,
Collection propertyChangeListeners)
cls - is the classifier that shall own the operationmodel - is the model that contains the classreturnType - the type of the return parametername - the given name for the operationpropertyChangeListeners - the listeners
public Object buildOperation(Object cls,
Object model,
Object returnType,
String name)
cls - is the classifier that shall own the operationmodel - is the model that contains the classreturnType - the type of the return parametername - the given name for the operation
public Object buildParameter(Object o,
Object model,
Object type,
Collection propertyChangeListeners)
o - an event or behavioral featuremodel - the model to which the event or behavioral feature belongstype - the type of the parameterpropertyChangeListeners - the listeners
public Object buildParameter(Object o,
Object model,
Object type)
o - an event or behavioral featuremodel - the model to which the event or behavioral feature belongstype - the type of the parameter
public Object buildRealization(Object clnt,
Object spplr,
Object model)
clnt - is the clientspplr - is the suppliermodel - the namespace to use if client and
supplier are of different namespace
public Object buildUsage(Object client,
Object supplier)
IllegalArgumentException is thrown.
client - is the clientsupplier - is the supplier
public Object buildComment(Object element,
Object model)
element - is the model elementmodel - the namespace for the comment
public Object buildConstraint(Object constrElement)
constrElement - The constrained element.
public Object buildConstraint(String name,
Object bexpr)
name - is the given namebexpr - boolean expression
public Object copyClass(Object source,
Object ns)
source - is the class to copy.ns - is the namespace to put the copy in.
public Object copyDataType(Object source,
Object ns)
source - is the datatype to copy.ns - is the namespace to put the copy in.
public Object copyInterface(Object source,
Object ns)
source - is the interface to copy.ns - is the namespace to put the copy in.
public Object createGeneralization()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |