org.camunda.bpm.model.xml.type.attribute
Interface Attribute<T>

Type Parameters:
T -
All Known Implementing Classes:
AttributeImpl, BooleanAttribute, DoubleAttribute, EnumAttribute, IntegerAttribute, StringAttribute

public interface Attribute<T>

Author:
meyerd

Method Summary
 String getAttributeName()
           
 T getDefaultValue()
           
 List<Reference<?>> getIncomingReferences()
           
 String getNamespaceUri()
           
 List<Reference<?>> getOutgoingReferences()
           
 ModelElementType getOwningElementType()
           
 T getValue(ModelElementInstance modelElement)
          returns the value of the attribute.
 boolean isIdAttribute()
           
 boolean isRequired()
           
 void setValue(ModelElementInstance modelElement, T value)
          sets the value of the attribute.
 

Method Detail

getValue

T getValue(ModelElementInstance modelElement)
returns the value of the attribute.

Returns:
the value of the attribute.

setValue

void setValue(ModelElementInstance modelElement,
              T value)
sets the value of the attribute. the value of the attribute.


getDefaultValue

T getDefaultValue()

isRequired

boolean isRequired()

getNamespaceUri

String getNamespaceUri()
Returns:
the namespaceUri

getAttributeName

String getAttributeName()
Returns:
the attributeName

isIdAttribute

boolean isIdAttribute()

getOwningElementType

ModelElementType getOwningElementType()

getIncomingReferences

List<Reference<?>> getIncomingReferences()

getOutgoingReferences

List<Reference<?>> getOutgoingReferences()


Copyright © 2014 camunda services GmbH. All rights reserved.