|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.access.ValidationListTranslatedData com.ibm.as400.access.ValidationListAttributeData
public class ValidationListAttributeData extends ValidationListTranslatedData
Represents the value of a validation
list attribute. Each validation list entry may contain one or more attributes.
For each attribute, there is an associated value. This class models
the value. The same information is present as in the superclass
ValidationListTranslatedData
, but the order and location of
the information in the corresponding API structures differ.
Constructor and Description |
---|
ValidationListAttributeData()
Constructs a ValidationListTranslatedData. |
ValidationListAttributeData(byte[] buffer,
int offset)
Constructs a ValidationListTranslatedData from a structure stored as IBM i bytes. |
Modifier and Type | Method and Description |
---|---|
protected int |
getWriteOffsetCcsid()
Returns the offset of CCSID information in the structure when the receiver is written to IBM i bytes. |
protected int |
getWriteOffsetTByteLength()
Returns the offset of the length of the translated bytes when the receiver is written to an IBM i byte structure. |
protected int |
getWriteOffsetTBytes()
Returns the offset of the translated bytes when the receiver is written to an IBM i byte structure. |
Methods inherited from class com.ibm.as400.access.ValidationListTranslatedData |
---|
getByteLength, getBytes, getCcsid, getReadOffsetCcsid, getReadOffsetTByteLength, getReadOffsetTBytes, getString, getWriteNullDataLength, isValidCcsid, setBytes, setBytes, setCcsid, toBytes, toBytes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ValidationListAttributeData()
public ValidationListAttributeData(byte[] buffer, int offset)
The offset indicates the starting position of the structure in the given buffer.
buffer
- byte[]offset
- intMethod Detail |
---|
protected int getWriteOffsetCcsid()
getWriteOffsetCcsid
in class ValidationListTranslatedData
protected int getWriteOffsetTByteLength()
getWriteOffsetTByteLength
in class ValidationListTranslatedData
protected int getWriteOffsetTBytes()
getWriteOffsetTBytes
in class ValidationListTranslatedData
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |