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

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

public IEREntity
extends INamedElement

ERエンティティに対するインタフェース。


フィールドの概要
 
クラス com.change_vision.jude.api.inf.model.INamedElement から継承されたフィールド
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
メソッドの概要
abstract  IERRelationship[] getChildrenRelationships()
          子エンティティへのリレーションシップを取得します。
abstract  IERSubtypeRelationship[] getChildrenSubtypeRelationships()
          子エンティティへのサブタイプリレーションシップを取得します。
abstract  IERIndex[] getERIndices()
          インデックスを取得します。
abstract  IERAttribute[] getForeignKeys()
          外部キーを取得します。
abstract  String getLogicalName()
          論理名を取得します。
abstract  IERAttribute[] getNonPrimaryKeys()
          主キー以外の属性を取得します。
abstract  IERRelationship[] getParentRelationships()
          親エンティティへのリレーションシップを取得します。
abstract  IERSubtypeRelationship[] getParentSubtypeRelationships()
          親エンティティへのサブタイプリレーションシップを取得します。
abstract  String getPhysicalName()
          物理名を取得します。
abstract  IERAttribute[] getPrimaryKeys()
          主キーを取得します。
abstract  String getType()
          型を取得します。
abstract  void setLogicalName(String name)
          ERエンティティに論理名を設定します。
abstract  void setPhysicalName(String name)
          ERエンティティに物理名を設定します。
abstract  void setType(String type)
          EREntityの型を設定します。
 
クラス 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
 

メソッドの詳細

getLogicalName

abstract String getLogicalName()
論理名を取得します。

戻り値:
論理名。

getPhysicalName

abstract String getPhysicalName()
物理名を取得します。

戻り値:
物理名。ない場合は空文字を返します。

getType

abstract String getType()
型を取得します。

戻り値:
型[リソース/イベント/サマリー]。ない場合は空文字を返します。

getPrimaryKeys

abstract IERAttribute[] getPrimaryKeys()
主キーを取得します。

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

getForeignKeys

abstract IERAttribute[] getForeignKeys()
外部キーを取得します。

戻り値:
外部キーの配列。ない場合、長さ0の配列を返します。

getNonPrimaryKeys

abstract IERAttribute[] getNonPrimaryKeys()
主キー以外の属性を取得します。

戻り値:
主キー以外の属性の配列。ない場合、長さ0の配列を返します。

getERIndices

abstract IERIndex[] getERIndices()
インデックスを取得します。

戻り値:
インデックスの配列。ない場合、長さ0の配列を返します。

getChildrenRelationships

abstract IERRelationship[] getChildrenRelationships()
子エンティティへのリレーションシップを取得します。

戻り値:
子エンティティへのリレーションシップの配列。ない場合、長さ0の配列を返します。

getParentRelationships

abstract IERRelationship[] getParentRelationships()
親エンティティへのリレーションシップを取得します。

戻り値:
親エンティティへのリレーションシップの配列。ない場合、長さ0の配列を返します。

getChildrenSubtypeRelationships

abstract IERSubtypeRelationship[] getChildrenSubtypeRelationships()
子エンティティへのサブタイプリレーションシップを取得します。

戻り値:
子エンティティへのサブタイプリレーションシップの配列。ない場合、長さ0の配列を返します。

getParentSubtypeRelationships

abstract IERSubtypeRelationship[] getParentSubtypeRelationships()
親エンティティへのサブタイプリレーションシップを取得します。

戻り値:
親エンティティへのサブタイプリレーションシップの配列。ない場合、長さ0の配列を返します。

setLogicalName

abstract void setLogicalName(String name)
ERエンティティに論理名を設定します。

パラメータ:
name - ERエンティティの論理名。NULLの指定は不可。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      PARAMETER_ERROR_KEY - パラメタが正しく設定されていない場合 
      NAME_DOUBLE_ERROR_KEY  - 同じ名前のモデルが存在する場合 
      NO_NAME_ERROR_KEY - 名前が空の場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ

setPhysicalName

abstract void setPhysicalName(String name)
ERエンティティに物理名を設定します。

パラメータ:
name - ERエンティティの物理名。NULLの指定は不可。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      PARAMETER_ERROR_KEY - パラメタが正しく設定されていない場合 
      NAME_DOUBLE_ERROR_KEY  - 同じ名前のモデルが存在する場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ

setType

abstract void setType(String type)
EREntityの型を設定します。

パラメータ:
type - ERエンティティの型。"Event", "Resource", "Summary", ""を指定します。
例外:
InvalidEditingException - 例外が発生した場合
Keys: 
      ILLEGAL_VERSION_ERROR_KEY - astah* communityで編集APIを使用しようとした場合 
      PARAMETER_ERROR_KEY - パラメタが正しく設定されていない場合 
      BAD_TRANSACTION_KEY - トランザクションエラー 
      HAS_EXCEPTION_KEY - 例外が発生した場合
      READ_ONLY_KEY -  リードオンリーな要素を編集しようとした場合
Values: 
      例外のエラーメッセージ