Class Properties

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

public class Properties extends Object implements PropertyHolder, Cloneable
プロパティホルダの実装です。
  • Constructor Details

    • Properties

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

    • 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<Property> 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)
      別のオーナーを指定して複製を作成します。