Class EnumType
java.lang.Object
org.faktorips.runtime.model.type.ModelElement
org.faktorips.runtime.model.enumtype.EnumType
Description of an enum's attributes and extensibility.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Returns the model for the attribute with the given name ornullif no such attribute exists.Returns the names of all this enum's attributes.Returns models for all this enum's attributesThe model for the attribute used to display an instance of this enum in human readable form.Class<?>Returns the class this enum type represents.The qualified name an enum content extending this enum must have.The model for the attribute used to uniquely identify an instance of this enum.protected MessagesHelperprotected StringgetMessageKey(DocumentationKind messageType) booleanWhether the enum's values can be extended in an enum content provided in aIRuntimeRepository.toString()Methods inherited from class org.faktorips.runtime.model.type.ModelElement
createMessageHelper, getDeprecation, getDescription, getDocumentation, getExtensionPropertyIds, getExtensionPropertyValue, getLabel, getName, getRelevantProductObject, invokeField, invokeMethod, isDeprecated
-
Field Details
-
KIND_NAME
- See Also:
-
-
Constructor Details
-
EnumType
-
-
Method Details
-
isExtensible
public boolean isExtensible()Whether the enum's values can be extended in an enum content provided in aIRuntimeRepository. -
getEnumContentQualifiedName
The qualified name an enum content extending this enum must have.- See Also:
-
getAttributes
Returns models for all this enum's attributes -
getAttribute
Returns the model for the attribute with the given name ornullif no such attribute exists. -
getAttributenames
Returns the names of all this enum's attributes. -
getIdAttribute
The model for the attribute used to uniquely identify an instance of this enum. -
getDisplayNameAttribute
The model for the attribute used to display an instance of this enum in human readable form. -
getMessageHelper
- Specified by:
getMessageHelperin classModelElement
-
getMessageKey
- Specified by:
getMessageKeyin classModelElement
-
getEnumClass
Returns the class this enum type represents. -
toString
- Overrides:
toStringin classModelElement
-