Class ObjectModelEnumerationImpl
- java.lang.Object
-
- org.nuiton.eugene.models.object.xml.ObjectModelElementImpl
-
- org.nuiton.eugene.models.object.xml.ObjectModelClassifierImpl
-
- org.nuiton.eugene.models.object.xml.ObjectModelEnumerationImpl
-
- All Implemented Interfaces:
WithTagValuesOrStereotypes
,ObjectModelClassifier
,ObjectModelElement
,ObjectModelEnumeration
public class ObjectModelEnumerationImpl extends ObjectModelClassifierImpl implements ObjectModelEnumeration
ObjectModelEnumerationImpl. Created: may 4th 2009- Author:
- Florian Desbois - desbois@codelutin.com
-
-
Field Summary
-
Fields inherited from class org.nuiton.eugene.models.object.xml.ObjectModelClassifierImpl
attributes, dependencies, extern, inner, interfaces, interfacesRefs, operations, orderedAttributes, packageName, qualifiedName, type
-
Fields inherited from class org.nuiton.eugene.models.object.xml.ObjectModelElementImpl
comments, declaringElement, documentation, modifiers, name, objectModelImpl, tagValues
-
-
Constructor Summary
Constructors Constructor Description ObjectModelEnumerationImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLiteral(ObjectModelImplRef ref)
Add a literal to the ObjectModelEnumeration from Digesterprotected Set<ObjectModelModifier>
getAuthorizedModifiers()
Collection<String>
getLiterals()
Returns literals of this enumeration.-
Methods inherited from class org.nuiton.eugene.models.object.xml.ObjectModelClassifierImpl
addAttribute, addDependency, addInterface, addOperation, getAllInterfaceAttributes, getAllInterfaceAttributes, getAllInterfaceOperations, getAllInterfaceOperations, getAllOtherAttributes, getAllOtherOperations, getAttribute, getAttributes, getDependencies, getDependency, getInterfaces, getOperations, getOperations, getPackageName, getQualifiedName, isClass, isEnum, isExtern, isInner, isInterface, postInit, setExtern, setInner, setPackage, setType, toString
-
Methods inherited from class org.nuiton.eugene.models.object.xml.ObjectModelElementImpl
addComment, addModifier, addOrRemoveModifier, addStereotype, addStereotype, addTagValue, addTagValue, getComments, getDeclaringElement, getDescription, getDocumentation, getModel, getName, getSourceDocumentation, getStereotypes, getTagValue, getTagValues, hasStereotype, hasTagValue, isStatic, removeModifier, removeModifiers, removeStereotype, removeTagValue, setDeclaringElement, setDocumentation, setName, setObjectModelImpl, setStatic
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuiton.eugene.models.object.ObjectModelClassifier
getAllInterfaceAttributes, getAllInterfaceOperations, getAllOtherAttributes, getAllOtherOperations, getAttribute, getAttributes, getDependencies, getDependency, getInterfaces, getOperations, getOperations, getPackageName, getQualifiedName, isClass, isEnum, isInner, isInterface
-
Methods inherited from interface org.nuiton.eugene.models.object.ObjectModelElement
getComments, getDeclaringElement, getDescription, getDocumentation, getName, getSourceDocumentation, isStatic
-
Methods inherited from interface org.nuiton.eugene.models.extension.tagvalue.WithTagValuesOrStereotypes
addStereotype, addTagValue, getStereotypes, getTagValue, getTagValues, hasStereotype, hasTagValue, removeStereotype, removeTagValue
-
-
-
-
Method Detail
-
addLiteral
public void addLiteral(ObjectModelImplRef ref)
Add a literal to the ObjectModelEnumeration from Digester- Parameters:
ref
- corresponding to a Literal value
-
getAuthorizedModifiers
protected Set<ObjectModelModifier> getAuthorizedModifiers()
- Specified by:
getAuthorizedModifiers
in classObjectModelElementImpl
-
getLiterals
public Collection<String> getLiterals()
Description copied from interface:ObjectModelEnumeration
Returns literals of this enumeration.- Specified by:
getLiterals
in interfaceObjectModelEnumeration
- Returns:
- a Collection of String
-
-