public class BaseEntity
extends org.apache.cayenne.CayenneDataObject
Constructor and Description |
---|
BaseEntity() |
Modifier and Type | Method and Description |
---|---|
Integer |
getId()
Convenience method to get an id that may be used by the view.
|
boolean |
isNew()
Return true if the object is new or transient object.
|
addToManyTarget, appendProperties, decodeFromXML, encodeAsXML, fetchFinished, getDataContext, getSnapshotVersion, readNestedProperty, readProperty, readPropertyDirectly, removeToManyTarget, setDataContext, setObjectContext, setPersistenceState, setReverseRelationship, setSnapshotVersion, setToOneTarget, toString, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writePropertyDirectly
getMapKey, getObjectContext, getObjectId, getObjEntity, getPersistenceState, setObjectId
public Integer getId()
public boolean isNew()