public interface ICdmBase
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getCreated() |
User |
getCreatedBy() |
int |
getId()
Returns local unique identifier for the concrete subclass
|
java.util.UUID |
getUuid() |
boolean |
isInstanceOf(java.lang.Class<? extends CdmBase> clazz) |
boolean |
isPersited()
Reports the persistend state of the cdm entity.
|
void |
setCreated(org.joda.time.DateTime created)
Sets the timestamp this object was created.
|
void |
setCreatedBy(User createdBy) |
void |
setId(int id)
Assigns a unique local ID to this object.
|
void |
setUuid(java.util.UUID uuid) |
int getId()
void setId(int id)
id
- java.util.UUID getUuid()
void setUuid(java.util.UUID uuid)
org.joda.time.DateTime getCreated()
void setCreated(org.joda.time.DateTime created)
TRAC ticket
created
- User getCreatedBy()
User
who was authenticated when the entity was created.
Can be null
if the entity has been created without any user authentication present.void setCreatedBy(User createdBy)
boolean isInstanceOf(java.lang.Class<? extends CdmBase> clazz)
class1
- boolean isPersited()
true
it does not
necessarily mean that there is a database record already but
maybe the object was only saved to a persistence session, which still needs to be flushed to the storage engine.Copyright © 2007-2020 EDIT. All Rights Reserved.