Class UdbOrganizationUnit
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnit>
org.teamapps.mock.model.controlcenter.UdbOrganizationUnit
- All Implemented Interfaces:
OrganizationUnit,org.teamapps.universaldb.pojo.Entity<OrganizationUnit>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<OrganizationUnit>
public class UdbOrganizationUnit extends org.teamapps.universaldb.pojo.AbstractUdbEntity<OrganizationUnit> implements OrganizationUnit
-
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.mock.model.controlcenter.OrganizationUnit
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 UdbOrganizationUnit()UdbOrganizationUnit(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, isDeleted, 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, sort, toStringMethods 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, isDeleted, 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
-
UdbOrganizationUnit
public UdbOrganizationUnit() -
UdbOrganizationUnit
public UdbOrganizationUnit(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<OrganizationUnit> sort(java.util.List<OrganizationUnit> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<OrganizationUnit> 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<OrganizationUnit>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<OrganizationUnit>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceOrganizationUnit
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceOrganizationUnit
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceOrganizationUnit
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceOrganizationUnit
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceOrganizationUnit
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceOrganizationUnit
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceOrganizationUnit
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceOrganizationUnit
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceOrganizationUnit
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceOrganizationUnit
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceOrganizationUnit
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceOrganizationUnit
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceOrganizationUnit
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceOrganizationUnit
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceOrganizationUnit
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceOrganizationUnit
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceOrganizationUnit
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceOrganizationUnit
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceOrganizationUnit
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceOrganizationUnit
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceOrganizationUnit
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceOrganizationUnit
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceOrganizationUnit
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceOrganizationUnit
-
getName
public org.teamapps.universaldb.index.translation.TranslatableText getName()- Specified by:
getNamein interfaceOrganizationUnit
-
setName
- Specified by:
setNamein interfaceOrganizationUnit
-
getParent
- Specified by:
getParentin interfaceOrganizationUnit
-
setParent
- Specified by:
setParentin interfaceOrganizationUnit
-
getChildren
- Specified by:
getChildrenin interfaceOrganizationUnit
-
setChildren
- Specified by:
setChildrenin interfaceOrganizationUnit
-
getChildrenCount
public int getChildrenCount()- Specified by:
getChildrenCountin interfaceOrganizationUnit
-
setChildren
- Specified by:
setChildrenin interfaceOrganizationUnit
-
getChildrenAsBitSet
public java.util.BitSet getChildrenAsBitSet()- Specified by:
getChildrenAsBitSetin interfaceOrganizationUnit
-
addChildren
- Specified by:
addChildrenin interfaceOrganizationUnit
-
addChildren
- Specified by:
addChildrenin interfaceOrganizationUnit
-
removeChildren
- Specified by:
removeChildrenin interfaceOrganizationUnit
-
removeChildren
- Specified by:
removeChildrenin interfaceOrganizationUnit
-
removeAllChildren
- Specified by:
removeAllChildrenin interfaceOrganizationUnit
-
getType
- Specified by:
getTypein interfaceOrganizationUnit
-
setType
- Specified by:
setTypein interfaceOrganizationUnit
-
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceOrganizationUnit
-
setIcon
- Specified by:
setIconin interfaceOrganizationUnit
-
getAddress
- Specified by:
getAddressin interfaceOrganizationUnit
-
setAddress
- Specified by:
setAddressin interfaceOrganizationUnit
-
save
public UdbOrganizationUnit save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnit>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnit>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnit>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnit>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<OrganizationUnit>
-