Package ch.tocco.nice2.businessunit.api
Class SimpleBusinessUnit
java.lang.Object
ch.tocco.nice2.businessunit.api.SimpleBusinessUnit
- All Implemented Interfaces:
BusinessUnit
,Serializable
- See Also:
-
Field Summary
Fields inherited from interface ch.tocco.nice2.businessunit.api.BusinessUnit
ENTITY_NAME, ID_FIELD_NAME, NULL_BUSINESS_UNIT, RELATION_NAME
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SimpleBusinessUnit
-
SimpleBusinessUnit
-
-
Method Details
-
withPk
- Specified by:
withPk
in interfaceBusinessUnit
-
getId
Description copied from interface:BusinessUnit
Returns the unique id of this business unit.- Specified by:
getId
in interfaceBusinessUnit
- Returns:
- unique id
-
getPrimaryKey
- Specified by:
getPrimaryKey
in interfaceBusinessUnit
-
isNullBusinessUnit
public boolean isNullBusinessUnit()- Specified by:
isNullBusinessUnit
in interfaceBusinessUnit
-
equals
-
hashCode
public int hashCode() -
toString
-
getBusinessUnitEntity
-