Package ch.tocco.nice2.businessunit.api
Interface BusinessUnit
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SimpleBusinessUnit
Representation of a business unit. It holds a reference to the business unit entity by
storing its unique_id.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final BusinessUnit
This business unit has no database representation and is used to represent no business unit.static final String
-
Method Summary
-
Field Details
-
ENTITY_NAME
- See Also:
-
RELATION_NAME
- See Also:
-
ID_FIELD_NAME
- See Also:
-
NULL_BUSINESS_UNIT
This business unit has no database representation and is used to represent no business unit.
-
-
Method Details
-
isNullBusinessUnit
boolean isNullBusinessUnit() -
getId
String getId()Returns the unique id of this business unit.- Returns:
- unique id
-
getPrimaryKey
-
withPk
-