public interface IClassifier extends IModelElement
IModelElement.ElementTypeOBJECT| Modifier and Type | Method and Description |
|---|---|
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.
|
getContainingPackage, getDescendants, getDocumentation, getElementType, getName, getOriginalName, getParent, getQualifiedName, getUserData, isAssignableFrom, isSupplementary, setUserDataList<IAttribute> getAttributes(boolean includeInherited)
IAttribute objects.includeInherited - if true, move up the inheritance hierarchy and
include all attributes declared in superclassesIAttribute getAttributeByName(String name, boolean includeInherited)
name - the name to look forincludeInherited - if true, search the inherited attributes for the
nameboolean hasAttribute(String name)
name - the nameboolean hasStaticAttributes()
boolean isEnumeration()
Copyright © 2006-2013. All Rights Reserved.