Class BooleanAttribute
- java.lang.Object
-
- org.camunda.bpm.model.xml.impl.type.attribute.AttributeImpl<java.lang.Boolean>
-
- org.camunda.bpm.model.xml.impl.type.attribute.BooleanAttribute
-
- All Implemented Interfaces:
Attribute<java.lang.Boolean>
public class BooleanAttribute extends AttributeImpl<java.lang.Boolean>
class for providing Boolean value attributes. Takes care of type conversion and the interaction with the underlying Xml model model.
- Author:
- Daniel Meyer
-
-
Constructor Summary
Constructors Constructor Description BooleanAttribute(ModelElementType owningElementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
convertModelValueToXmlValue(java.lang.Boolean modelValue)
to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the modelprotected java.lang.Boolean
convertXmlValueToModelValue(java.lang.String rawValue)
to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model-
Methods 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
-
-
-
-
Constructor Detail
-
BooleanAttribute
public BooleanAttribute(ModelElementType owningElementType)
-
-
Method Detail
-
convertXmlValueToModelValue
protected java.lang.Boolean convertXmlValueToModelValue(java.lang.String rawValue)
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<java.lang.Boolean>
- Returns:
- the converted value
-
convertModelValueToXmlValue
protected java.lang.String convertModelValueToXmlValue(java.lang.Boolean modelValue)
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<java.lang.Boolean>
- Returns:
- the converted value
-
-