Package org.nuclos.api.businessobject
Interface GenericBusinessObject<PK>
public interface GenericBusinessObject<PK>
GenericBusinessObject
defines similarities between multiple BOs.
- Author:
- Maik Stueker
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the entity this GenericBusinessObject bases onReturns the UID of the entity this GenericBusinessObject bases ongetId()
Returns the primary key of this objectReturns the current version of this objectboolean
isDelete()
Object is removed?boolean
isInsert()
Is this object a new one?boolean
isUpdate()
Object is modified?
-
Method Details
-
getBusinessObject
BusinessObject<PK> getBusinessObject() -
getId
PK getId()Returns the primary key of this object -
getEntityUid
UID getEntityUid()Returns the UID of the entity this GenericBusinessObject bases on -
getEntity
String getEntity()Returns the name of the entity this GenericBusinessObject bases on -
getVersion
Integer getVersion()Returns the current version of this object -
isInsert
boolean isInsert()Is this object a new one? -
isUpdate
boolean isUpdate()Object is modified? -
isDelete
boolean isDelete()Object is removed?
-