Class AInternalMessage
java.lang.Object
de.xima.cmn.dao.model.AEntity<Long>
de.xima.fc.entities.AbstractEntity
de.xima.fc.entities.AInternalMessage
- All Implemented Interfaces:
de.xima.cmn.dao.interfaces.IEntity<Long>, ITransferable, ITransferableEntity, IUUIDEntity, Serializable, Comparable<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Direct Known Subclasses:
InternalClientMessage, InternalSystemMessage
@MappedSuperclass
public abstract class AInternalMessage
extends AbstractEntity
implements IUUIDEntity
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringprotected @NotNull @JsonObject Stringprotected @NotNull EInternalMessageTypeprotected @NotNull booleanprotected @NotNull longprotected UUIDFields inherited from class AbstractEntity
COL_ID, idFields inherited from interface de.xima.cmn.dao.interfaces.IEntity
ATTR_IDFields inherited from interface ITransferableEntity
IMPORT_ID, INVALID_IDFields inherited from interface IUUIDEntity
ATTR_UUID, COL_UUID, INVALID_UUID, INVALID_UUID_OBJECT, NULL_SAFE_UUID_TYPE, NULLABLE_UUID_TYPE, TYPE_NAME_UUID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDateTimeCreated(ZoneId zoneId) longgetUUID()Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.Gets the UUID (universal unique identifier) that uniquely identifies this type of entity.booleanisRead()voidsetInstantCreated(Instant instantCreated) voidsetMessageParams(String messageParams) voidsetMessageType(EInternalMessageType messageType) voidsetRead(boolean read) voidsetTimestampCreated(long timestampCreated) voidSets the UUID (universal unique identifier) that uniquely identifies this type of entity.voidsetUUIDObject(UUID uuid) Methods inherited from class AbstractEntity
asIntValue, isPersisted, setId, setIdMethods inherited from class de.xima.cmn.dao.model.AEntity
compareTo, equals, getDBTableName, hashCode, toStringMethods inherited from interface Comparable
compareToMethods inherited from interface de.xima.cmn.dao.interfaces.IEntity
getId
-
Field Details
-
ATTR_MESSAGE_CREATED
- See Also:
-
ATTR_MESSAGE_PARAMS
- See Also:
-
ATTR_MESSAGE_TYPE
- See Also:
-
ATTR_READ
- See Also:
-
COL_MESSAGE_CREATED
- See Also:
-
COL_MESSAGE_PARAMS
- See Also:
-
COL_MESSAGE_TYPE
- See Also:
-
COL_READ
- See Also:
-
messageParams
-
messageType
-
read
@NotNull protected @NotNull boolean read -
timestampCreated
@NotNull protected @NotNull long timestampCreated -
uuid
-
-
Constructor Details
-
AInternalMessage
public AInternalMessage()
-
-
Method Details
-
getDateTimeCreated
-
getInstantCreated
-
getMessageParams
-
getMessageType
-
getTimestampCreated
public long getTimestampCreated() -
getUUID
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
getUUIDObject
Description copied from interface:IUUIDEntityGets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
getUUIDObjectin interfaceIUUIDEntity- Returns:
- The UUID of the entity.
-
getZonedDateTimeCreated
-
isRead
public boolean isRead() -
setInstantCreated
-
setMessageParams
-
setMessageType
-
setRead
public void setRead(boolean read) -
setTimestampCreated
public void setTimestampCreated(long timestampCreated) -
setUUID
Description copied from interface:IUUIDEntitySets the UUID (universal unique identifier) that uniquely identifies this type of entity. Whether the UUID must be globally unique or only with within a context depends on the type of entity. Common contexts are for exampleclient scopesorproject scope.- Specified by:
setUUIDin interfaceIUUIDEntity- Parameters:
uuid- The UUID of the entity.
-
setUUIDObject
-