|
|||||||||||
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.DataTypesFactoryImpl
Factory to create UML classes for the UML Foundation::DataTypes package.
TODO: Change visibility to package after reflection problem solved.
Field Summary | |
private NSUMLModelImplementation |
nsmodel
The model implementation. |
Constructor Summary | |
(package private) |
DataTypesFactoryImpl(NSUMLModelImplementation implementation)
Don't allow instantiation. |
Method Summary | |
Object |
createActionExpression(String language,
String body)
Create an empty but initialized instance of a UML ActionExpression. |
Object |
createArgListsExpression(String language,
String body)
Create an empty but initialized instance of a UML ArgListsExpression. |
Object |
createBooleanExpression(String language,
String body)
Create an empty but initialized instance of a UML BooleanExpression. |
Object |
createExpression(String language,
String body)
Create an empty but initialized instance of a UML Expression. |
Object |
createExpressionEditor(Object expr)
Create an UML ExpressionEditor based on a given expression. |
Object |
createIterationExpression(String language,
String body)
Create an empty but initialized instance of a UML IterationExpression. |
Object |
createMappingExpression(String language,
String body)
Create an empty but initialized instance of a UML MappingExpression. |
Object |
createMultiplicity(int lower,
int upper)
Create an empty but initialized instance of a UML Multiplicity. |
Object |
createMultiplicity(List range)
Create an empty but initialized instance of a UML Multiplicity. |
Object |
createMultiplicity(String str)
Create an empty but initialized instance of a UML Multiplicity. |
Object |
createObjectSetExpression(String language,
String body)
Create an empty but initialized instance of a UML ObjectSetExpression. |
Object |
createProcedureExpression(String language,
String body)
Create an empty but initialized instance of a UML ProcedureExpression. |
Object |
createTimeExpression(String language,
String body)
Create an empty but initialized instance of a UML TimeExpression. |
Object |
createTypeExpression(String language,
String body)
Create an empty but initialized instance of a UML TypeExpression. |
Methods inherited from class org.argouml.model.uml.AbstractUmlModelFactory |
addListenersToModelElement, initialize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private NSUMLModelImplementation nsmodel
Constructor Detail |
DataTypesFactoryImpl(NSUMLModelImplementation implementation)
implementation
- To get other helpers and factories.Method Detail |
public Object createActionExpression(String language, String body)
createActionExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createArgListsExpression(String language, String body)
createArgListsExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createBooleanExpression(String language, String body)
createBooleanExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createExpressionEditor(Object expr)
createExpressionEditor
in interface org.argouml.model.DataTypesFactory
expr
- Object MExpression the given expression
public Object createExpression(String language, String body)
createExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createIterationExpression(String language, String body)
createIterationExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createMappingExpression(String language, String body)
createMappingExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createObjectSetExpression(String language, String body)
createObjectSetExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createProcedureExpression(String language, String body)
createProcedureExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createTimeExpression(String language, String body)
createTimeExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createTypeExpression(String language, String body)
createTypeExpression
in interface org.argouml.model.DataTypesFactory
language
- the language for the expressionbody
- the body for the expression
public Object createMultiplicity(int lower, int upper)
createMultiplicity
in interface org.argouml.model.DataTypesFactory
lower
- the lower bound of the rangeupper
- the upper bound of the range
TODO: UnlimitedInteger - which number represents "unlimited?".
Quote from standard: "In the metamodel UnlimitedInteger defines
a data type whose range is the nonnegative integers augmented
by the special value 'unlimited'."
public Object createMultiplicity(List range)
createMultiplicity
in interface org.argouml.model.DataTypesFactory
range
- a List containing the range
public Object createMultiplicity(String str)
createMultiplicity
in interface org.argouml.model.DataTypesFactory
str
- a String representing the multiplicity
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |