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

com.change_vision.jude.api.inf.model.IPort
すべてのスーパーインタフェース:
IAttribute, IElement, IEntity, IHyperlinkOwner, INamedElement
すべての実装されたインタフェース:
IAttribute, IElement, IEntity, IHyperlinkOwner, INamedElement

public IPort
extends IAttribute

ポートに対するインターフェース。


フィールドの概要
 
クラス com.change_vision.jude.api.inf.model.INamedElement から継承されたフィールド
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
メソッドの概要
abstract  IConnector[] getConnectors()
          コネクタを取得します。
abstract  IItemFlow[] getItemFlows()
          アイテムフローを取得します。
abstract  IClass[] getProvidedInterfaces()
          ポートに接続しているすべての提供インターフェースを取得します。
abstract  IClass[] getRequiredInterfaces()
          ポートに接続しているすべての要求インターフェースを取得します。
abstract  boolean isBehavior()
          振る舞いであるか確認します。
abstract  boolean isConjugated()
          共役ポートであるか確認します。
abstract  boolean isService()
          サービスであるか確認します。
abstract  void setIsBehavior(boolean isBehavior)
          振る舞いかどうか設定します。
abstract  void setIsConjugated(boolean isConjugated)
          共役ポートかどうか設定します。
abstract  void setIsService(boolean isService)
          サービスかどうか設定します。
 
クラス com.change_vision.jude.api.inf.model.IAttribute から継承されたメソッド
getAssociation, getConnectors, getInitialValue, getMultiplicity, getNavigability, getQualifiedTypeExpression, getQualifiers, getType, getTypeExpression, isAggregate, isChangeable, isComposite, isDerived, isEnable, isStatic, setAggregation, setAggregationKind, setChangeable, setComposite, setDerived, setEnable, setInitialValue, setMultiplicity, setMultiplicityStrings, setNavigability, setQualifiedTypeExpression, setStatic, setType, setTypeExpression
 
クラス com.change_vision.jude.api.inf.model.INamedElement から継承されたメソッド
getClientDependencies, getClientRealizations, getClientUsages, getConstraints, getDefinition, getDiagrams, getFullName, getFullNamespace, getName, getSupplierDependencies, getSupplierRealizations, getSupplierUsages, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility, 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
 

メソッドの詳細

isService

abstract boolean isService()
サービスであるか確認します。

戻り値:
true サービスです / false サービスではありません

setIsService

abstract void setIsService(boolean isService)
サービスかどうか設定します。

パラメータ:
isService - サービスの場合、true、サービスでない場合、false。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合 
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ

isBehavior

abstract boolean isBehavior()
振る舞いであるか確認します。

戻り値:
true 振る舞いです / false 振る舞いではありません

setIsBehavior

abstract void setIsBehavior(boolean isBehavior)
振る舞いかどうか設定します。

パラメータ:
isService - 振る舞いの場合、true、振る舞いでない場合、false。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合 
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ

isConjugated

abstract boolean isConjugated()
共役ポートであるか確認します。

戻り値:
true 共役ポートです / false 共役ポートではありません

setIsConjugated

abstract void setIsConjugated(boolean isConjugated)
共役ポートかどうか設定します。

パラメータ:
isConjugated - 共役ポートの場合、true、共役ポートでない場合、false。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合 
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ

getRequiredInterfaces

abstract IClass[] getRequiredInterfaces()
ポートに接続しているすべての要求インターフェースを取得します。

戻り値:
要求インターフェースの配列

getProvidedInterfaces

abstract IClass[] getProvidedInterfaces()
ポートに接続しているすべての提供インターフェースを取得します。

戻り値:
提供インターフェースの配列

getConnectors

abstract IConnector[] getConnectors()
コネクタを取得します。

戻り値:
コネクタの配列(ない場合は、長さ0の配列を返します)。

getItemFlows

abstract IItemFlow[] getItemFlows()
アイテムフローを取得します。 パートやポートの場合のみアイテムフローを保持しており、通常の属性はアイテムフローを保持しません。

戻り値:
アイテムフローの配列(ない場合は、長さ0の配列を返します)。