|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IClassifier
A classifier, inspired by UML, is a model element with attributes.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface net.sourceforge.nrl.parser.model.IModelElement |
---|
IModelElement.ElementType |
Method Summary | |
---|---|
IAttribute |
getAttributeByName(String name,
boolean includeInherited)
Return an attribute by name, or null if not found. |
List<IAttribute> |
getAttributes(boolean includeInherited)
Return a collection of IAttribute objects. |
boolean |
hasAttribute(String name)
Return true if a classifier has an attribute with a given name, or false otherwise. |
boolean |
hasStaticAttributes()
Return true if the classifier contains any static attributes. |
boolean |
isEnumeration()
Return true if the classifier is just an enumeration. |
Methods inherited from interface net.sourceforge.nrl.parser.model.IModelElement |
---|
getContainingPackage, getDescendants, getDocumentation, getElementType, getName, getOriginalName, getParent, getQualifiedName, getUserData, isAssignableFrom, isSupplementary, setUserData |
Method Detail |
---|
List<IAttribute> getAttributes(boolean includeInherited)
IAttribute
objects.
includeInherited
- if true, move up the inheritance hierarchy and
include all attributes declared in superclasses
IAttribute getAttributeByName(String name, boolean includeInherited)
name
- the name to look forincludeInherited
- if true, search the inherited attributes for the
name
boolean hasAttribute(String name)
name
- the name
boolean hasStaticAttributes()
boolean isEnumeration()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |