org.camunda.bpm.model.xml.impl.type.attribute
Class StringAttribute

java.lang.Object
  extended by org.camunda.bpm.model.xml.impl.type.attribute.AttributeImpl<String>
      extended by org.camunda.bpm.model.xml.impl.type.attribute.StringAttribute
All Implemented Interfaces:
Attribute<String>

public class StringAttribute
extends AttributeImpl<String>

Base class for String attributes

Author:
Daniel Meyer

Constructor Summary
StringAttribute(ModelElementType owningElementType)
           
 
Method Summary
protected  String convertModelValueToXmlValue(String modelValue)
          to be implemented by subclasses: converts the raw (String) value of the attribute to the type required by the model
protected  String convertXmlValueToModelValue(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, unlinkReference, updateIncomingReferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringAttribute

public StringAttribute(ModelElementType owningElementType)
Method Detail

convertXmlValueToModelValue

protected String convertXmlValueToModelValue(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 class AttributeImpl<String>
Returns:
the converted value

convertModelValueToXmlValue

protected String convertModelValueToXmlValue(String 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 class AttributeImpl<String>
Returns:
the converted value


Copyright © 2014 camunda services GmbH. All rights reserved.