|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.model.IAttribute
public IAttribute
Interface for Attribute or Association End.
Field Summary |
---|
Fields inherited from class com.change_vision.jude.api.inf.model.INamedElement |
---|
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY |
Method Summary | |
---|---|
abstract IAssociation |
getAssociation()
Get Association. |
abstract IConnector[] |
getConnectors()
Get connectors. |
abstract String |
getInitialValue()
Get Initial Value. |
abstract IMultiplicityRange[] |
getMultiplicity()
Get Multiplicity. |
abstract String |
getNavigability()
Get Navigability. |
abstract String |
getQualifiedTypeExpression()
Get Qualified Type Expression. |
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()
Deprecated. Check if it is able to navigate. |
abstract boolean |
isStatic()
Check if it is static. |
abstract void |
setAggregation()
Set Aggregation. |
abstract void |
setAggregationKind(AggregationKind aggregationKind)
Set aggregation kind. |
abstract void |
setChangeable(boolean isChangeable)
Set Changeable. |
abstract void |
setComposite()
Set Composite. |
abstract void |
setDerived(boolean isDerived)
Set Derived. |
abstract void |
setEnable(boolean isEnable)
Deprecated. Set Enable. |
abstract void |
setInitialValue(String initialValue)
Set Initial Value. |
abstract void |
setMultiplicity(int[][] ranges)
Set Multiplicity. |
abstract void |
setMultiplicityStrings(String[][] ranges)
Set setMultiplicity Strings. |
abstract void |
setNavigability(String navigability)
Set Navigability. |
abstract void |
setQualifiedTypeExpression(String type)
Set Qualified Type Expression. |
abstract void |
setStatic(boolean isStatic)
Set Static. |
abstract void |
setType(IClass type)
Set Type. |
abstract void |
setTypeExpression(String type)
Set Type Expression. |
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement |
---|
getAlias1, getAlias2, getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
---|
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifier |
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner |
---|
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks |
Method Detail |
---|
abstract IClass getType()
abstract String getTypeExpression()
abstract String getQualifiedTypeExpression()
abstract String getInitialValue()
abstract boolean isChangeable()
abstract IAssociation getAssociation()
abstract IAttribute[] getQualifiers()
abstract IMultiplicityRange[] getMultiplicity()
abstract boolean isDerived()
abstract boolean isComposite()
abstract boolean isAggregate()
abstract boolean isEnable()
abstract boolean isStatic()
abstract void setType(IClass type)
type
- Type
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. ILLEGALMODELTYPE_ERROR_KEY - if the model type is illegal. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setTypeExpression(String type)
type
- Type Expression
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_CLASSIFIER_KEY - if target classifier doesn't exist. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setQualifiedTypeExpression(String type)
type
- Type Expression
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. NO_TARGET_CLASSIFIER_KEY - if target classifier doesn't exist. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setInitialValue(String initialValue)
initialValue
- Initial Value
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setChangeable(boolean isChangeable)
isChangeable
- true changeable / false not changeable.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setAggregation()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setComposite()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setAggregationKind(AggregationKind aggregationKind)
aggregationKind
- aggregation kind.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setStatic(boolean isStatic)
isStatic
- true static / false not static.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setMultiplicity(int[][] ranges)
ranges
- Multiplicity Range
like "0..*", ranges should be {{0, IMultiplicityRange.UNLIMITED}}. "0..6", ranges should be {{0, 6}}. "*", ranges should be {{IMultiplicityRange.UNLIMITED}}. "1", ranges should be {{1}}. "1,3,5,7,9,10..100", ranges should be {{1},{3},{5},{7},{9},{10,100}} lower < 0 like {{-5, 5}}, upper < lower {10, 5}} are NOT permitted.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_MULTIPLICITY_KEY - if the multiplicity is invalid. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setMultiplicityStrings(String[][] ranges)
ranges
- Multiplicity Range
like "a..b", ranges should be {{"a", "b"}}. "a", ranges should be {{"a"}}. "a,b,c..d", ranges should be {{"a"},{"b"},{"c", "d"}}.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. INVALID_MULTIPLICITY_KEY - if the multiplicity is invalid. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setDerived(boolean isDerived)
isDerived
- true derived / false not derived.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract void setEnable(boolean isEnable)
isEnable
- true enable / false not enable.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract String getNavigability()
abstract void setNavigability(String navigability)
navigability
- "Navigable" Navigable / "Non_Navigable" Non Navigable / "Unspecified" Unspecified
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in astah* community. PARAMETER_ERROR_KEY - if a parameter is not set properly. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred. READ_ONLY_KEY - if a read-only element is edited.
Values: Error messages for exceptions.
abstract IConnector[] getConnectors()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |