com.infoteria.asteria.flowbuilder2.base
Class Properties

java.lang.Object
  |
  +--com.infoteria.asteria.flowbuilder2.base.Properties
All Implemented Interfaces:
Cloneable, PropertyHolder

public class Properties
extends Object
implements PropertyHolder, Cloneable

プロパティホルダの実装です。


Constructor Summary
Properties(BaseObject owner)
          オーナーを指定してPropertiesを構築します。
 
Method Summary
 void addProperty(Property prop)
          プロパティを追加します。
 void clear()
          追加されているPropertyをすべてクリアします。
 Properties clone(BaseObject owner)
          別のオーナーを指定して複製を作成します。
 String getName()
          オーナーの名前を返します。
 BaseObject getOwner()
          オーナーを返します。
 Iterator getProperties()
          Propertyの一覧を返すIterator。
 Property getProperty(int idx)
          idx番目のPropertyを返します。
 Property getProperty(String name)
          名前を指定してPropertyを取得します。
 int getPropertyCount()
          Propertyの数を返します。
 void insertProperty(Property prop, int idx)
          プロパティを挿入します。
 void removeProperty(Property prop)
          プロパティを削除します。
 int size()
          Propertyの数を返します。
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Properties

public Properties(BaseObject owner)
オーナーを指定してPropertiesを構築します。
Method Detail

getName

public String getName()
オーナーの名前を返します。
Specified by:
getName in interface PropertyHolder

getOwner

public BaseObject getOwner()
オーナーを返します。

getProperty

public Property getProperty(String name)
名前を指定してPropertyを取得します。
Specified by:
getProperty in interface PropertyHolder

getProperties

public Iterator getProperties()
Propertyの一覧を返すIterator。
Specified by:
getProperties in interface PropertyHolder

getPropertyCount

public int getPropertyCount()
Propertyの数を返します。
Specified by:
getPropertyCount in interface PropertyHolder

addProperty

public void addProperty(Property prop)
プロパティを追加します。
Specified by:
addProperty in interface PropertyHolder

insertProperty

public void insertProperty(Property prop,
                           int idx)
プロパティを挿入します。

removeProperty

public void removeProperty(Property prop)
プロパティを削除します。
Specified by:
removeProperty in interface PropertyHolder

size

public int size()
Propertyの数を返します。

getProperty

public Property getProperty(int idx)
idx番目のPropertyを返します。

clear

public void clear()
追加されているPropertyをすべてクリアします。

clone

public Properties clone(BaseObject owner)
別のオーナーを指定して複製を作成します。