pt.ist.fenixframework.backend.jvstmmem
Class JVSTMMemDomainObject
java.lang.Object
  
pt.ist.fenixframework.core.AbstractDomainObject
      
pt.ist.fenixframework.core.AbstractDomainObjectAdapter
          
pt.ist.fenixframework.backend.jvstmmem.JVSTMMemDomainObject
- All Implemented Interfaces: 
 - Serializable, DomainObject
 
public class JVSTMMemDomainObject
- extends AbstractDomainObjectAdapter
 
- See Also:
 - Serialized Form
 
 
 
 
| 
Method Summary | 
protected  void | 
ensureOid()
 
          Set the identifier (oid) of the object that is being created. | 
 String | 
getExternalId()
 
            | 
 Long | 
getOid()
 
          Returns an internal global representation of this object. | 
 
 
 
 
JVSTMMemDomainObject
protected JVSTMMemDomainObject()
JVSTMMemDomainObject
protected JVSTMMemDomainObject(DomainObjectAllocator.OID oid)
ensureOid
protected void ensureOid()
- Description copied from class: 
AbstractDomainObject 
- Set the identifier (
oid) of the object that is being created.  This method is
 invoked by the no-arg constructor.  It is only intented to be invoked from within a
 constructor (with the exception of AbstractDomainObject.AbstractDomainObject(DomainObjectAllocator.OID),
 which has its own way of restoring the object's id.
- Overrides:
 ensureOid in class AbstractDomainObject
 
 
 
getOid
public Long getOid()
- Description copied from class: 
AbstractDomainObject 
- Returns an internal global representation of this object.  Although, it can be implemented
 simply as a call to 
AbstractDomainObject.getExternalId(), this method enables code **within** the
 framework to leverage on the knowledge of the concrete identifier, thus being more efficient.
 This method should only be used by code internal to the framework.
- Overrides:
 getOid in class AbstractDomainObject
 
 
 
getExternalId
public final String getExternalId()
- Specified by:
 getExternalId in interface DomainObject- Overrides:
 getExternalId in class AbstractDomainObject
 
 
Copyright © 2013. All Rights Reserved.