|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PresetDescriptor is created by the PresetCategory. It defines one of the attributes of the Presets.
Field Summary | |
static int |
TYPEID The type id of this class. |
static java.lang.String |
TYPENAME The constant class type identifier |
Method Summary | |
java.lang.String |
getDescription() Gets the description of the preset attribute. |
java.lang.String |
getFormat() Gets the format of the preset value. |
java.lang.String |
getName() Gets the name of the preset attribute. |
java.lang.String[] |
getOptions() Gets the options. |
DataType |
getPresetDataType() Get the DataType which is a symbolic description of the stored type. |
ArgumentType |
getPresetType() Gets the type of the preset, such as enum, single line, multi-line, etc. |
java.lang.Long |
getScale() Gets the scale of the numeric data type. |
java.lang.Long |
getSize() Gets the size of the data of the given data type. |
int |
getStoredType() Gets the stored data type in the database. |
boolean |
isEmptyOK() Test if the preset value can be empty. |
void |
setDescription(java.lang.String description) Sets the description of the preset attribute. |
void |
setEmptyOK(boolean emptyOK) Sets if the preset can be empty or not empty. |
void |
setFormat(java.lang.String format) Sets the format of the preset value. |
void |
setName(java.lang.String name) Sets the name of the preset attribute. |
void |
setOptions(java.lang.String[] options) Sets the options. |
void |
setPresetDataType(DataType type) Set the stored data type using the symbolic description. |
void |
setPresetDataType(java.lang.String code) Set the stored data type using the code number of the DataType. |
void |
setPresetType(ArgumentType type) Sets the type of the preset, such as enum, single line, multi-line, etc. |
void |
setScale(java.lang.Long scale) Sets the scale of the numeric data type. |
void |
setSize(java.lang.Long size) Sets the size of the data of the given data type. |
void |
setStoredType(int storedType) Sets the stored data type in the database. |
boolean |
verifyFormat(java.lang.String value) Verify if the preset value satisfy the format specification. |
Methods inherited from interface oracle.panama.model.ModelObject |
delete, getCreatedDate, getId, getLastModifiedDate, getTypeId, getTypeName, isSystem, setSystem, undoAll |
Methods inherited from interface oracle.panama.model.XMLObject |
setXML, toXML |
Field Detail |
public static final int TYPEID
public static final java.lang.String TYPENAME
Method Detail |
public java.lang.String getDescription()
public java.lang.String getFormat()
setFormat(String)
public java.lang.String getName()
getName
in interface ModelObject
public java.lang.String[] getOptions()
public DataType getPresetDataType()
public ArgumentType getPresetType()
public java.lang.Long getScale()
public java.lang.Long getSize()
public int getStoredType()
public boolean isEmptyOK()
public void setDescription(java.lang.String description)
public void setEmptyOK(boolean emptyOK)
public void setFormat(java.lang.String format)
getFormat()
public void setName(java.lang.String name)
setName
in interface ModelObject
name
- must be not nullpublic void setOptions(java.lang.String[] options) throws TooManyOptionsException
TooManyOptionsException
- if the options do not satisfy the formatpublic void setPresetDataType(DataType type)
public void setPresetDataType(java.lang.String code)
public void setPresetType(ArgumentType type)
ArgumentType
public void setScale(java.lang.Long scale)
public void setSize(java.lang.Long size)
public void setStoredType(int storedType)
public boolean verifyFormat(java.lang.String value) throws PanamaException
PanamaException
- if the format expression is not valid
|
Oracle Application Server Wireless Java API Reference B14043-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |