|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.uml.StandardElementDef | +--com.ashridgetech.jamda.uml.StandardTypeDef | +--com.ashridgetech.jamda.uml.StandardClassDef
Defines a standard Class
which is required in a Model
.
Constructor Summary | |
StandardClassDef(java.lang.String fullName)
Creates a new StandardClassDef for a ClassType . |
Method Summary | |
protected ModelElement |
createElement(Model model)
Create the element required by this definition in a given Model . |
ClassType |
getClass(Model model)
Get the ClassType
required by this definition from a given Model . |
java.lang.String |
getDescription()
Get a description of the element required. |
Type |
getType(Model model)
Get the Type
required by this definition from a given Model . |
boolean |
hasElement(Model model)
Check whether the ClassType
required by this definition is present in a given Model . |
Methods inherited from class com.ashridgetech.jamda.uml.StandardTypeDef |
getTypeName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardClassDef(java.lang.String fullName)
StandardClassDef
for a ClassType
.
fullName
- the full name of the classMethod Detail |
public boolean hasElement(Model model)
ClassType
required by this definition is present in a given Model
.
hasElement
in class StandardTypeDef
model
- the Model
in which the check is to be performed
Class
is presentprotected ModelElement createElement(Model model)
Model
.
createElement
in class StandardElementDef
model
- the Model
in which the element is to be created
ModelElement
public ClassType getClass(Model model)
ClassType
required by this definition from a given Model
.
model
- the Model
in which the Class
is to be found
Class
public Type getType(Model model)
Type
required by this definition from a given Model
.
getType
in class StandardTypeDef
model
- the Model
in which the Type
is to be found
getClass(com.ashridgetech.jamda.uml.Model)
public java.lang.String getDescription()
getDescription
in class StandardElementDef
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |