T
- public interface Attribute<T>
Modifier and Type | Method and Description |
---|---|
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.
|
void |
setValue(ModelElementInstance modelElement,
T value,
boolean withReferenceUpdate)
sets the value of the attribute.
|
T getValue(ModelElementInstance modelElement)
void setValue(ModelElementInstance modelElement, T value)
value
- the value of the attribute.void setValue(ModelElementInstance modelElement, T value, boolean withReferenceUpdate)
value
- the value of the attribute.withReferenceUpdate
- true to update id references in other elements, false otherwiseT getDefaultValue()
boolean isRequired()
String getNamespaceUri()
String getAttributeName()
boolean isIdAttribute()
ModelElementType getOwningElementType()
Copyright © 2021. All rights reserved.