com.infoteria.asteria.flowlibrary2.property
Class SimpleCategoryProperty

java.lang.Object
  |
  +--com.infoteria.asteria.flowlibrary2.property.CategoryProperty
        |
        +--com.infoteria.asteria.flowlibrary2.property.SimpleCategoryProperty
All Implemented Interfaces:
Cloneable, com.infoteria.asteria.value.Mapable, Property, com.infoteria.asteria.value.ValueProvider
Direct Known Subclasses:
ExtendedCategoryProperty

public class SimpleCategoryProperty
extends CategoryProperty

名前とデータ型、デフォルト値を持つCategoryPropertyの実装です。


Field Summary
protected static String _A_DEFAULT
          Row要素上のDefault属性
protected static String _A_NAME
          Row要素上のName属性
protected static String _A_TYPE
          Row要素上のType属性
protected  boolean _bUseMacro
           
protected  ExecuteContext _context
           
protected  VariableList _list
           
protected  Map _macroMap
           
 
Constructor Summary
SimpleCategoryProperty(String name)
          コンストラクタ
 
Method Summary
 void assign(Property prop)
           
 Object clone()
           
 void compile(Element el)
           
 Value get(String name)
           
 Value getValue(String name)
           
 String getValueEncryptKey()
          Default値をEncryptするキーを返します。
 VariableList getVariables()
          このPropertyで設定されている値のSetをVariableListとして取得します。
 void init(ExecuteContext context)
           
 boolean isNull()
           
 Set keySet()
           
 void resetMacro()
           
 void setValueEncryptKey(String s)
          Default値をEncryptするキーを設定します。
 int size()
           
 
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.CategoryProperty
getName, getType, isMapable, isRequired, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_A_NAME

protected static final String _A_NAME
Row要素上のName属性

_A_TYPE

protected static final String _A_TYPE
Row要素上のType属性

_A_DEFAULT

protected static final String _A_DEFAULT
Row要素上のDefault属性

_list

protected VariableList _list

_bUseMacro

protected boolean _bUseMacro

_macroMap

protected Map _macroMap

_context

protected ExecuteContext _context
Constructor Detail

SimpleCategoryProperty

public SimpleCategoryProperty(String name)
コンストラクタ
Parameters:
name - プロパティ名
Method Detail

getValue

public Value getValue(String name)
Description copied from class: CategoryProperty
名前に対応する値を返します。
Overrides:
getValue in class CategoryProperty

get

public Value get(String name)
Overrides:
get in class CategoryProperty

isNull

public boolean isNull()
Description copied from interface: Property
このプロパティの値がnullの場合はtrueを返します。

keySet

public Set keySet()
Description copied from class: CategoryProperty
ユーザが定義した名前のSetを返します。
Overrides:
keySet in class CategoryProperty

size

public int size()
Description copied from class: CategoryProperty
ユーザが定義した名前の数を返します。
Overrides:
size in class CategoryProperty

compile

public void compile(Element el)
             throws CompileException
Description copied from class: CategoryProperty
xfp上の要素「Row」をコンパイルしてプロパティを設定します。
Overrides:
compile in class CategoryProperty

getVariables

public VariableList getVariables()
このPropertyで設定されている値のSetをVariableListとして取得します。

getValueEncryptKey

public String getValueEncryptKey()
Default値をEncryptするキーを返します。

setValueEncryptKey

public void setValueEncryptKey(String s)
Default値をEncryptするキーを設定します。

clone

public Object clone()
Description copied from interface: Property
プロパティのcloneメソッドです。
Overrides:
clone in class CategoryProperty

assign

public void assign(Property prop)
Description copied from interface: Property
このプロパティの内容を引数のPropertyにコピーします。
引数となるPropertyのクラスはメソッド呼び出しを行うクラスと同一でなければなりません。
Overrides:
assign in class CategoryProperty

init

public void init(ExecuteContext context)
Description copied from interface: Property
プロパティを実行コンテキストで初期化します。
Overrides:
init in class CategoryProperty

resetMacro

public void resetMacro()
Overrides:
resetMacro in class CategoryProperty