|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nrl.parser.model.AbstractAttribute
net.sourceforge.nrl.parser.model.uml2.UML2Attribute
public class UML2Attribute
Extension of a standard attribute that holds a UML2 typed element reference.
Field Summary |
---|
Fields inherited from interface net.sourceforge.nrl.parser.model.IAttribute |
---|
UNBOUNDED |
Constructor Summary | |
---|---|
UML2Attribute(NamedElement namedElement)
Initialise the attribute using a UML2 named element object. |
Method Summary | |
---|---|
List<String> |
getDocumentation()
Extract the documentation from the UML attribute. |
int |
getMaxOccurs()
Return the maximum number of occurrences of the attribute (0 or more). |
int |
getMinOccurs()
Return the minimum number of occurrences of the attribute (0 or more). |
NamedElement |
getUML2()
Return the UML2 Property this attribute was created from. |
boolean |
isStatic()
Returns true if the attribute is static, or if it is an enum value. |
Methods inherited from class net.sourceforge.nrl.parser.model.AbstractAttribute |
---|
getName, getOriginalName, getOwner, getType, getUserData, isRepeating, setName, setOriginalName, setOwner, setType, setUserData |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UML2Attribute(NamedElement namedElement)
resolve(Map)
is
called.
namedElement
- the elementMethod Detail |
---|
public List<String> getDocumentation()
public int getMinOccurs()
IAttribute
public int getMaxOccurs()
IAttribute
public boolean isStatic()
IAttribute
public NamedElement getUML2()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |