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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(String property, String value) asMap()List of reserved properties is used for handling of custom properties.voidremoveProperty(String property) voidvoidtoString()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:
getNumberin interfaceBaseEntity
-
setNumber
- Specified by:
setNumberin interfaceBaseEntity
-
getActive
- Specified by:
getActivein interfaceBaseEntity
-
setActive
- Specified by:
setActivein interfaceBaseEntity
-
getProperties
- Specified by:
getPropertiesin interfaceBaseEntity
-
addProperty
- Specified by:
addPropertyin interfaceBaseEntity
-
removeProperty
- Specified by:
removePropertyin interfaceBaseEntity
-
toString
-
asMap
- Specified by:
asMapin interfaceBaseEntity
-
toString
-