public final class Beat extends Entity<BeatId,BeatProviderId>
Modifier and Type | Class and Description |
---|---|
static class |
Beat.Builder
Builder for a Beat instance.
|
Modifier and Type | Field and Description |
---|---|
static DateOperand |
CREATION_TIME
Allows to build predicates testing for certain beat creation time values.
|
static StringOperand |
DESCRIPTION
Allows to build predicates testing for certain description values.
|
static Type |
ENTITY_TYPE
The type that identifies a beat entity.
|
static BasicOperand<EventType> |
EVENT_SUB_TYPE
Allows to build predicates testing for certain beat event sub type values.
|
static BasicOperand<EventType> |
EVENT_TYPE
Allows to build predicates testing for certain beat event type values.
|
static BasicOperand<BeatId> |
EXTERNAL_ID
Allows to build predicates testing for certain external beat id values.
|
static BasicOperand<GlobalId> |
GLOBAL_ID
Allows to build predicates testing for certain global id values.
|
static BasicOperand<Long> |
GLOBAL_ORDER_INDEX
Allows to build predicates testing for certain beat global order index values.
|
static BasicOperand<BeatId> |
ID
Allows to build predicates testing for certain beat id values.
|
static StringOperand |
NAME
Allows to build predicates testing for certain beat name values.
|
static BasicOperand<BeatId> |
PARENT_ID
Allows to build predicates testing for certain beat parent beat id values.
|
static BasicOperand<BeatProviderId> |
PROVIDER_ID
Allows to build predicates testing for certain beat provider id values.
|
static BasicOperand<BeatId> |
ROOT_ID
Allows to build predicates testing for certain beat root beat id values.
|
static BasicOperand<FieldId> |
SOURCE_FIELD_ID
Allows to build predicates testing for certain beat source field id values.
|
static BasicOperand<EntityId> |
SOURCE_ID
Allows to build predicates testing for certain beat source id values.
|
static BasicOperand<TenantId> |
TENANT_ID
Allows to build predicates testing for certain tenant id values.
|
static DateOperand |
UPDATE_TIME
Allows to build predicates testing for certain beat update time values.
|
entityData
Modifier and Type | Method and Description |
---|---|
static Beat.Builder |
builder()
Creates a builder for a new beat instance.
|
static Beat.Builder |
builder(Beat template)
Creates a builder for a new beat instance and applies the given template.
|
static Beat.Builder |
builder(BeatId id)
Creates a builder for a new beat instance and applies the given id.
|
EventType |
getEventSubType()
The event sub type.
|
EventType |
getEventType()
The event type.
|
long |
getGlobalOrderIndex()
The order index across all Beats.
|
BeatId |
getParentId()
The parent id of the beat.
|
BeatId |
getRootId()
The root id of the beat.
|
FieldId |
getSourceFieldId()
The source field id.
|
EntityId |
getSourceId()
The source id.
|
Object |
getSourceNewValue()
The new value of the source.
|
String |
getSourceNewValueString()
The new value of the source represented as a string.
|
UserId |
getSourceOldModificationUpdaterId()
The former modifier of the source.
|
long |
getSourceOldModificationVersion()
The former modification version of the source.
|
Date |
getSourceOldUpdateTime()
The former update time of the source.
|
Object |
getSourceOldValue()
The former value of the source.
|
String |
getSourceOldValueString()
The former value of the source represented as a string.
|
String |
toString() |
getCreationTime, getDescription, getExternalId, getGlobalId, getId, getModificationCreatorId, getModificationUpdaterId, getModificationVersion, getName, getProviderId, getTenantId, getType, getUpdateTime
public static final Type ENTITY_TYPE
public static final BasicOperand<BeatId> ID
public static final BasicOperand<GlobalId> GLOBAL_ID
public static final BasicOperand<BeatId> EXTERNAL_ID
public static final BasicOperand<BeatProviderId> PROVIDER_ID
public static final BasicOperand<TenantId> TENANT_ID
public static final StringOperand NAME
public static final StringOperand DESCRIPTION
public static final DateOperand CREATION_TIME
public static final DateOperand UPDATE_TIME
public static final BasicOperand<Long> GLOBAL_ORDER_INDEX
public static final BasicOperand<EventType> EVENT_TYPE
public static final BasicOperand<EventType> EVENT_SUB_TYPE
public static final BasicOperand<BeatId> ROOT_ID
public static final BasicOperand<BeatId> PARENT_ID
public static final BasicOperand<EntityId> SOURCE_ID
public static final BasicOperand<FieldId> SOURCE_FIELD_ID
public long getGlobalOrderIndex()
public EventType getEventType()
public EventType getEventSubType()
public BeatId getRootId()
public BeatId getParentId()
public EntityId getSourceId()
public FieldId getSourceFieldId()
public Object getSourceOldValue()
public Object getSourceNewValue()
public String getSourceOldValueString()
public String getSourceNewValueString()
public Date getSourceOldUpdateTime()
public long getSourceOldModificationVersion()
public UserId getSourceOldModificationUpdaterId()
public String toString()
toString
in class Entity<BeatId,BeatProviderId>
public static Beat.Builder builder()
public static Beat.Builder builder(BeatId id)
id
- the id of the beatpublic static Beat.Builder builder(Beat template)
template
- the beat templateCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.