Class TokenImpl
java.lang.Object
com.labs64.netlicensing.util.Visitable
com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
com.labs64.netlicensing.domain.entity.impl.TokenImpl
- All Implemented Interfaces:
BaseEntity
,Token
,Serializable
Default implementation of
Token
.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()
void
setExpirationTime
(Date expirationTime) void
setTokenType
(ITokenType tokenType) void
setVendorNumber
(String vendorNumber) Methods inherited from class com.labs64.netlicensing.domain.entity.impl.BaseEntityImpl
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.labs64.netlicensing.domain.entity.BaseEntity
addProperty, getActive, getNumber, getProperties, removeProperty, setActive, setNumber
-
Constructor Details
-
TokenImpl
public TokenImpl()
-
-
Method Details
-
getReservedProps
- See Also:
-
getVendorNumber
- Specified by:
getVendorNumber
in interfaceToken
-
setVendorNumber
- Specified by:
setVendorNumber
in interfaceToken
-
getExpirationTime
- Specified by:
getExpirationTime
in interfaceToken
-
setExpirationTime
- Specified by:
setExpirationTime
in interfaceToken
-
getTokenType
- Specified by:
getTokenType
in interfaceToken
-
setTokenType
- Specified by:
setTokenType
in interfaceToken
-
getTokenProperties
- Specified by:
getTokenProperties
in interfaceToken
-
asMap
- Specified by:
asMap
in interfaceBaseEntity
- Overrides:
asMap
in classBaseEntityImpl
-