Package org.molgenis.data.index.meta
Class IndexActionMetadata
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.data.meta.model.EntityType
-
- org.molgenis.data.meta.SystemEntityType
-
- org.molgenis.data.index.meta.IndexActionMetadata
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable,org.molgenis.util.i18n.Labeled
@Component public class IndexActionMetadata extends SystemEntityType
The index action is used to describe the action that needs to be done to make aRepository's index consistent again.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIndexActionMetadata.IndexStatusIndex action status-
Nested classes/interfaces inherited from class org.molgenis.data.meta.model.EntityType
EntityType.AttributeCopyMode, EntityType.AttributeRole
-
-
Field Summary
Fields Modifier and Type Field Description static StringACTION_ORDERThe order in which the action is registered within its IndexActionJobstatic StringCREATION_DATE_TIMEThe creation time of the index action.static StringENTITY_IDEntity is filled when only one row of the entity "entityFullName" is indexedstatic StringENTITY_TYPE_IDThe name of the entity type ID that needs to be indexedstatic StringIDIs auto generatedstatic StringINDEX_ACTIONstatic StringINDEX_ACTION_GROUP_ATTRThe group that this index action belongs to.static StringINDEX_STATUSEnum: the status of index action.-
Fields inherited from class org.molgenis.data.meta.SystemEntityType
UNIFIED_IDENTIFIER_REGEX, UNIFIED_IDENTIFIER_REGEX_JS
-
-
Constructor Summary
Constructors Constructor Description IndexActionMetadata(IndexPackage indexPackage, IndexActionGroupMetadata indexActionGroupMetaData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()-
Methods inherited from class org.molgenis.data.meta.SystemEntityType
addAttribute, bootstrap, get, getDependencies, getId, getIdValue, getString, isRowLevelSecured, setAttributeFactory, setIdGenerator, setRowLevelSecured
-
Methods inherited from class org.molgenis.data.meta.model.EntityType
addAttribute, addAttributes, addTag, deepCopyAttributes, getAllAttributes, getAtomicAttributes, getAttribute, getAttributeByName, getAttributeNames, getAttributes, getBackend, getDescription, getDescription, getExtends, getIdAttribute, getIndexingDepth, getInversedByAttributes, getLabel, getLabel, getLabelAttribute, getLabelAttribute, getLookupAttribute, getLookupAttributes, getMappedByAttributes, getOwnAllAttributes, getOwnAtomicAttributes, getOwnAttributeById, getOwnAttributes, getOwnIdAttribute, getOwnLabelAttribute, getOwnLabelAttribute, getOwnLookupAttributes, getOwnMappedByAttributes, getPackage, getTags, hasAttributeWithExpression, hasBidirectionalAttributes, hasInversedByAttributes, hasMappedByAttributes, isAbstract, newInstance, newInstance, removeAttribute, removeTag, set, setAbstract, setAttributeRoles, setBackend, setDefaultValues, setDescription, setDescription, setExtends, setId, setIndexingDepth, setLabel, setLabel, setOwnAllAttributes, setPackage, setTags, toString
-
Methods inherited from class org.molgenis.data.support.StaticEntity
getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getInstant, getInt, getLabelValue, getLocalDate, getLong, init, set, setIdValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.Entity
get, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getInstant, getInt, getLocalDate, getLong, getString, set
-
-
-
-
Field Detail
-
INDEX_ACTION
public static final String INDEX_ACTION
- See Also:
- Constant Field Values
-
ID
public static final String ID
Is auto generated- See Also:
- Constant Field Values
-
CREATION_DATE_TIME
public static final String CREATION_DATE_TIME
The creation time of the index action.- See Also:
- Constant Field Values
-
INDEX_ACTION_GROUP_ATTR
public static final String INDEX_ACTION_GROUP_ATTR
The group that this index action belongs to.- See Also:
- Constant Field Values
-
ACTION_ORDER
public static final String ACTION_ORDER
The order in which the action is registered within its IndexActionJob- See Also:
- Constant Field Values
-
ENTITY_TYPE_ID
public static final String ENTITY_TYPE_ID
The name of the entity type ID that needs to be indexed- See Also:
- Constant Field Values
-
ENTITY_ID
public static final String ENTITY_ID
Entity is filled when only one row of the entity "entityFullName" is indexed- See Also:
- Constant Field Values
-
INDEX_STATUS
public static final String INDEX_STATUS
Enum: the status of index action.
-
-
Constructor Detail
-
IndexActionMetadata
public IndexActionMetadata(IndexPackage indexPackage, IndexActionGroupMetadata indexActionGroupMetaData)
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classSystemEntityType
-
-