com.change_vision.jude.api.inf.model
インタフェース IConstraint

com.change_vision.jude.api.inf.model.IConstraint
すべてのスーパーインタフェース:
IElement, IEntity, IHyperlinkOwner, INamedElement
すべての実装されたインタフェース:
IElement, IEntity, IHyperlinkOwner, INamedElement
既知の実装クラスの一覧:
IDurationConstraint, ITimeConstraint

public IConstraint
extends INamedElement

制約に対するインタフェース。


フィールドの概要
 
クラス com.change_vision.jude.api.inf.model.INamedElement から継承されたフィールド
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
メソッドの概要
abstract  IElement[] getConstrainedElement()
          制約を持つ要素を取得します。
abstract  String getSpecification()
          制約の内容を取得します。
abstract  void setSpecification(String specification)
          制約の内容を設定します。
 
クラス 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
 
クラス com.change_vision.jude.api.inf.model.IElement から継承されたメソッド
addStereotype, getComments, getContainer, getContainers, getId, getOwner, getPresentations, getStereotypes, getTaggedValues, getTypeModifier, hasStereotype, hasStereotype, isReadOnly, removeStereotype, setTypeModifier
 
クラス com.change_vision.jude.api.inf.model.IHyperlinkOwner から継承されたメソッド
createElementHyperlink, createFileHyperlink, createURLHyperlink, deleteHyperlink, getHyperlinks
 

メソッドの詳細

getConstrainedElement

abstract IElement[] getConstrainedElement()
制約を持つ要素を取得します。

戻り値:
要素の配列。ない場合、長さ0の配列を返します。

getSpecification

abstract String getSpecification()
制約の内容を取得します。

戻り値:
制約の内容

setSpecification

abstract void setSpecification(String specification)
制約の内容を設定します。

パラメータ:
specification - 制約の内容
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      PARAMETER_ERROR_KEY - パラメタが正しく設定されていない場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ