public class BooleanAttribute extends AttributeImpl<Boolean>
class for providing Boolean value attributes. Takes care of type conversion and the interaction with the underlying Xml model model.
| Constructor and Description |
|---|
BooleanAttribute(ModelElementType owningElementType) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertModelValueToXmlValue(Boolean modelValue)
to be implemented by subclasses: converts the raw (String) value of the
attribute to the type required by the model
|
protected Boolean |
convertXmlValueToModelValue(String rawValue)
to be implemented by subclasses: converts the raw (String) value of the
attribute to the type required by the model
|
getAttributeName, getDefaultValue, getIncomingReferences, getNamespaceUri, getOutgoingReferences, getOwningElementType, getValue, isIdAttribute, isRequired, registerIncoming, registerOutgoingReference, removeAttribute, setAttributeName, setDefaultValue, setId, setNamespaceUri, setRequired, setValue, setValue, unlinkReference, updateIncomingReferencespublic BooleanAttribute(ModelElementType owningElementType)
protected Boolean convertXmlValueToModelValue(String rawValue)
AttributeImplconvertXmlValueToModelValue in class AttributeImpl<Boolean>protected String convertModelValueToXmlValue(Boolean modelValue)
AttributeImplconvertModelValueToXmlValue in class AttributeImpl<Boolean>Copyright © 2018 camunda services GmbH. All rights reserved.