oracle.panama.model
Interface ModelObject
- All Superinterfaces:
- XMLObject
- All Known Subinterfaces:
- Adapter, Alert, AlertAddress, AlertService,
Community, DataFeeder, Device, DeviceAddress,
ExternalLink, Folder, Group, JavaTransformer,
Link, LocalModule, LocationMark, LocationPrivacyAuth,
MasterAlertService, MasterService, Module, PassThroughDataFeeder,
PresetCategory, PresetDescriptor, Presets, Profile,
Role, Service, Topic, Transformer,
User, XSLTransformer
- public interface ModelObject
- extends XMLObject
ModelObject is the base interface to manage all "generic" aspects of
a persistent object.
Type | Field |
static int |
TYPEID
The type id of this class. |
TYPEID
public static final int TYPEID
- The type id of this class.
getId
public long getId()
- Returns:
- long the internal system wide object id (technical key).
getName
public java.lang.String getName()
- Returns:
- String the name of the object
setName
public void setName(java.lang.String name)
- Set the name
- Parameters:
name
- must be not null
isSystem
public boolean isSystem()
- Returns:
- boolean the system flag of the object
setSystem
public void setSystem(boolean system)
- Set the system flag
- Parameters:
the
- system flag
getTypeName
public java.lang.String getTypeName()
- Returns:
- the
TYPENAME
of this object.
getTypeId
public int getTypeId()
- Returns:
- the Type integer value of this object
getCreatedDate
public java.util.Date getCreatedDate()
- Returns:
- the database managed created date.
getLastModifiedDate
public java.util.Date getLastModifiedDate()
- Returns:
- the database managed last written date.
delete
public void delete()
- Delete this object from the persistent storage.
undoAll
public void undoAll()
- Undo all previous changes. If more than one object properties were
modified they all will be undone.