Class UdbAddress
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<Address>
org.teamapps.mock.model.controlcenter.UdbAddress
- All Implemented Interfaces:
Address,org.teamapps.universaldb.pojo.Entity<Address>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<Address>
public class UdbAddress extends org.teamapps.universaldb.pojo.AbstractUdbEntity<Address> implements Address
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.text.TextIndexcityprotected static org.teamapps.universaldb.index.text.TextIndexcountryprotected static org.teamapps.universaldb.index.text.TextIndexdependentLocalityprotected static org.teamapps.universaldb.index.numeric.FloatIndexlatitudeprotected static org.teamapps.universaldb.index.numeric.FloatIndexlongitudeprotected 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.numeric.IntegerIndexmetaRestoreDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoredByprotected static org.teamapps.universaldb.index.text.TextIndexnameprotected static org.teamapps.universaldb.index.text.TextIndexorganisationprotected static org.teamapps.universaldb.index.text.TextIndexpostalCodeprotected static org.teamapps.universaldb.index.text.TextIndexstateprotected static org.teamapps.universaldb.index.text.TextIndexstreetprotected static org.teamapps.universaldb.index.TableIndextableFields inherited from interface org.teamapps.mock.model.controlcenter.Address
FIELD_CITY, FIELD_COUNTRY, FIELD_DEPENDENT_LOCALITY, FIELD_LATITUDE, FIELD_LONGITUDE, 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_META_RESTORE_DATE, FIELD_META_RESTORED_BY, FIELD_NAME, FIELD_ORGANISATION, FIELD_POSTAL_CODE, FIELD_STATE, FIELD_STREET -
Constructor Summary
Constructors Constructor Description UdbAddress()UdbAddress(int id, boolean createEntity) -
Method Summary
Modifier and Type Method Description Addressbuild()Addressbuild(int id)voiddelete()static java.util.List<Address>getAll()java.lang.StringgetCity()static intgetCount()java.lang.StringgetCountry()static java.util.List<Address>getDeletedRecords()java.lang.StringgetDependentLocality()floatgetLatitude()floatgetLongitude()intgetMetaCreatedBy()java.time.InstantgetMetaCreationDate()longgetMetaCreationDateAsEpochMilli()intgetMetaCreationDateAsEpochSecond()intgetMetaDeletedBy()java.time.InstantgetMetaDeletionDate()longgetMetaDeletionDateAsEpochMilli()intgetMetaDeletionDateAsEpochSecond()java.time.InstantgetMetaModificationDate()longgetMetaModificationDateAsEpochMilli()intgetMetaModificationDateAsEpochSecond()intgetMetaModifiedBy()java.time.InstantgetMetaRestoreDate()longgetMetaRestoreDateAsEpochMilli()intgetMetaRestoreDateAsEpochSecond()intgetMetaRestoredBy()java.lang.StringgetName()java.lang.StringgetOrganisation()java.lang.StringgetPostalCode()java.lang.StringgetState()java.lang.StringgetStreet()voidrestoreDeleted()UdbAddresssave()AddresssetCity(java.lang.String value)AddresssetCountry(java.lang.String value)AddresssetDependentLocality(java.lang.String value)AddresssetLatitude(float value)AddresssetLongitude(float value)AddresssetMetaCreatedBy(int value)AddresssetMetaCreationDate(java.time.Instant value)AddresssetMetaCreationDateAsEpochMilli(long value)AddresssetMetaCreationDateAsEpochSecond(int value)AddresssetMetaDeletedBy(int value)AddresssetMetaDeletionDate(java.time.Instant value)AddresssetMetaDeletionDateAsEpochMilli(long value)AddresssetMetaDeletionDateAsEpochSecond(int value)AddresssetMetaModificationDate(java.time.Instant value)AddresssetMetaModificationDateAsEpochMilli(long value)AddresssetMetaModificationDateAsEpochSecond(int value)AddresssetMetaModifiedBy(int value)AddresssetMetaRestoreDate(java.time.Instant value)AddresssetMetaRestoreDateAsEpochMilli(long value)AddresssetMetaRestoreDateAsEpochSecond(int value)AddresssetMetaRestoredBy(int value)AddresssetName(java.lang.String value)AddresssetOrganisation(java.lang.String value)AddresssetPostalCode(java.lang.String value)AddresssetState(java.lang.String value)AddresssetStreet(java.lang.String value)static java.util.List<Address>sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path)static java.util.List<Address>sort(java.util.List<Address> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path)Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, clearFieldChanges, createdBy, createEntityList, createEntityList, createEntityList, deleteRecord, equals, getBooleanValue, getChangedValue, getChangeValue, getCorrelationId, getDateAsEpochMilli, getDateTimeAsEpochMilli, getDateTimeValue, getDateValue, getDoubleValue, getEntityValue, getEnumValue, getFloatValue, getId, getIntValue, getLocalDateValue, getLongValue, getMultiReferenceValue, getMultiReferenceValueAsBitSet, getMultiReferenceValueCount, getQualifiedName, getRecordUpdates, getReferenceChangeValue, getShortValue, getTableId, getTableIndex, getTextValue, getTimestampAsEpochMilli, getTimestampAsEpochSecond, getTimestampValue, getTimeValue, getTranslatableTextValue, hashCode, isChanged, isChanged, isDeleted, isModified, isRestorable, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, restoreDeletedRecord, saveRecord, saveRecord, setBooleanValue, setChangeValue, setDatabase, setDateAsEpochMilli, setDateTimeAsEpochMilli, setDateTimeValue, setDateValue, setDoubleValue, setEntityValue, setEnumValue, setFloatValue, setIntValue, setLocalDateAsEpochMilli, setLocalDateValue, setLongValue, setMultiReferenceValue, setShortValue, setSingleReferenceValue, setTextValue, setTimestampAsEpochMilli, setTimestampAsEpochSecond, setTimestampValue, setTimeValue, setTranslatableTextValue, 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, clearFieldChanges, getEntityValue, getId, getRecordUpdates, isChanged, isDeleted, isModified, isRestorable, isStored, 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 -
metaRestoreDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoreDate -
metaRestoredBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoredBy -
name
protected static org.teamapps.universaldb.index.text.TextIndex name -
organisation
protected static org.teamapps.universaldb.index.text.TextIndex organisation -
street
protected static org.teamapps.universaldb.index.text.TextIndex street -
city
protected static org.teamapps.universaldb.index.text.TextIndex city -
dependentLocality
protected static org.teamapps.universaldb.index.text.TextIndex dependentLocality -
state
protected static org.teamapps.universaldb.index.text.TextIndex state -
postalCode
protected static org.teamapps.universaldb.index.text.TextIndex postalCode -
country
protected static org.teamapps.universaldb.index.text.TextIndex country -
latitude
protected static org.teamapps.universaldb.index.numeric.FloatIndex latitude -
longitude
protected static org.teamapps.universaldb.index.numeric.FloatIndex longitude
-
-
Constructor Details
-
UdbAddress
public UdbAddress() -
UdbAddress
public UdbAddress(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
getDeletedRecords
-
sort
-
sort
public static java.util.List<Address> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Address>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Address>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceAddress
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceAddress
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceAddress
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceAddress
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceAddress
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceAddress
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceAddress
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceAddress
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceAddress
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceAddress
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceAddress
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceAddress
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceAddress
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceAddress
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceAddress
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceAddress
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceAddress
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceAddress
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceAddress
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceAddress
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceAddress
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceAddress
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceAddress
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceAddress
-
getMetaRestoreDate
public java.time.Instant getMetaRestoreDate()- Specified by:
getMetaRestoreDatein interfaceAddress
-
setMetaRestoreDate
- Specified by:
setMetaRestoreDatein interfaceAddress
-
getMetaRestoreDateAsEpochSecond
public int getMetaRestoreDateAsEpochSecond()- Specified by:
getMetaRestoreDateAsEpochSecondin interfaceAddress
-
setMetaRestoreDateAsEpochSecond
- Specified by:
setMetaRestoreDateAsEpochSecondin interfaceAddress
-
getMetaRestoreDateAsEpochMilli
public long getMetaRestoreDateAsEpochMilli()- Specified by:
getMetaRestoreDateAsEpochMilliin interfaceAddress
-
setMetaRestoreDateAsEpochMilli
- Specified by:
setMetaRestoreDateAsEpochMilliin interfaceAddress
-
getMetaRestoredBy
public int getMetaRestoredBy()- Specified by:
getMetaRestoredByin interfaceAddress
-
setMetaRestoredBy
- Specified by:
setMetaRestoredByin interfaceAddress
-
getName
public java.lang.String getName() -
setName
-
getOrganisation
public java.lang.String getOrganisation()- Specified by:
getOrganisationin interfaceAddress
-
setOrganisation
- Specified by:
setOrganisationin interfaceAddress
-
getStreet
public java.lang.String getStreet() -
setStreet
-
getCity
public java.lang.String getCity() -
setCity
-
getDependentLocality
public java.lang.String getDependentLocality()- Specified by:
getDependentLocalityin interfaceAddress
-
setDependentLocality
- Specified by:
setDependentLocalityin interfaceAddress
-
getState
public java.lang.String getState() -
setState
-
getPostalCode
public java.lang.String getPostalCode()- Specified by:
getPostalCodein interfaceAddress
-
setPostalCode
- Specified by:
setPostalCodein interfaceAddress
-
getCountry
public java.lang.String getCountry()- Specified by:
getCountryin interfaceAddress
-
setCountry
- Specified by:
setCountryin interfaceAddress
-
getLatitude
public float getLatitude()- Specified by:
getLatitudein interfaceAddress
-
setLatitude
- Specified by:
setLatitudein interfaceAddress
-
getLongitude
public float getLongitude()- Specified by:
getLongitudein interfaceAddress
-
setLongitude
- Specified by:
setLongitudein interfaceAddress
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Address>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Address>
-
restoreDeleted
public void restoreDeleted()- Specified by:
restoreDeletedin interfaceorg.teamapps.universaldb.pojo.Entity<Address>
-