com.change_vision.jude.api.inf.model
Interface IConstraint
com.change_vision.jude.api.inf.model.IConstraint
- All Implemented Interfaces:
- IElement, IHyperlinkOwner, INamedElement
- public IConstraint
- extends INamedElement
Interface for Constraint.
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 |
getConstrainedElement
public abstract IElement[] getConstrainedElement()
- Get the constrained elements.
- Returns:
- the array of elements. Return the empty array if there is none.
getSpecification
public abstract String getSpecification()
- Get Specification.
- Returns:
- Specification Contents
setSpecification
public abstract void setSpecification(String specification)
- Set Specification.
- Parameters:
specification
- Specification Contents
- Throws:
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.
BAD_TRANSACTION_KEY - Bad Transaction.
HAS_EXCEPTION_KEY - if an exception has occurred.
Values:
Error messages for exceptions.