Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.model
Interface PresetCategory

All Superinterfaces:
ModelObject, XMLObject

public interface PresetCategory
extends ModelObject

Field Summary
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier

 

Method Summary
 PresetDescriptor createPresetDescriptor(java.lang.String name)
          Create a new descriptor.
 java.lang.String getName()
          Gets the name of the category.
 DataType[] getPresetDataTypes()
          Get a list of valid data types to use for the Presets.
 PresetDescriptor getPresetDescriptor(java.lang.String name)
          Get the committed descriptor by name.
 java.util.Iterator getPresetDescriptorIterator()
          Get the iterator over the committed preset descriptors.
 java.util.Enumeration getPresetDescriptors()
          Get the enumeration over the committed preset descriptors.
 java.lang.String getStorageClassName()
          Gets the name of the database class for this category.
 PresetDescriptor removePresetDescriptor(java.lang.String name)
          Remove a descriptor.
 void setName(java.lang.String name)
          Sets the name of the category.

 

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

TYPENAME

public static final java.lang.String TYPENAME
The constant class type identifier
See Also:
Constant Field Values

TYPEID

public static final int TYPEID
The type id of this class.
See Also:
Constant Field Values
Method Detail

getName

public java.lang.String getName()
Gets the name of the category.
Specified by:
getName in interface ModelObject
Returns:
String the name of the object

setName

public void setName(java.lang.String name)
Sets the name of the category.
Specified by:
setName in interface ModelObject
Parameters:
name - must be not null

getStorageClassName

public java.lang.String getStorageClassName()
Gets the name of the database class for this category.

getPresetDescriptors

public java.util.Enumeration getPresetDescriptors()
Get the enumeration over the committed preset descriptors.

getPresetDescriptorIterator

public java.util.Iterator getPresetDescriptorIterator()
Get the iterator over the committed preset descriptors.

getPresetDescriptor

public PresetDescriptor getPresetDescriptor(java.lang.String name)
Get the committed descriptor by name.

createPresetDescriptor

public PresetDescriptor createPresetDescriptor(java.lang.String name)
Create a new descriptor.

removePresetDescriptor

public PresetDescriptor removePresetDescriptor(java.lang.String name)
Remove a descriptor.

getPresetDataTypes

public DataType[] getPresetDataTypes()
Get a list of valid data types to use for the Presets.

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.