com.change_vision.jude.api.inf.model
Interface IAttribute

com.change_vision.jude.api.inf.model.IAttribute
All Implemented Interfaces:
IElement, INamedElement

public IAttribute
extends INamedElement

Interface for Attribute or Association End.


Method Summary
abstract  IAssociation getAssociation()
          Get Association.
abstract  String getInitialValue()
          Get Initial Value.
abstract  IMultiplicityRange[] getMultiplicity()
          Get Multiplicity.
abstract  IAttribute[] getQualifiers()
          Get Qualifiers.
abstract  IClass getType()
          Get Type.
abstract  String getTypeExpression()
          Get Type Expression.
abstract  boolean isAggregate()
          Check if it is Aggregate.
abstract  boolean isChangeable()
          Check if it is Changeable.
abstract  boolean isComposite()
          Check if it is Composite.
abstract  boolean isDerived()
          Check if the element is derived.
abstract  boolean isEnable()
          Check if it is able to navigate.
abstract  boolean isStatic()
          Check if it is static.
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getClientDependencies, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
getComments, getId, getOwner, getStereotypes, getTaggedValues
 

Method Detail

getType

public abstract IClass getType()
Get Type.

Returns:
Type. Return null in case no type is found.

getTypeExpression

public abstract String getTypeExpression()
Get Type Expression.

Returns:
String-Type Expression. Return empty string("") if there is none.

getInitialValue

public abstract String getInitialValue()
Get Initial Value.

Returns:
Initial Value. Return empty string ("") if there is none.

isChangeable

public abstract boolean isChangeable()
Check if it is Changeable. (Let's consider NOT final in Java language).

Returns:
true able to change / false it is Read-Only and unable to change

getAssociation

public abstract IAssociation getAssociation()
Get Association.

Returns:
Association (Return null in case it is Attribute)

getQualifiers

public abstract IAttribute[] getQualifiers()
Get Qualifiers.

Returns:
the array of Qualifiers (Return the empty array in case there is no qualifiers or it was attribute).

getMultiplicity

public abstract IMultiplicityRange[] getMultiplicity()
Get Multiplicity.

Returns:
the array of Multiplicity range (Return the empty array in case it was attribute).

isDerived

public abstract boolean isDerived()
Check if the element is derived.

Returns:
true it is derived / false it is not derived

isComposite

public abstract boolean isComposite()
Check if it is Composite.

Returns:
true it is composite / false it is not composite

isAggregate

public abstract boolean isAggregate()
Check if it is Aggregate.

Returns:
true it is Aggregate / false it is Attribute not Aggregate

isEnable

public abstract boolean isEnable()
Check if it is able to navigate.

Returns:
true it is able to navigate or it is an Attribute. / false it is unable to navigate

isStatic

public abstract boolean isStatic()
Check if it is static.

Returns:
true it is static / false it is not static