public interface BusinessObject<PK>
BusinessObject
represents an entry of a configured entity. Its methods correspond
to the attributes of the entity.
Modifier and Type | Method and Description |
---|---|
static <PK,T extends BusinessObject<PK>> |
get(PK id)
Returns the bo by id.
|
java.lang.String |
getEntity()
Returns the name of the entity the BusinesObject bases on
|
UID |
getEntityUid()
Returns the UID of the entity the BusinesObject bases on
|
PK |
getId()
Returns the primary key of this object
|
java.lang.Integer |
getVersion()
Returns the current version of this object
|
boolean |
isDelete()
Object is removed?
|
boolean |
isInsert()
Is this object a new one?
|
boolean |
isUpdate()
Object is modified?
|
PK getId()
UID getEntityUid()
java.lang.String getEntity()
java.lang.Integer getVersion()
boolean isInsert()
boolean isUpdate()
boolean isDelete()
static <PK,T extends BusinessObject<PK>> T get(PK id)
Copyright © 2024. All rights reserved.