Package org.teamapps.model.controlcenter
Class UdbOrganizationUnitMock
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitMock>
org.teamapps.model.controlcenter.UdbOrganizationUnitMock
- All Implemented Interfaces:
OrganizationUnitMock,org.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<OrganizationUnitMock>
public class UdbOrganizationUnitMock extends org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnitMock> implements OrganizationUnitMock
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexaddressprotected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndexchildrenprotected static org.teamapps.universaldb.index.text.TextIndexiconprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreatedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletionDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaModificationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaModifiedByprotected static org.teamapps.universaldb.index.translation.TranslatableTextIndexnameprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexparentprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndextypeFields inherited from interface org.teamapps.model.controlcenter.OrganizationUnitMock
FIELD_ADDRESS, FIELD_CHILDREN, FIELD_ICON, FIELD_META_CREATED_BY, FIELD_META_CREATION_DATE, FIELD_META_DELETED_BY, FIELD_META_DELETION_DATE, FIELD_META_MODIFICATION_DATE, FIELD_META_MODIFIED_BY, FIELD_NAME, FIELD_PARENT, FIELD_TYPE -
Constructor Summary
Constructors Constructor Description UdbOrganizationUnitMock()UdbOrganizationUnitMock(int id, boolean createEntity) -
Method Summary
Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, createEntityList, createEntityList, createEntityList, delete, delete, equals, getBooleanValue, getChangedValue, getChangeValue, getCorrelationId, getDateAsEpochMilli, getDateTimeAsEpochMilli, getDateTimeValue, getDateValue, getDoubleValue, getEntityId, getEntityValue, getEnumValue, getFloatValue, getId, getIntValue, getLocalDateValue, getLongValue, getMultiReferenceValue, getMultiReferenceValueAsBitSet, getMultiReferenceValueCount, getQualifiedName, getReferenceChangeValue, getShortValue, getTableIndex, getTextValue, getTimestampAsEpochMilli, getTimestampAsEpochSecond, getTimestampValue, getTimeValue, getTransaction, getTranslatableTextValue, hashCode, isChanged, isModified, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, save, save, save, saveAsynchronously, setBooleanValue, setChangeValue, setDateAsEpochMilli, setDateTimeAsEpochMilli, setDateTimeValue, setDateValue, setDoubleValue, setEntityValue, setEnumValue, setFloatValue, setIntValue, setLocalDateAsEpochMilli, setLocalDateValue, setLongValue, setMultiReferenceValue, setShortValue, setSingleReferenceValue, setTextValue, setTimestampAsEpochMilli, setTimestampAsEpochSecond, setTimestampValue, setTimeValue, setTranslatableTextValue, sort, sort, sort, sortMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.universaldb.pojo.Entity
clearChanges, getEntityValue, getId, isModified, isStored, save, saveTransactional, setEntityValueMethods inherited from interface org.teamapps.universaldb.pojo.Identifiable
getQualifiedName
-
Field Details
-
table
protected static org.teamapps.universaldb.index.TableIndex table -
metaCreationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreationDate -
metaCreatedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreatedBy -
metaModificationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModificationDate -
metaModifiedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModifiedBy -
metaDeletionDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletionDate -
metaDeletedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletedBy -
name
protected static org.teamapps.universaldb.index.translation.TranslatableTextIndex name -
parent
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex parent -
children
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex children -
type
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex type -
icon
protected static org.teamapps.universaldb.index.text.TextIndex icon -
address
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex address
-
-
Constructor Details
-
UdbOrganizationUnitMock
public UdbOrganizationUnitMock() -
UdbOrganizationUnitMock
public UdbOrganizationUnitMock(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<OrganizationUnitMock> sort(java.util.List<OrganizationUnitMock> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<OrganizationUnitMock> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<OrganizationUnitMock>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<OrganizationUnitMock>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceOrganizationUnitMock
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceOrganizationUnitMock
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceOrganizationUnitMock
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceOrganizationUnitMock
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceOrganizationUnitMock
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceOrganizationUnitMock
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceOrganizationUnitMock
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceOrganizationUnitMock
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceOrganizationUnitMock
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceOrganizationUnitMock
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceOrganizationUnitMock
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceOrganizationUnitMock
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceOrganizationUnitMock
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceOrganizationUnitMock
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceOrganizationUnitMock
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceOrganizationUnitMock
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceOrganizationUnitMock
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceOrganizationUnitMock
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceOrganizationUnitMock
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceOrganizationUnitMock
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceOrganizationUnitMock
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceOrganizationUnitMock
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceOrganizationUnitMock
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceOrganizationUnitMock
-
getName
public org.teamapps.universaldb.index.translation.TranslatableText getName()- Specified by:
getNamein interfaceOrganizationUnitMock
-
setName
public OrganizationUnitMock setName(org.teamapps.universaldb.index.translation.TranslatableText value)- Specified by:
setNamein interfaceOrganizationUnitMock
-
getParent
- Specified by:
getParentin interfaceOrganizationUnitMock
-
setParent
- Specified by:
setParentin interfaceOrganizationUnitMock
-
getChildren
- Specified by:
getChildrenin interfaceOrganizationUnitMock
-
setChildren
- Specified by:
setChildrenin interfaceOrganizationUnitMock
-
getChildrenCount
public int getChildrenCount()- Specified by:
getChildrenCountin interfaceOrganizationUnitMock
-
setChildren
- Specified by:
setChildrenin interfaceOrganizationUnitMock
-
getChildrenAsBitSet
public java.util.BitSet getChildrenAsBitSet()- Specified by:
getChildrenAsBitSetin interfaceOrganizationUnitMock
-
addChildren
- Specified by:
addChildrenin interfaceOrganizationUnitMock
-
addChildren
- Specified by:
addChildrenin interfaceOrganizationUnitMock
-
removeChildren
- Specified by:
removeChildrenin interfaceOrganizationUnitMock
-
removeChildren
- Specified by:
removeChildrenin interfaceOrganizationUnitMock
-
removeAllChildren
- Specified by:
removeAllChildrenin interfaceOrganizationUnitMock
-
getType
- Specified by:
getTypein interfaceOrganizationUnitMock
-
setType
- Specified by:
setTypein interfaceOrganizationUnitMock
-
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceOrganizationUnitMock
-
setIcon
- Specified by:
setIconin interfaceOrganizationUnitMock
-
getAddress
- Specified by:
getAddressin interfaceOrganizationUnitMock
-
setAddress
- Specified by:
setAddressin interfaceOrganizationUnitMock
-
save
public UdbOrganizationUnitMock save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnitMock>
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-