Class BaseEntityImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
- All Implemented Interfaces:
BaseEntity
,Serializable
- Direct Known Subclasses:
BundleImpl
,CountryImpl
,LicenseeImpl
,LicenseImpl
,LicenseTemplateImpl
,NotificationImpl
,PaymentMethodImpl
,ProductImpl
,ProductModuleImpl
,TokenImpl
,TransactionImpl
Default implementation of
BaseEntity
.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProperty
(String property, String value) asMap()
List of reserved properties is used for handling of custom properties.void
removeProperty
(String property) void
void
toString()
protected String
-
Constructor Details
-
BaseEntityImpl
public BaseEntityImpl()
-
-
Method Details
-
getReservedProps
List of reserved properties is used for handling of custom properties. Property name that is included in the list can not be used as custom property name. The list is extended by each derived entity class until the final business entity.- Returns:
- the list of reserved property names
-
getNumber
- Specified by:
getNumber
in interfaceBaseEntity
-
setNumber
- Specified by:
setNumber
in interfaceBaseEntity
-
getActive
- Specified by:
getActive
in interfaceBaseEntity
-
setActive
- Specified by:
setActive
in interfaceBaseEntity
-
getProperties
- Specified by:
getProperties
in interfaceBaseEntity
-
addProperty
- Specified by:
addProperty
in interfaceBaseEntity
-
removeProperty
- Specified by:
removeProperty
in interfaceBaseEntity
-
toString
-
asMap
- Specified by:
asMap
in interfaceBaseEntity
-
toString
-