|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.as400.access.FieldDescription | +--com.ibm.as400.access.DBCSGraphicFieldDescription
The DBCSGraphicFieldDescription class represents the description of the data in a DBCS-graphic field. It allows:
Fields inherited from class com.ibm.as400.access.FieldDescription |
ALIGN_LEFT,
ALIGN_RIGHT |
Constructor Summary | |
DBCSGraphicFieldDescription()
Constructs a DBCSGraphicFieldDescription object. |
|
DBCSGraphicFieldDescription(AS400Text dataType,
java.lang.String name)
Constructs a DBCSGraphicFieldDescription object. |
|
DBCSGraphicFieldDescription(AS400Text dataType,
java.lang.String name,
java.lang.String ddsName)
Constructs a DBCSGraphicFieldDescription object. |
Method Summary | |
java.lang.String |
getCCSID()
Returns the value specified for the CCSID keyword for this field. |
int |
getVARLEN()
Returns the value specified for the VARLEN keyword for this field. |
boolean |
isVariableLength()
Indicates if the field is a variable-length field. |
void |
setCCSID(java.lang.String ccsid)
Sets the value for the CCSID keyword for this field. |
void |
setDataType(AS400Text dataType)
Sets the AS400DataType object describing this field. |
void |
setDFT(java.lang.String defaultValue)
Sets the value for the DFT keyword for this field. |
void |
setDFTNull()
Sets the value for the DFT keyword to be *NULL for this field. |
void |
setVariableLength(boolean value)
Sets the value that indicates if the field is a variable-length field. |
void |
setVARLEN(int varLen)
Sets the value to specify for the VARLEN keyword for this field. |
Methods inherited from class com.ibm.as400.access.FieldDescription |
getALIAS,
getALWNULL,
getCOLHDG,
getDataType,
getDDSName,
getDFT,
getDFTCurrentValue,
getFieldName,
getKeyFieldFunctions,
getLayoutAlignment,
getLayoutLength,
getLength,
getREFFLD,
getTEXT,
isDFTCurrent,
isDFTNull,
setALIAS,
setALWNULL,
setCOLHDG,
setDataType,
setDDSName,
setFieldName,
setKeyFieldFunctions,
setLayoutAlignment,
setLayoutAttributes,
setLayoutLength,
setREFFLD,
setTEXT |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public DBCSGraphicFieldDescription()
public DBCSGraphicFieldDescription(AS400Text dataType, java.lang.String name)
dataType
- Describes the field and provides
the conversion capability for the contents of the field.name
- The name of the field.public DBCSGraphicFieldDescription(AS400Text dataType, java.lang.String name, java.lang.String ddsName)
dataType
- Describes the field and provides
the conversion capability for the contents of the field.name
- The name of the field.ddsName
- The DDS name of this field. This is the
name of the field as it would appear in a DDS description of the
field. The length of ddsName must be 10 characters or less.Method Detail |
public java.lang.String getCCSID()
public int getVARLEN()
public boolean isVariableLength()
public void setCCSID(java.lang.String ccsid)
ccsid
- The value for the CCSID keyword
for this field.public void setDataType(AS400Text dataType)
dataType
- The AS400DataType that describes this field. The dataType
cannot be null.public void setDFT(java.lang.String defaultValue)
defaultValue
- The default value for this
field. The defaultValue cannot be null.
To set a default value of *NULL, use the setDFTNull() method.public void setDFTNull()
public void setVariableLength(boolean value)
value
- The value that indicates if the field is a variable-length field.
If set to true, the field is a variable-length field.public void setVARLEN(int varLen)
varLen
- The value to specify for the VARLEN keyword for this field.
The varLen cannot be less than zero.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |