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 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.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

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

      public static java.util.List<Address> sort​(java.util.List<Address> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)
    • sort

      public static java.util.List<Address> sort​(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)
    • getCount

      public static int getCount()
    • build

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

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

      public java.time.Instant getMetaCreationDate()
      Specified by:
      getMetaCreationDate in interface Address
    • setMetaCreationDate

      public Address setMetaCreationDate​(java.time.Instant value)
      Specified by:
      setMetaCreationDate in interface Address
    • getMetaCreationDateAsEpochSecond

      public int getMetaCreationDateAsEpochSecond()
      Specified by:
      getMetaCreationDateAsEpochSecond in interface Address
    • setMetaCreationDateAsEpochSecond

      public Address setMetaCreationDateAsEpochSecond​(int value)
      Specified by:
      setMetaCreationDateAsEpochSecond in interface Address
    • getMetaCreationDateAsEpochMilli

      public long getMetaCreationDateAsEpochMilli()
      Specified by:
      getMetaCreationDateAsEpochMilli in interface Address
    • setMetaCreationDateAsEpochMilli

      public Address setMetaCreationDateAsEpochMilli​(long value)
      Specified by:
      setMetaCreationDateAsEpochMilli in interface Address
    • getMetaCreatedBy

      public int getMetaCreatedBy()
      Specified by:
      getMetaCreatedBy in interface Address
    • setMetaCreatedBy

      public Address setMetaCreatedBy​(int value)
      Specified by:
      setMetaCreatedBy in interface Address
    • getMetaModificationDate

      public java.time.Instant getMetaModificationDate()
      Specified by:
      getMetaModificationDate in interface Address
    • setMetaModificationDate

      public Address setMetaModificationDate​(java.time.Instant value)
      Specified by:
      setMetaModificationDate in interface Address
    • getMetaModificationDateAsEpochSecond

      public int getMetaModificationDateAsEpochSecond()
      Specified by:
      getMetaModificationDateAsEpochSecond in interface Address
    • setMetaModificationDateAsEpochSecond

      public Address setMetaModificationDateAsEpochSecond​(int value)
      Specified by:
      setMetaModificationDateAsEpochSecond in interface Address
    • getMetaModificationDateAsEpochMilli

      public long getMetaModificationDateAsEpochMilli()
      Specified by:
      getMetaModificationDateAsEpochMilli in interface Address
    • setMetaModificationDateAsEpochMilli

      public Address setMetaModificationDateAsEpochMilli​(long value)
      Specified by:
      setMetaModificationDateAsEpochMilli in interface Address
    • getMetaModifiedBy

      public int getMetaModifiedBy()
      Specified by:
      getMetaModifiedBy in interface Address
    • setMetaModifiedBy

      public Address setMetaModifiedBy​(int value)
      Specified by:
      setMetaModifiedBy in interface Address
    • getMetaDeletionDate

      public java.time.Instant getMetaDeletionDate()
      Specified by:
      getMetaDeletionDate in interface Address
    • setMetaDeletionDate

      public Address setMetaDeletionDate​(java.time.Instant value)
      Specified by:
      setMetaDeletionDate in interface Address
    • getMetaDeletionDateAsEpochSecond

      public int getMetaDeletionDateAsEpochSecond()
      Specified by:
      getMetaDeletionDateAsEpochSecond in interface Address
    • setMetaDeletionDateAsEpochSecond

      public Address setMetaDeletionDateAsEpochSecond​(int value)
      Specified by:
      setMetaDeletionDateAsEpochSecond in interface Address
    • getMetaDeletionDateAsEpochMilli

      public long getMetaDeletionDateAsEpochMilli()
      Specified by:
      getMetaDeletionDateAsEpochMilli in interface Address
    • setMetaDeletionDateAsEpochMilli

      public Address setMetaDeletionDateAsEpochMilli​(long value)
      Specified by:
      setMetaDeletionDateAsEpochMilli in interface Address
    • getMetaDeletedBy

      public int getMetaDeletedBy()
      Specified by:
      getMetaDeletedBy in interface Address
    • setMetaDeletedBy

      public Address setMetaDeletedBy​(int value)
      Specified by:
      setMetaDeletedBy in interface Address
    • getName

      public java.lang.String getName()
      Specified by:
      getName in interface Address
    • setName

      public Address setName​(java.lang.String value)
      Specified by:
      setName in interface Address
    • getOrganisation

      public java.lang.String getOrganisation()
      Specified by:
      getOrganisation in interface Address
    • setOrganisation

      public Address setOrganisation​(java.lang.String value)
      Specified by:
      setOrganisation in interface Address
    • getStreet

      public java.lang.String getStreet()
      Specified by:
      getStreet in interface Address
    • setStreet

      public Address setStreet​(java.lang.String value)
      Specified by:
      setStreet in interface Address
    • getCity

      public java.lang.String getCity()
      Specified by:
      getCity in interface Address
    • setCity

      public Address setCity​(java.lang.String value)
      Specified by:
      setCity in interface Address
    • getDependentLocality

      public java.lang.String getDependentLocality()
      Specified by:
      getDependentLocality in interface Address
    • setDependentLocality

      public Address setDependentLocality​(java.lang.String value)
      Specified by:
      setDependentLocality in interface Address
    • getState

      public java.lang.String getState()
      Specified by:
      getState in interface Address
    • setState

      public Address setState​(java.lang.String value)
      Specified by:
      setState in interface Address
    • getPostalCode

      public java.lang.String getPostalCode()
      Specified by:
      getPostalCode in interface Address
    • setPostalCode

      public Address setPostalCode​(java.lang.String value)
      Specified by:
      setPostalCode in interface Address
    • getCountry

      public java.lang.String getCountry()
      Specified by:
      getCountry in interface Address
    • setCountry

      public Address setCountry​(java.lang.String value)
      Specified by:
      setCountry in interface Address
    • getLatitude

      public float getLatitude()
      Specified by:
      getLatitude in interface Address
    • setLatitude

      public Address setLatitude​(float value)
      Specified by:
      setLatitude in interface Address
    • getLongitude

      public float getLongitude()
      Specified by:
      getLongitude in interface Address
    • setLongitude

      public Address setLongitude​(float value)
      Specified by:
      setLongitude in interface Address
    • save

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

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

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

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

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object