public class StringAttribute extends AttributeImpl<String>
Base class for String attributes
Constructor and Description |
---|
StringAttribute(ModelElementType owningElementType) |
Modifier and Type | Method and Description |
---|---|
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
|
getAttributeName, getDefaultValue, getIncomingReferences, getNamespaceUri, getOutgoingReferences, getOwningElementType, getValue, isIdAttribute, isRequired, registerIncoming, registerOutgoingReference, removeAttribute, setAttributeName, setDefaultValue, setId, setNamespaceUri, setRequired, setValue, unlinkReference, updateIncomingReferences
public StringAttribute(ModelElementType owningElementType)
protected String convertXmlValueToModelValue(String rawValue)
AttributeImpl
convertXmlValueToModelValue
in class AttributeImpl<String>
protected String convertModelValueToXmlValue(String modelValue)
AttributeImpl
convertModelValueToXmlValue
in class AttributeImpl<String>
Copyright © 2017. All rights reserved.