|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.infoteria.asteria.flowlibrary2.property.ValueProperty | +--com.infoteria.asteria.flowlibrary2.property.EnumProperty
列挙型のプロパティクラスです。
Constructor Summary | |
EnumProperty(String name)
EnumProperty(name, false, true, null) と同じです。 |
|
EnumProperty(String name,
boolean required)
EnumProperty(name, required, true, null) と同じです。 |
|
EnumProperty(String name,
boolean required,
boolean mapable)
EnumProperty(name, required, mapable, null) と同じです。 |
|
EnumProperty(String name,
boolean required,
boolean mapable,
String value)
コンストラクタ |
Method Summary | |
void |
addEnumeration(String value)
プロパティ値として設定可能な列挙値を追加します。 |
boolean |
canUseMacro()
|
Object |
clone()
|
List |
getEnumList()
使用可能な列挙値のリスト |
int |
getIndex()
設定されているプロパティ値のインデックスを返します。 インデックスはaddEnumerationメソッドで追加された順に0ベースで決まります。 |
void |
setString(String value)
|
String |
strValue()
プロパティ値を返します。 |
Methods inherited from class com.infoteria.asteria.flowlibrary2.property.ValueProperty |
assign, getName, getType, getValue, getValueType, init, isMapable, isNull, isRequired, resetMacro, setRequired, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public EnumProperty(String name)
public EnumProperty(String name, boolean required)
public EnumProperty(String name, boolean required, boolean mapable)
public EnumProperty(String name, boolean required, boolean mapable, String value)
name
- プロパティ名required
- このプロパティが必須プロパティの場合はtruemapable
- このプロパティがMapping可能な場合はtruevalue
- デフォルト値Method Detail |
public boolean canUseMacro()
canUseMacro
in class ValueProperty
public void addEnumeration(String value)
public List getEnumList()
public void setString(String value) throws PropertyException
ValueProperty
setString
in class ValueProperty
com.infoteria.asteria.flowlibrary2.property.ValueProperty
str
- プロパティ値として設定される文字列public Object clone()
Property
clone
in class ValueProperty
public String strValue() throws PropertyException
PropertyException
- プロパティ値として不正な値が設定されている場合public int getIndex() throws PropertyException
PropertyException
- プロパティ値として不正な値が設定されている場合
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |