oracle.panama.model
Interface PresetCategory

All Superinterfaces:
ModelObject, XMLObject

public interface PresetCategory
extends ModelObject


Field Summary
TypeField
static int TYPEID
          The type id of this class.
static java.lang.String TYPENAME
          The constant class type identifier
 
Method Summary
TypeMethod
 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

TYPEID

public static final int TYPEID
The type id of this class.
Method Detail

getName

public java.lang.String getName()
Gets the name of the category.
Specified by:
getName in interface ModelObject
Following copied from interface: oracle.panama.model.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
Following copied from interface: oracle.panama.model.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.