|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.data.LyValue
leon.data.LyFieldInfoValue
leon.data.LyBooleanValue
public class LyBooleanValue
This class offers methods for constructing, accessing and modifying values corresponding to a LyChoiceFieldInfo with a boolean type.
LyChoiceFieldInfo
,
LyObject
Field Summary | |
---|---|
static java.lang.String |
__VERSION
File version |
Constructor Summary | |
---|---|
LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo)
Constructs an empty boolean value for the given choice field. |
|
LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo,
boolean value)
Constructs a boolean value for the given choice field from a boolean. |
|
LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo,
java.lang.Boolean value)
Constructs a boolean value for the given choice field from a Boolean. |
|
LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo,
java.lang.String value)
Constructs a boolean choice value for the given choice field from a string. |
Method Summary | |
---|---|
boolean |
booleanValue()
Gets value of this boolean value as a boolean (primitive type). |
java.lang.Boolean |
getBooleanValue()
Gets value of this boolean value as a Boolean. |
Methods inherited from class leon.data.LyFieldInfoValue |
---|
compare, contains, equals, equals, getFieldInfo, getName, getName, getShortName, getString |
Methods inherited from class leon.data.LyValue |
---|
getField, getValue, isNull, setValue, toString |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo)
choiceFieldInfo
- Choice fieldInfo for which a value is created.public LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo, java.lang.String value)
choiceFieldInfo
- Choice fieldInfo for which a value is created.value
- String value.LyChoiceFieldInfo.parse(java.lang.String)
public LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo, boolean value)
choiceFieldInfo
- Choice fieldInfo for which a value is created.value
- Value passed as a boolean.public LyBooleanValue(LyChoiceFieldInfo choiceFieldInfo, java.lang.Boolean value)
choiceFieldInfo
- Choice fieldInfo for which a value is created.value
- Value passed as a Boolean.Method Detail |
---|
public java.lang.Boolean getBooleanValue()
java.lang.IllegalStateException
- If the choice field is not a boolean.public boolean booleanValue()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |