@Entity public class TrustedDevice extends NamedEntity implements org.cyclos.impl.access.UserPrincipal
| Constructor and Description |
|---|
TrustedDevice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(Session session) |
AccessClient |
getAccessClient() |
UserAccount |
getAccount() |
java.lang.String |
getActivationCode() |
BasicUser |
getBasicUser() |
UserCustomFieldValue |
getCustomFieldValue() |
java.util.Date |
getDate() |
java.lang.String |
getKey() |
MobilePhone |
getMobilePhone() |
Network |
getNetwork()
Returns the network this entity belongs to
|
Pin |
getPin() |
java.lang.String |
getPrincipal() |
PrincipalType |
getPrincipalType() |
java.util.Set<Session> |
getSessions() |
MobilePhone |
getTargetMobilePhone() |
Token |
getToken() |
TrustedDevice |
getTrustedDevice() |
BasicUser |
getUser() |
void |
setActivationCode(java.lang.String activationCode) |
void |
setDate(java.util.Date date) |
void |
setKey(java.lang.String key) |
void |
setSessions(java.util.Set<Session> sessions) |
void |
setTargetMobilePhone(MobilePhone targetMobilePhone) |
void |
setUser(BasicUser user) |
compareTo, getName, getNames, setName, toShortString, toStringgetDataTranslationType, getVersionisGlobalclone, equals, getId, getId, getIds, getUniqueIds, getUniqueIds, hashCode, isPersistent, isTransientpublic void addSession(Session session)
public AccessClient getAccessClient()
getAccessClient in interface org.cyclos.impl.access.UserPrincipalpublic UserAccount getAccount()
getAccount in interface org.cyclos.impl.access.UserPrincipalpublic java.lang.String getActivationCode()
public BasicUser getBasicUser()
getBasicUser in interface org.cyclos.impl.access.UserPrincipalpublic UserCustomFieldValue getCustomFieldValue()
getCustomFieldValue in interface org.cyclos.impl.access.UserPrincipalpublic java.util.Date getDate()
public java.lang.String getKey()
public MobilePhone getMobilePhone()
getMobilePhone in interface org.cyclos.impl.access.UserPrincipalpublic Network getNetwork()
NetworkedEntitygetNetwork in class NetworkedEntitypublic Pin getPin()
public java.lang.String getPrincipal()
getPrincipal in interface org.cyclos.impl.access.UserPrincipalpublic PrincipalType getPrincipalType()
getPrincipalType in interface org.cyclos.impl.access.UserPrincipalpublic java.util.Set<Session> getSessions()
public MobilePhone getTargetMobilePhone()
public Token getToken()
getToken in interface org.cyclos.impl.access.UserPrincipalpublic TrustedDevice getTrustedDevice()
getTrustedDevice in interface org.cyclos.impl.access.UserPrincipalpublic BasicUser getUser()
public void setActivationCode(java.lang.String activationCode)
public void setDate(java.util.Date date)
public void setKey(java.lang.String key)
public void setSessions(java.util.Set<Session> sessions)
public void setTargetMobilePhone(MobilePhone targetMobilePhone)
public void setUser(BasicUser user)