Package org.cyclos.entities.access
Class TokenPrincipalType
-
- All Implemented Interfaces:
Cloneable,Comparable<NamedEntity>,HasNetwork,HasOrder,ProcessableForProxying,DefinesNetwork,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
NFCTokenPrincipalType
@Entity public class TokenPrincipalType extends ActivatablePrincipalType
A token type represents a category for tokens: cards, nfc tags, etc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description TokenPrincipalType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeIntervalgetActivation()TimeIntervalgetExpiration()PrincipalTypeNaturegetNature()StringgetTokenMask()TokenTypegetTokenType()booleanisAllowManualInputOfValue()booleanisGenerateOnUserCreation()booleanisUsedExternalPayment()voidsetActivation(TimeInterval activation)voidsetAllowManualInputOfValue(boolean allowManualInputOfValue)voidsetExpiration(TimeInterval expiration)voidsetGenerateOnUserCreation(boolean generateOnUserCreation)voidsetTokenMask(String tokenMask)voidsetTokenType(TokenType tokenType)-
Methods inherited from class org.cyclos.entities.access.ActivatablePrincipalType
getMaximumPerUser, getPluralName, setMaximumPerUser, setPluralName
-
Methods inherited from class org.cyclos.entities.access.PrincipalType
compareTo, getDataTranslationType, getNetwork, setNetwork
-
Methods inherited from class org.cyclos.entities.ConfigurationOrderableEntity
getOrder, setOrder, toString
-
Methods inherited from class org.cyclos.entities.ConfigurationEntity
getDescription, getInternalName, setDescription, setInternalName, toShortString
-
Methods inherited from class org.cyclos.entities.NamedEntity
getName, getNames, setName
-
Methods inherited from class org.cyclos.entities.BaseEntity
getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getActivation
public TimeInterval getActivation()
-
getExpiration
public TimeInterval getExpiration()
-
getNature
public PrincipalTypeNature getNature()
- Specified by:
getNaturein classPrincipalType
-
getTokenMask
public String getTokenMask()
-
getTokenType
public TokenType getTokenType()
-
isAllowManualInputOfValue
public boolean isAllowManualInputOfValue()
-
isGenerateOnUserCreation
public boolean isGenerateOnUserCreation()
-
isUsedExternalPayment
public boolean isUsedExternalPayment()
- Specified by:
isUsedExternalPaymentin classPrincipalType
-
setActivation
public void setActivation(TimeInterval activation)
-
setAllowManualInputOfValue
public void setAllowManualInputOfValue(boolean allowManualInputOfValue)
-
setExpiration
public void setExpiration(TimeInterval expiration)
-
setGenerateOnUserCreation
public void setGenerateOnUserCreation(boolean generateOnUserCreation)
-
setTokenMask
public void setTokenMask(String tokenMask)
-
setTokenType
public void setTokenType(TokenType tokenType)
-
-