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.TextIndex city  
    protected static org.teamapps.universaldb.index.text.TextIndex country  
    protected static org.teamapps.universaldb.index.text.TextIndex dependentLocality  
    protected static org.teamapps.universaldb.index.numeric.FloatIndex latitude  
    protected static org.teamapps.universaldb.index.numeric.FloatIndex longitude  
    protected static org.teamapps.universaldb.index.text.TextIndex name  
    protected static org.teamapps.universaldb.index.text.TextIndex organisation  
    protected static org.teamapps.universaldb.index.text.TextIndex postalCode  
    protected static org.teamapps.universaldb.index.text.TextIndex state  
    protected static org.teamapps.universaldb.index.text.TextIndex street  
    protected static org.teamapps.universaldb.index.TableIndex table  
  • Constructor Summary

    Constructors
    Constructor Description
    UdbAddressView()  
    UdbAddressView​(int id, boolean createEntity)  
  • Method Summary

    Modifier and Type Method Description
    AddressView build()  
    AddressView build​(int id)  
    void delete()  
    void delete​(org.teamapps.universaldb.transaction.Transaction transaction)  
    static java.util.List<AddressView> getAll()  
    java.lang.String getCity()  
    static int getCount()  
    java.lang.String getCountry()  
    java.lang.String getDependentLocality()  
    float getLatitude()  
    float getLongitude()  
    java.lang.String getName()  
    java.lang.String getOrganisation()  
    java.lang.String getPostalCode()  
    java.lang.String getState()  
    java.lang.String getStreet()  
    void restoreDeleted()  
    UdbAddressView save()  
    UdbAddressView save​(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)  
    UdbAddressView saveTransactional​(boolean strictChangeVerification)  
    static java.util.List<AddressView> 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<AddressView> sort​(java.util.List<AddressView> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path)  
    java.lang.String toString()  

    Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity

    addMultiReferenceValue, clearChanges, createEntityList, createEntityList, createEntityList, deleteRecord, deleteRecord, 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, isRestorable, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, restoreDeletedRecord, saveAsynchronously, saveRecord, saveRecord, saveRecord, 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.teamapps.universaldb.pojo.Entity

    clearChanges, getEntityValue, getId, isDeleted, isModified, isRestorable, isStored, save, saveTransactional, setEntityValue

    Methods 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

      public static java.util.List<AddressView> getAll()
    • sort

      public static java.util.List<AddressView> sort​(java.util.List<AddressView> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path)
    • sort

      public static java.util.List<AddressView> 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

      public AddressView build()
      Specified by:
      build in interface org.teamapps.universaldb.record.EntityBuilder<AddressView>
    • build

      public AddressView build​(int id)
      Specified by:
      build in interface org.teamapps.universaldb.record.EntityBuilder<AddressView>
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface AddressView
    • getOrganisation

      public java.lang.String getOrganisation()
      Specified by:
      getOrganisation in interface AddressView
    • getStreet

      public java.lang.String getStreet()
      Specified by:
      getStreet in interface AddressView
    • getCity

      public java.lang.String getCity()
      Specified by:
      getCity in interface AddressView
    • getDependentLocality

      public java.lang.String getDependentLocality()
      Specified by:
      getDependentLocality in interface AddressView
    • getState

      public java.lang.String getState()
      Specified by:
      getState in interface AddressView
    • getPostalCode

      public java.lang.String getPostalCode()
      Specified by:
      getPostalCode in interface AddressView
    • getCountry

      public java.lang.String getCountry()
      Specified by:
      getCountry in interface AddressView
    • getLatitude

      public float getLatitude()
      Specified by:
      getLatitude in interface AddressView
    • getLongitude

      public float getLongitude()
      Specified by:
      getLongitude in interface AddressView
    • save

      public UdbAddressView save​(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)
      Specified by:
      save in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • saveTransactional

      public UdbAddressView saveTransactional​(boolean strictChangeVerification)
      Specified by:
      saveTransactional in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • save

      public UdbAddressView save()
      Specified by:
      save in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • delete

      public void delete​(org.teamapps.universaldb.transaction.Transaction transaction)
      Specified by:
      delete in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • delete

      public void delete()
      Specified by:
      delete in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • restoreDeleted

      public void restoreDeleted()
      Specified by:
      restoreDeleted in interface org.teamapps.universaldb.pojo.Entity<AddressView>
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class org.teamapps.universaldb.pojo.AbstractUdbEntity<AddressView>