Package org.teamapps.model.controlcenter
Class UdbCountry
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<Country>
org.teamapps.model.controlcenter.UdbCountry
- All Implemented Interfaces:
Country,org.teamapps.universaldb.pojo.Entity<Country>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<Country>
public class UdbCountry extends org.teamapps.universaldb.pojo.AbstractUdbEntity<Country> implements Country
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.text.TextIndexaddressFormatprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexcurrencyprotected static org.teamapps.universaldb.index.text.TextIndexenglishDisplayNameprotected static org.teamapps.universaldb.index.text.TextIndexiconprotected static org.teamapps.universaldb.index.text.TextIndexisoCodeprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexlocalizationKeyprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexmainLanguageprotected 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.reference.multi.MultiReferenceIndexotherCurrenciesprotected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndexotherLanguagesprotected static org.teamapps.universaldb.index.TableIndextableFields inherited from interface org.teamapps.model.controlcenter.Country
FIELD_ADDRESS_FORMAT, FIELD_CURRENCY, FIELD_ENGLISH_DISPLAY_NAME, FIELD_ICON, FIELD_ISO_CODE, FIELD_LOCALIZATION_KEY, FIELD_MAIN_LANGUAGE, 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_OTHER_CURRENCIES, FIELD_OTHER_LANGUAGES -
Constructor Summary
Constructors Constructor Description UdbCountry()UdbCountry(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 -
isoCode
protected static org.teamapps.universaldb.index.text.TextIndex isoCode -
icon
protected static org.teamapps.universaldb.index.text.TextIndex icon -
englishDisplayName
protected static org.teamapps.universaldb.index.text.TextIndex englishDisplayName -
localizationKey
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex localizationKey -
addressFormat
protected static org.teamapps.universaldb.index.text.TextIndex addressFormat -
mainLanguage
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex mainLanguage -
otherLanguages
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex otherLanguages -
currency
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex currency -
otherCurrencies
protected static org.teamapps.universaldb.index.reference.multi.MultiReferenceIndex otherCurrencies
-
-
Constructor Details
-
UdbCountry
public UdbCountry() -
UdbCountry
public UdbCountry(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
-
sort
public static java.util.List<Country> 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<Country>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Country>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceCountry
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceCountry
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceCountry
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceCountry
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceCountry
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceCountry
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceCountry
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceCountry
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceCountry
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceCountry
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceCountry
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceCountry
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceCountry
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceCountry
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceCountry
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceCountry
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceCountry
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceCountry
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceCountry
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceCountry
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceCountry
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceCountry
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceCountry
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceCountry
-
getIsoCode
public java.lang.String getIsoCode()- Specified by:
getIsoCodein interfaceCountry
-
setIsoCode
- Specified by:
setIsoCodein interfaceCountry
-
getIcon
public java.lang.String getIcon() -
setIcon
-
getEnglishDisplayName
public java.lang.String getEnglishDisplayName()- Specified by:
getEnglishDisplayNamein interfaceCountry
-
setEnglishDisplayName
- Specified by:
setEnglishDisplayNamein interfaceCountry
-
getLocalizationKey
- Specified by:
getLocalizationKeyin interfaceCountry
-
setLocalizationKey
- Specified by:
setLocalizationKeyin interfaceCountry
-
getAddressFormat
public java.lang.String getAddressFormat()- Specified by:
getAddressFormatin interfaceCountry
-
setAddressFormat
- Specified by:
setAddressFormatin interfaceCountry
-
getMainLanguage
- Specified by:
getMainLanguagein interfaceCountry
-
setMainLanguage
- Specified by:
setMainLanguagein interfaceCountry
-
getOtherLanguages
- Specified by:
getOtherLanguagesin interfaceCountry
-
setOtherLanguages
- Specified by:
setOtherLanguagesin interfaceCountry
-
getOtherLanguagesCount
public int getOtherLanguagesCount()- Specified by:
getOtherLanguagesCountin interfaceCountry
-
setOtherLanguages
- Specified by:
setOtherLanguagesin interfaceCountry
-
getOtherLanguagesAsBitSet
public java.util.BitSet getOtherLanguagesAsBitSet()- Specified by:
getOtherLanguagesAsBitSetin interfaceCountry
-
addOtherLanguages
- Specified by:
addOtherLanguagesin interfaceCountry
-
addOtherLanguages
- Specified by:
addOtherLanguagesin interfaceCountry
-
removeOtherLanguages
- Specified by:
removeOtherLanguagesin interfaceCountry
-
removeOtherLanguages
- Specified by:
removeOtherLanguagesin interfaceCountry
-
removeAllOtherLanguages
- Specified by:
removeAllOtherLanguagesin interfaceCountry
-
getCurrency
- Specified by:
getCurrencyin interfaceCountry
-
setCurrency
- Specified by:
setCurrencyin interfaceCountry
-
getOtherCurrencies
- Specified by:
getOtherCurrenciesin interfaceCountry
-
setOtherCurrencies
- Specified by:
setOtherCurrenciesin interfaceCountry
-
getOtherCurrenciesCount
public int getOtherCurrenciesCount()- Specified by:
getOtherCurrenciesCountin interfaceCountry
-
setOtherCurrencies
- Specified by:
setOtherCurrenciesin interfaceCountry
-
getOtherCurrenciesAsBitSet
public java.util.BitSet getOtherCurrenciesAsBitSet()- Specified by:
getOtherCurrenciesAsBitSetin interfaceCountry
-
addOtherCurrencies
- Specified by:
addOtherCurrenciesin interfaceCountry
-
addOtherCurrencies
- Specified by:
addOtherCurrenciesin interfaceCountry
-
removeOtherCurrencies
- Specified by:
removeOtherCurrenciesin interfaceCountry
-
removeOtherCurrencies
- Specified by:
removeOtherCurrenciesin interfaceCountry
-
removeAllOtherCurrencies
- Specified by:
removeAllOtherCurrenciesin interfaceCountry
-
save
public UdbCountry save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Country>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<Country>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Country>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Country>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Country>
-