Class NamedEnumAttribute<T extends Enum<T>>
java.lang.Object
org.camunda.bpm.model.xml.impl.type.attribute.AttributeImpl<T>
org.camunda.bpm.model.xml.impl.type.attribute.NamedEnumAttribute<T>
- All Implemented Interfaces:
Attribute<T>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
convertModelValueToXmlValue
(T modelValue) to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the modelprotected T
convertXmlValueToModelValue
(String rawValue) to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the modelMethods inherited from class org.camunda.bpm.model.xml.impl.type.attribute.AttributeImpl
getAttributeName, getDefaultValue, getIncomingReferences, getNamespaceUri, getOutgoingReferences, getOwningElementType, getValue, isIdAttribute, isRequired, registerIncoming, registerOutgoingReference, removeAttribute, setAttributeName, setDefaultValue, setId, setNamespaceUri, setRequired, setValue, setValue, unlinkReference, updateIncomingReferences
-
Field Details
-
type
-
-
Constructor Details
-
NamedEnumAttribute
-
-
Method Details
-
convertXmlValueToModelValue
Description copied from class:AttributeImpl
to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model- Specified by:
convertXmlValueToModelValue
in classAttributeImpl<T extends Enum<T>>
- Returns:
- the converted value
-
convertModelValueToXmlValue
Description copied from class:AttributeImpl
to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model- Specified by:
convertModelValueToXmlValue
in classAttributeImpl<T extends Enum<T>>
- Returns:
- the converted value
-