|
|||||||||
| 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
Valueクラスをラップするプロパティの基底クラスです。
このクラスのサブクラスであるプロパティはMapperでMappingすることができます。
| Constructor Summary | |
protected |
ValueProperty(java.lang.String name,
Value.Type valueType)
ValueProperty(name, valueType, false, true) と同じです。 |
protected |
ValueProperty(java.lang.String name,
Value.Type valueType,
boolean required)
ValueProperty(name, valueType, required true) と同じです。 |
protected |
ValueProperty(java.lang.String name,
Value.Type valueType,
boolean required,
boolean mapable)
コンストラクタ |
| Method Summary | |
void |
assign(Property prop)
|
java.lang.Object |
clone()
|
java.lang.String |
getName()
|
PropertyType |
getType()
プロパティ型を返します。 ValuePropertyのサブクラスは常にPropertyType.VALUEを返します。 |
Value |
getValue()
プロパティ値を返します。 |
Value.Type |
getValueType()
データ型を返します。 |
void |
init(ExecuteContext context)
|
boolean |
isMapable()
|
boolean |
isNull()
|
boolean |
isRequired()
|
void |
resetMacro()
|
void |
setRequired(boolean b)
このプロパティが必須であるかどうかを設定します。 |
void |
setString(java.lang.String str)
コンパイル時に値を設定します。 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected ValueProperty(java.lang.String name,
Value.Type valueType)
protected ValueProperty(java.lang.String name,
Value.Type valueType,
boolean required)
protected ValueProperty(java.lang.String name,
Value.Type valueType,
boolean required,
boolean mapable)
name - プロパティ名valueType - データ型required - このプロパティが必須プロパティの場合はtruemapable - このプロパティがMapping可能な場合はtrue| Method Detail |
public java.lang.String getName()
PropertygetName in interface Propertypublic PropertyType getType()
getType in interface Propertypublic void setRequired(boolean b)
public boolean isRequired()
PropertyisRequired in interface Propertypublic boolean isMapable()
PropertyisMapable in interface Propertypublic Value.Type getValueType()
public void setString(java.lang.String str)
throws PropertyException
str - プロパティ値として設定される文字列public boolean isNull()
PropertyisNull in interface Propertypublic java.lang.String toString()
PropertytoString in interface PropertytoString in class java.lang.Objectpublic void resetMacro()
public Value getValue()
public java.lang.Object clone()
Propertyclone in interface Propertyclone in class java.lang.Objectpublic void assign(Property prop)
Propertyassign in interface Propertypublic void init(ExecuteContext context)
Propertyinit in interface Property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||