F_CONTAINER_INSERT_AT, MAX_FLAG_VALUE
Constructor and Description |
---|
DSFieldImpl(long dsDataPointer,
int fieldIndex,
int fieldNumber,
String fieldValue)
Constructs a DSFieldImpl with the specified pointer to the
underlying ds_data struct, index, field number and value.
|
Modifier and Type | Method and Description |
---|---|
FieldInfo |
getFieldInfo()
Get the field information for this field, if available.
|
int |
getFlags()
Get the flags set on this field.
|
String |
getValue()
Gets the value for the field.
|
void |
setFieldInfo(FieldInfo fieldInfo)
Sets the field information for the field.
|
void |
setValue(String fieldValue)
Sets the value for the field.
|
public DSFieldImpl(long dsDataPointer, int fieldIndex, int fieldNumber, String fieldValue)
Constructs a DSFieldImpl with the specified pointer to the underlying ds_data struct, index, field number and value.
This constructor has the default (package protected) modifier to prevent the end user from being able to instantiate this class.
dsDataPointer
- The pointer to the C ds_data struct that
holds the state information for the update.fieldIndex
- The index of the field within the ds_data
struct.fieldNumber
- The field number.fieldValue
- The value of the field.public String getValue()
DSField
Gets the value for the field.
public void setValue(String fieldValue)
DSField
Sets the value for the field.
public FieldInfo getFieldInfo()
DSField
Get the field information for this field, if available.
getFieldInfo
in interface DSField
FieldInfo
for this field, or null if not availablepublic void setFieldInfo(FieldInfo fieldInfo)
DSField
Sets the field information for the field.
setFieldInfo
in interface DSField
fieldInfo
- The new FieldInfo for this field.Please send bug reports and comments to Caplin support