|
|||||||||
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可能な場合はtrueMethod Detail |
public java.lang.String getName()
Property
getName
in interface Property
public PropertyType getType()
getType
in interface Property
public void setRequired(boolean b)
public boolean isRequired()
Property
isRequired
in interface Property
public boolean isMapable()
Property
isMapable
in interface Property
public Value.Type getValueType()
public void setString(java.lang.String str) throws PropertyException
str
- プロパティ値として設定される文字列public boolean isNull()
Property
isNull
in interface Property
public java.lang.String toString()
Property
toString
in interface Property
toString
in class java.lang.Object
public void resetMacro()
public Value getValue()
public java.lang.Object clone()
Property
clone
in interface Property
clone
in class java.lang.Object
public void assign(Property prop)
Property
assign
in interface Property
public void init(ExecuteContext context)
Property
init
in interface Property
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |