|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ashridgetech.jamda.uml.StructuredType.Aggregation
Typesafe enum to represent the aggregation of Association.End
s
and Attribute
s in a type.
Field Summary | |
static StructuredType.Aggregation |
AGGREGATE
|
static StructuredType.Aggregation |
COMPOSITE
|
static StructuredType.Aggregation |
NONE
|
Method Summary | |
static StructuredType.Aggregation |
getInstance(java.lang.String name)
Get the instance of this class with the given name. |
boolean |
isAggregated()
Show whether this level of aggregation is aggregated ie AGGREGATE or CONTAINED |
java.lang.String |
toString()
Return the name as used to obtain this instance from #getInstance. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final StructuredType.Aggregation NONE
public static final StructuredType.Aggregation AGGREGATE
public static final StructuredType.Aggregation COMPOSITE
Method Detail |
public static StructuredType.Aggregation getInstance(java.lang.String name)
name
- the name of the instance, as returned by toString
name
java.lang.IllegalArgumentException
- if there is no instance with the value name
public boolean isAggregated()
AGGREGATE
or CONTAINED
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |