Interface IConstraint
- All Superinterfaces:
IElement,IEntity,IHyperlinkOwner,INamedElement
- All Known Subinterfaces:
IDurationConstraint,ITimeConstraint
Interface for Constraint.
-
Field Summary
Fields inherited from interface com.change_vision.jude.api.inf.model.INamedElement
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY -
Method Summary
Modifier and TypeMethodDescriptionIElement[]Get the constrained elements.Get Specification.voidsetSpecification(String specification) Set Specification.Methods inherited from interface com.change_vision.jude.api.inf.model.IElement
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValue, getTaggedValues, getTypeModifier, hasStereotype, isReadOnly, removeStereotype, setTypeModifierMethods inherited from interface com.change_vision.jude.api.inf.model.IHyperlinkOwner
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinksMethods inherited from interface 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
-
Method Details
-
getConstrainedElement
IElement[] getConstrainedElement()Get the constrained elements.- Returns:
- the array of elements. Return the empty array if there is none.
-
getSpecification
String getSpecification()Get Specification.- Returns:
- Specification Contents
-
setSpecification
Set Specification.- Parameters:
specification- Specification Contents- Throws:
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.
-