LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.data
Class LyTextValue

java.lang.Object
  extended by leon.data.LyValue
      extended by leon.data.LyFieldInfoValue
          extended by leon.data.LyTextValue

public final class LyTextValue
extends LyFieldInfoValue

This class offers methods for constructing, accessing and modifying values corresponding to a LyTextFieldInfo.

See Also:
LyTextFieldInfo, LyObject

Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyTextValue(LyTextFieldInfo textFieldInfo)
          Constructs an empty relation value for the given text field.
LyTextValue(LyTextFieldInfo textFieldInfo, java.lang.Object value)
          Constructs a text value for the given text field from an object.
LyTextValue(LyTextFieldInfo textFieldInfo, java.lang.String value)
          Constructs a text value for the given text field from a string.
 
Method Summary
 
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

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyTextValue

public LyTextValue(LyTextFieldInfo textFieldInfo)
Constructs an empty relation value for the given text field.

Parameters:
textFieldInfo - Text fieldInfo for which a value is created.

LyTextValue

public LyTextValue(LyTextFieldInfo textFieldInfo,
                   java.lang.String value)
Constructs a text value for the given text field from a string.

Parameters:
textFieldInfo - Text fieldInfo for which a value is created.
value - String value.
See Also:
LyRelationFieldInfo.parse(java.lang.String)

LyTextValue

public LyTextValue(LyTextFieldInfo textFieldInfo,
                   java.lang.Object value)
Constructs a text value for the given text field from an object. The given object is converted to a string using toString method.

Parameters:
textFieldInfo - Text fieldInfo for which a value is created.
value - Value given as an object.
See Also:
Object.toString()

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com