Package org.teamapps.model.controlcenter
Class UdbAddressView
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<AddressView>
org.teamapps.model.controlcenter.UdbAddressView
- All Implemented Interfaces:
AddressView,org.teamapps.universaldb.pojo.Entity<AddressView>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<AddressView>
public class UdbAddressView extends org.teamapps.universaldb.pojo.AbstractUdbEntity<AddressView> implements AddressView
-
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.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.model.controlcenter.AddressView
FIELD_CITY, FIELD_COUNTRY, FIELD_DEPENDENT_LOCALITY, FIELD_LATITUDE, FIELD_LONGITUDE, FIELD_NAME, FIELD_ORGANISATION, FIELD_POSTAL_CODE, FIELD_STATE, FIELD_STREET -
Constructor Summary
Constructors Constructor Description UdbAddressView()UdbAddressView(int id, boolean createEntity) -
Method Summary
Modifier and Type Method Description AddressViewbuild()AddressViewbuild(int id)voiddelete()voiddelete(org.teamapps.universaldb.transaction.Transaction transaction)static java.util.List<AddressView>getAll()java.lang.StringgetCity()static intgetCount()java.lang.StringgetCountry()java.lang.StringgetDependentLocality()floatgetLatitude()floatgetLongitude()java.lang.StringgetName()java.lang.StringgetOrganisation()java.lang.StringgetPostalCode()java.lang.StringgetState()java.lang.StringgetStreet()UdbAddressViewsave()UdbAddressViewsave(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)UdbAddressViewsaveTransactional(boolean strictChangeVerification)static java.util.List<AddressView>sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)static java.util.List<AddressView>sort(java.util.List<AddressView> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)java.lang.StringtoString()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 -
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
-
UdbAddressView
public UdbAddressView() -
UdbAddressView
public UdbAddressView(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
public static java.util.List<AddressView> sort(java.util.List<AddressView> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
sort
public static java.util.List<AddressView> 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<AddressView>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<AddressView>
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceAddressView
-
getOrganisation
public java.lang.String getOrganisation()- Specified by:
getOrganisationin interfaceAddressView
-
getStreet
public java.lang.String getStreet()- Specified by:
getStreetin interfaceAddressView
-
getCity
public java.lang.String getCity()- Specified by:
getCityin interfaceAddressView
-
getDependentLocality
public java.lang.String getDependentLocality()- Specified by:
getDependentLocalityin interfaceAddressView
-
getState
public java.lang.String getState()- Specified by:
getStatein interfaceAddressView
-
getPostalCode
public java.lang.String getPostalCode()- Specified by:
getPostalCodein interfaceAddressView
-
getCountry
public java.lang.String getCountry()- Specified by:
getCountryin interfaceAddressView
-
getLatitude
public float getLatitude()- Specified by:
getLatitudein interfaceAddressView
-
getLongitude
public float getLongitude()- Specified by:
getLongitudein interfaceAddressView
-
save
public UdbAddressView save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<AddressView>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<AddressView>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<AddressView>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<AddressView>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<AddressView>
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-