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

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

public IValueType
extends IClass

バリュータイプに対するインターフェース。


フィールドの概要
 
クラス com.change_vision.jude.api.inf.model.INamedElement から継承されたフィールド
PACKAGE_VISIBILITY, PRIVATE_VISIBILITY, PROTECTED_VISIBILITY, PUBLIC_VISIBILITY
 
メソッドの概要
abstract  IValueTypeProperty[] getProperties()
          プロパティを取得します。
abstract  IQuantityKind getQuantityKind()
          量種別を取得します。
abstract  IUnit getUnit()
          ユニットを取得します。
abstract  void setQuantityKind(IQuantityKind quantityKind)
          量種別を設定します。
abstract  void setUnit(IUnit unit)
          ユニットを設定します。
 
クラス com.change_vision.jude.api.inf.model.IClass から継承されたメソッド
getAttributes, getGeneralizations, getNestedClasses, getOperations, getPorts, getSpecializations, getTemplateBindings, getTemplateParameters, isAbstract, isActive, isLeaf, setAbstract, setActive, setLeaf
 
クラス 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
 

メソッドの詳細

getUnit

abstract IUnit getUnit()
ユニットを取得します。

戻り値:
Unit。ない場合はNullを返します。

setUnit

abstract void setUnit(IUnit unit)
ユニットを設定します。

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

getQuantityKind

abstract IQuantityKind getQuantityKind()
量種別を取得します。

戻り値:
QuantityKind。ない場合はNullを返します。

setQuantityKind

abstract void setQuantityKind(IQuantityKind quantityKind)
量種別を設定します。

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

getProperties

abstract IValueTypeProperty[] getProperties()
プロパティを取得します。

戻り値:
バリュータイププロパティの配列。フロープロパティがない場合、長さ0の配列を返します。