Oracle Application Server Wireless Java API Reference
B14043-01


oracle.panama.model
Interface ModelObject

All Superinterfaces:
XMLObject
All Known Subinterfaces:
AccessPoint, Adapter, Alert, AlertAddress, AsyncService, Community, DataFeeder, DeliverableApplication, DeliverableContent, DeliveryService, Device, DeviceAddress, DeviceGroup, ExternalLink, Folder, ForbiddenUser, Group, JavaTransformer, Link, LocalModule, LocationMark, LocationPrivacyAuth, MasterAlertService, MasterService, Module, PassThroughDataFeeder, PhysicalDevice, PresetCategory, PresetDescriptor, Presets, Profile, ProvisioningProtocol, Role, Service, ServiceAccessPoint, ServiceAlertSubscription, ServiceCategory, ServiceCategoryAccessPoint, Transformer, User, UserLocationDisclosure, XSLTransformer

public interface ModelObject
extends XMLObject

ModelObject is the base interface to manage all "generic" aspects of a persistent object.


Field Summary
static int TYPEID
          The type id of this class.

 

Method Summary
 void delete()
          Delete this object from the persistent storage.
 java.util.Date getCreatedDate()
           
 long getId()
           
 java.util.Date getLastModifiedDate()
           
 java.lang.String getName()
           
 int getTypeId()
           
 java.lang.String getTypeName()
           
 boolean isSystem()
           
 void setName(java.lang.String name)
          Set the name
 void setSystem(boolean system)
          Set the system flag
 void undoAll()
          Undo all previous changes.

 

Methods inherited from interface oracle.panama.model.XMLObject
setXML, toXML

 

Field Detail

TYPEID

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

Method Detail

delete

public void delete()
Delete this object from the persistent storage.

getCreatedDate

public java.util.Date getCreatedDate()
Returns:
the database managed created date.

getId

public long getId()
Returns:
long the internal system wide object id (technical key).

getLastModifiedDate

public java.util.Date getLastModifiedDate()
Returns:
the database managed last written date.

getName

public java.lang.String getName()
Returns:
String the name of the object

getTypeId

public int getTypeId()
Returns:
the Type integer value of this object

getTypeName

public java.lang.String getTypeName()
Returns:
the TYPENAME of this object.

isSystem

public boolean isSystem()
Returns:
boolean the system flag of the object

setName

public void setName(java.lang.String name)
Set the name
Parameters:
name - must be not null

setSystem

public void setSystem(boolean system)
Set the system flag
Parameters:
system - flag

undoAll

public void undoAll()
Undo all previous changes. If more than one object properties were modified they all will be undone.

Oracle Application Server Wireless Java API Reference
B14043-01


Copyright © 2004 Oracle Corporation. All Rights Reserved.