|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.change_vision.jude.api.inf.model.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 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. |
abstract void |
setAggregation()
Set Aggregation. |
abstract void |
setChangeable(boolean isChangeable)
Set Changeable. |
abstract void |
setComposite()
Set Composite. |
abstract void |
setDerived(boolean isDerived)
Set Derived. |
abstract void |
setEnable(boolean isEnable)
Set Enable. |
abstract void |
setInitialValue(String initialValue)
Set Initial Value. |
abstract void |
setMultiplicity(int[][] ranges)
Set Multiplicity. |
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, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, setAlias1, setAlias2, setDefinition, setName, setVisibility |
Methods inherited from class com.change_vision.jude.api.inf.model.IElement |
addStereotype, getComments, getId, getOwner, getStereotypes, getTaggedValues, getTypeModifier, isReadOnly, removeStereotype, setTypeModifier |
Methods inherited from class com.change_vision.jude.api.inf.model.IHyperlinkOwner |
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks |
Method Detail |
public abstract IClass getType()
public abstract String getTypeExpression()
public abstract String getInitialValue()
public abstract boolean isChangeable()
public abstract IAssociation getAssociation()
public abstract IAttribute[] getQualifiers()
public abstract IMultiplicityRange[] getMultiplicity()
public abstract boolean isDerived()
public abstract boolean isComposite()
public abstract boolean isAggregate()
public abstract boolean isEnable()
public abstract boolean isStatic()
public abstract void setType(IClass type)
type
- Type
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/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.
Values: Error messages for exceptions.
public abstract void setTypeExpression(String type)
type
- Type Expression
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/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.
Values: Error messages for exceptions.
public abstract void setInitialValue(String initialValue)
initialValue
- Initial Value
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public 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 JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setAggregation()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setComposite()
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public abstract void setStatic(boolean isStatic)
isStatic
- true static / false staticではない。
true static / false not static.
InvalidEditingException
- InvalidEditingException occurs.
Keys: ILLEGAL_VERSION_ERROR_KEY - if Editing API is used in JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public 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 JUDE/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.
Values: Error messages for exceptions.
public 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 JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
public 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 JUDE/Community. BAD_TRANSACTION_KEY - Bad Transaction. HAS_EXCEPTION_KEY - if an exception has occurred.
Values: Error messages for exceptions.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |