Package de.xima.fc.entities
Class UserEmail
- java.lang.Object
-
- de.xima.cmn.dao.model.AEntity<Long>
-
- de.xima.fc.entities.AbstractEntity
-
- de.xima.fc.entities.AbstractLockableEntity
-
- de.xima.fc.entities.UserEmail
-
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>
,de.xima.cmn.dao.interfaces.ILockableEntity<Long>
,ILockingVersionProviding
,ITransferable
,ITransferableEntity
,ITransferableLockableEntity
,Serializable
,Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
@Entity public class UserEmail extends AbstractLockableEntity
Entity representing the email addresses of users which are used by theUserProfile
- Since:
- 8.0.0
- Author:
- XIMA Media GmbH
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTR_ADDRESS
static String
ATTR_ORIGIN
static String
ATTR_PRIMARY_REQUEST_EXPIRE_INSTANT
static String
ATTR_PRIMARY_REQUEST_UUID
static String
ATTR_USER_PROFILE
static String
ATTR_VERIFICATION_EXPIRE_INSTANT
static String
ATTR_VERIFICATION_STATE
static String
ATTR_VERIFIED_INSTANT
static String
COL_ADDRESS
static String
COL_ORIGIN
static String
COL_PRIMARY_REQUEST_EXPIRE_TIMESTAMP
static String
COL_PRIMARY_REQUEST_UUID
static String
COL_USER_PROFILE
static String
COL_VERIFICATION_EXPIRE_TIMESTAMP
static String
COL_VERIFICATION_STATE
static String
COL_VERIFIED_TIMESTAMP
static String
VERIFICATION_STATE_VERIFIED
-
Fields inherited from class de.xima.fc.entities.AbstractLockableEntity
COL_LOCKINGVERSION, lockingVersion
-
Fields inherited from class de.xima.fc.entities.AbstractEntity
COL_ID, id
-
Fields inherited from interface de.xima.fc.entities.interfaces.ITransferableEntity
IMPORT_ID, INVALID_ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAddress()
Long
getId()
SystemAuthenticator
getOrigin()
Instant
getPrimaryRequestExpireInstant()
UUID
getPrimaryRequestUuid()
UserProfile
getUserProfile()
Instant
getVerificationExpireInstant()
String
getVerificationState()
Instant
getVerifiedInstant()
boolean
isPrimary()
boolean
isVerified()
void
setAddress(String address)
void
setId(Long id)
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!void
setOrigin(SystemAuthenticator origin)
void
setPrimaryRequestExpireInstant(Instant primaryRequestExpireInstant)
void
setPrimaryRequestUuid(UUID primaryRequestUuid)
void
setUnverified()
void
setUserProfile(UserProfile userProfile)
void
setVerificationExpireInstant(Instant verificationExpireInstant)
void
setVerificationState(String verificationState)
void
setVerified()
void
setVerifiedInstant(Instant verifiedInstant)
-
Methods inherited from class de.xima.fc.entities.AbstractLockableEntity
entityHasChanged, getLockingVersion, setLockingVersion, toString
-
Methods inherited from class de.xima.fc.entities.AbstractEntity
asIntValue, isPersisted, setId
-
Methods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Field Detail
-
COL_ADDRESS
public static final String COL_ADDRESS
- See Also:
- Constant Field Values
-
COL_USER_PROFILE
public static final String COL_USER_PROFILE
- See Also:
- Constant Field Values
-
COL_VERIFICATION_STATE
public static final String COL_VERIFICATION_STATE
- See Also:
- Constant Field Values
-
COL_VERIFICATION_EXPIRE_TIMESTAMP
public static final String COL_VERIFICATION_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_VERIFIED_TIMESTAMP
public static final String COL_VERIFIED_TIMESTAMP
- See Also:
- Constant Field Values
-
COL_ORIGIN
public static final String COL_ORIGIN
- See Also:
- Constant Field Values
-
COL_PRIMARY_REQUEST_UUID
public static final String COL_PRIMARY_REQUEST_UUID
- See Also:
- Constant Field Values
-
COL_PRIMARY_REQUEST_EXPIRE_TIMESTAMP
public static final String COL_PRIMARY_REQUEST_EXPIRE_TIMESTAMP
- See Also:
- Constant Field Values
-
ATTR_ADDRESS
public static final String ATTR_ADDRESS
- See Also:
- Constant Field Values
-
ATTR_USER_PROFILE
public static final String ATTR_USER_PROFILE
- See Also:
- Constant Field Values
-
ATTR_VERIFICATION_STATE
public static final String ATTR_VERIFICATION_STATE
- See Also:
- Constant Field Values
-
ATTR_VERIFICATION_EXPIRE_INSTANT
public static final String ATTR_VERIFICATION_EXPIRE_INSTANT
- See Also:
- Constant Field Values
-
ATTR_VERIFIED_INSTANT
public static final String ATTR_VERIFIED_INSTANT
- See Also:
- Constant Field Values
-
ATTR_ORIGIN
public static final String ATTR_ORIGIN
- See Also:
- Constant Field Values
-
ATTR_PRIMARY_REQUEST_UUID
public static final String ATTR_PRIMARY_REQUEST_UUID
- See Also:
- Constant Field Values
-
ATTR_PRIMARY_REQUEST_EXPIRE_INSTANT
public static final String ATTR_PRIMARY_REQUEST_EXPIRE_INSTANT
- See Also:
- Constant Field Values
-
VERIFICATION_STATE_VERIFIED
public static final String VERIFICATION_STATE_VERIFIED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserEmail
public UserEmail()
-
UserEmail
public UserEmail(@Email @Size(max=360) @NotEmpty @Pattern(regexp="(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$") @Email @Size(max=360) @NotEmpty @Pattern(regexp="(?i)^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$") String address)
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
Description copied from class:AbstractEntity
!!!WARNING: Currently values biggerInteger.MAX_VALUE
or lower thenInteger.MIN_VALUE
will be altered to null!!!- Specified by:
setId
in interfacede.xima.cmn.dao.interfaces.IEntity<Long>
- Overrides:
setId
in classAbstractEntity
- Parameters:
id
-Long
the database-id to set
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getUserProfile
public UserProfile getUserProfile()
-
setUserProfile
public void setUserProfile(UserProfile userProfile)
-
getVerificationState
public String getVerificationState()
-
setVerificationState
public void setVerificationState(String verificationState)
-
getVerificationExpireInstant
public Instant getVerificationExpireInstant()
-
setVerificationExpireInstant
public void setVerificationExpireInstant(Instant verificationExpireInstant)
-
getVerifiedInstant
public Instant getVerifiedInstant()
-
setVerifiedInstant
public void setVerifiedInstant(Instant verifiedInstant)
-
setVerified
public void setVerified()
-
setUnverified
public void setUnverified()
-
isVerified
public boolean isVerified()
-
getOrigin
public SystemAuthenticator getOrigin()
-
setOrigin
public void setOrigin(SystemAuthenticator origin)
-
getPrimaryRequestUuid
public UUID getPrimaryRequestUuid()
-
setPrimaryRequestUuid
public void setPrimaryRequestUuid(UUID primaryRequestUuid)
-
getPrimaryRequestExpireInstant
public Instant getPrimaryRequestExpireInstant()
-
setPrimaryRequestExpireInstant
public void setPrimaryRequestExpireInstant(Instant primaryRequestExpireInstant)
-
isPrimary
public boolean isPrimary()
-
-