public class CompanyCode extends VdmEntity<CompanyCode>
Original entity name from the Odata EDM: A_CompanyCodeType
Modifier and Type | Class and Description |
---|---|
static class |
CompanyCode.CompanyCodeBuilder |
Modifier and Type | Field and Description |
---|---|
static CompanyCodeField<String> |
ADDRESS_ID
Use with available fluent helpers to apply the AddressID field to query operations.
|
static CompanyCodeSelectable |
ALL_FIELDS
Selector for all available fields of CompanyCode.
|
static CompanyCodeField<String> |
CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the ChartOfAccounts field to query operations.
|
static CompanyCodeField<String> |
CITY_NAME
Use with available fluent helpers to apply the CityName field to query operations.
|
static CompanyCodeField<String> |
COMPANY
Use with available fluent helpers to apply the Company field to query operations.
|
static CompanyCodeField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CompanyCodeField<String> |
COMPANY_CODE_NAME
Use with available fluent helpers to apply the CompanyCodeName field to query operations.
|
static CompanyCodeField<String> |
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations.
|
static CompanyCodeField<String> |
COUNTRY
Use with available fluent helpers to apply the Country field to query operations.
|
static CompanyCodeField<String> |
COUNTRY_CHART_OF_ACCOUNTS
Use with available fluent helpers to apply the CountryChartOfAccounts field to query operations.
|
static CompanyCodeField<String> |
CREDIT_CONTROL_AREA
Use with available fluent helpers to apply the CreditControlArea field to query operations.
|
static CompanyCodeField<String> |
CURRENCY
Use with available fluent helpers to apply the Currency field to query operations.
|
static CompanyCodeField<Boolean> |
DOC_DATE_IS_USED_FOR_TAX_DETN
Use with available fluent helpers to apply the DocDateIsUsedForTaxDetn field to query operations.
|
static CompanyCodeField<Boolean> |
EXTENDED_WHLDG_TAX_IS_ACTIVE
Use with available fluent helpers to apply the ExtendedWhldgTaxIsActive field to query operations.
|
static CompanyCodeField<String> |
FIELD_STATUS_VARIANT
Use with available fluent helpers to apply the FieldStatusVariant field to query operations.
|
static CompanyCodeField<String> |
FINANCIAL_MANAGEMENT_AREA
Use with available fluent helpers to apply the FinancialManagementArea field to query operations.
|
static CompanyCodeField<String> |
FISCAL_YEAR_VARIANT
Use with available fluent helpers to apply the FiscalYearVariant field to query operations.
|
static CompanyCodeField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static CompanyCodeField<String> |
NON_TAXABLE_TRANSACTION_TAX_CODE
Use with available fluent helpers to apply the NonTaxableTransactionTaxCode field to query operations.
|
static CompanyCodeField<Boolean> |
TAX_RPTG_DATE_IS_ACTIVE
Use with available fluent helpers to apply the TaxRptgDateIsActive field to query operations.
|
static CompanyCodeField<String> |
TAXABLE_ENTITY
Use with available fluent helpers to apply the TaxableEntity field to query operations.
|
static CompanyCodeField<String> |
VAT_REGISTRATION
Use with available fluent helpers to apply the VATRegistration field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CompanyCode() |
CompanyCode(String companyCode,
String companyCodeName,
String cityName,
String country,
String currency,
String language,
String chartOfAccounts,
String fiscalYearVariant,
String company,
String creditControlArea,
String countryChartOfAccounts,
String financialManagementArea,
String addressID,
String taxableEntity,
String vATRegistration,
Boolean extendedWhldgTaxIsActive,
String controllingArea,
String fieldStatusVariant,
String nonTaxableTransactionTaxCode,
Boolean docDateIsUsedForTaxDetn,
Boolean taxRptgDateIsActive) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static CompanyCode.CompanyCodeBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> CompanyCodeField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAddressID()
Constraints: Not nullable, Maximum length: 10
|
String |
getChartOfAccounts()
Constraints: Not nullable, Maximum length: 4
|
String |
getCityName()
Constraints: Not nullable, Maximum length: 25
|
String |
getCompany()
Constraints: Not nullable, Maximum length: 6
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCompanyCodeName()
Constraints: Not nullable, Maximum length: 25
|
String |
getControllingArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCountry()
Constraints: Not nullable, Maximum length: 3
|
String |
getCountryChartOfAccounts()
Constraints: Not nullable, Maximum length: 4
|
String |
getCreditControlArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
Boolean |
getDocDateIsUsedForTaxDetn()
Constraints: none
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
Boolean |
getExtendedWhldgTaxIsActive()
Constraints: none
|
String |
getFieldStatusVariant()
Constraints: Not nullable, Maximum length: 4
|
String |
getFinancialManagementArea()
Constraints: Not nullable, Maximum length: 4
|
String |
getFiscalYearVariant()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
Constraints: Not nullable, Maximum length: 2
|
String |
getNonTaxableTransactionTaxCode()
Constraints: Not nullable, Maximum length: 2
|
String |
getTaxableEntity()
Constraints: Not nullable, Maximum length: 4
|
Boolean |
getTaxRptgDateIsActive()
Constraints: none
|
Class<CompanyCode> |
getType() |
String |
getVATRegistration()
Constraints: Not nullable, Maximum length: 20
|
int |
hashCode() |
void |
setAddressID(String addressID)
Constraints: Not nullable, Maximum length: 10
|
void |
setChartOfAccounts(String chartOfAccounts)
Constraints: Not nullable, Maximum length: 4
|
void |
setCityName(String cityName)
Constraints: Not nullable, Maximum length: 25
|
void |
setCompany(String company)
Constraints: Not nullable, Maximum length: 6
|
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCompanyCodeName(String companyCodeName)
Constraints: Not nullable, Maximum length: 25
|
void |
setControllingArea(String controllingArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCountry(String country)
Constraints: Not nullable, Maximum length: 3
|
void |
setCountryChartOfAccounts(String countryChartOfAccounts)
Constraints: Not nullable, Maximum length: 4
|
void |
setCreditControlArea(String creditControlArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setCurrency(String currency)
Constraints: Not nullable, Maximum length: 5
|
void |
setDocDateIsUsedForTaxDetn(Boolean docDateIsUsedForTaxDetn)
Constraints: none
|
void |
setExtendedWhldgTaxIsActive(Boolean extendedWhldgTaxIsActive)
Constraints: none
|
void |
setFieldStatusVariant(String fieldStatusVariant)
Constraints: Not nullable, Maximum length: 4
|
void |
setFinancialManagementArea(String financialManagementArea)
Constraints: Not nullable, Maximum length: 4
|
void |
setFiscalYearVariant(String fiscalYearVariant)
Constraints: Not nullable, Maximum length: 2
|
void |
setLanguage(String language)
Constraints: Not nullable, Maximum length: 2
|
void |
setNonTaxableTransactionTaxCode(String nonTaxableTransactionTaxCode)
Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTaxableEntity(String taxableEntity)
Constraints: Not nullable, Maximum length: 4
|
void |
setTaxRptgDateIsActive(Boolean taxRptgDateIsActive)
Constraints: none
|
void |
setVATRegistration(String vATRegistration)
Constraints: Not nullable, Maximum length: 20
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final CompanyCodeSelectable ALL_FIELDS
public static final CompanyCodeField<String> COMPANY_CODE
public static final CompanyCodeField<String> COMPANY_CODE_NAME
public static final CompanyCodeField<String> CITY_NAME
public static final CompanyCodeField<String> COUNTRY
public static final CompanyCodeField<String> CURRENCY
public static final CompanyCodeField<String> LANGUAGE
public static final CompanyCodeField<String> CHART_OF_ACCOUNTS
public static final CompanyCodeField<String> FISCAL_YEAR_VARIANT
public static final CompanyCodeField<String> COMPANY
public static final CompanyCodeField<String> CREDIT_CONTROL_AREA
public static final CompanyCodeField<String> COUNTRY_CHART_OF_ACCOUNTS
public static final CompanyCodeField<String> FINANCIAL_MANAGEMENT_AREA
public static final CompanyCodeField<String> ADDRESS_ID
public static final CompanyCodeField<String> TAXABLE_ENTITY
public static final CompanyCodeField<String> VAT_REGISTRATION
public static final CompanyCodeField<Boolean> EXTENDED_WHLDG_TAX_IS_ACTIVE
public static final CompanyCodeField<String> CONTROLLING_AREA
public static final CompanyCodeField<String> FIELD_STATUS_VARIANT
public static final CompanyCodeField<String> NON_TAXABLE_TRANSACTION_TAX_CODE
public static final CompanyCodeField<Boolean> DOC_DATE_IS_USED_FOR_TAX_DETN
public static final CompanyCodeField<Boolean> TAX_RPTG_DATE_IS_ACTIVE
public CompanyCode()
public CompanyCode(@Nullable String companyCode, @Nullable String companyCodeName, @Nullable String cityName, @Nullable String country, @Nullable String currency, @Nullable String language, @Nullable String chartOfAccounts, @Nullable String fiscalYearVariant, @Nullable String company, @Nullable String creditControlArea, @Nullable String countryChartOfAccounts, @Nullable String financialManagementArea, @Nullable String addressID, @Nullable String taxableEntity, @Nullable String vATRegistration, @Nullable Boolean extendedWhldgTaxIsActive, @Nullable String controllingArea, @Nullable String fieldStatusVariant, @Nullable String nonTaxableTransactionTaxCode, @Nullable Boolean docDateIsUsedForTaxDetn, @Nullable Boolean taxRptgDateIsActive)
@Nonnull public Class<CompanyCode> getType()
getType
in class VdmObject<CompanyCode>
public void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setCompanyCodeName(@Nullable String companyCodeName)
Original property name from the Odata EDM: CompanyCodeName
companyCodeName
- Name of Company Code or Companypublic void setCityName(@Nullable String cityName)
Original property name from the Odata EDM: CityName
cityName
- Citypublic void setCountry(@Nullable String country)
Original property name from the Odata EDM: Country
country
- Country Keypublic void setCurrency(@Nullable String currency)
Original property name from the Odata EDM: Currency
currency
- Currency Keypublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setChartOfAccounts(@Nullable String chartOfAccounts)
Original property name from the Odata EDM: ChartOfAccounts
chartOfAccounts
- Chart of Accountspublic void setFiscalYearVariant(@Nullable String fiscalYearVariant)
Original property name from the Odata EDM: FiscalYearVariant
fiscalYearVariant
- Fiscal Year Variantpublic void setCompany(@Nullable String company)
Original property name from the Odata EDM: Company
company
- Companypublic void setCreditControlArea(@Nullable String creditControlArea)
Original property name from the Odata EDM: CreditControlArea
creditControlArea
- Credit control areapublic void setCountryChartOfAccounts(@Nullable String countryChartOfAccounts)
Original property name from the Odata EDM: CountryChartOfAccounts
countryChartOfAccounts
- Chart of Accounts According to Country Legislationpublic void setFinancialManagementArea(@Nullable String financialManagementArea)
Original property name from the Odata EDM: FinancialManagementArea
financialManagementArea
- Financial Management Areapublic void setAddressID(@Nullable String addressID)
Original property name from the Odata EDM: AddressID
addressID
- Addresspublic void setTaxableEntity(@Nullable String taxableEntity)
Original property name from the Odata EDM: TaxableEntity
taxableEntity
- Sales/Purchases Tax Grouppublic void setVATRegistration(@Nullable String vATRegistration)
Original property name from the Odata EDM: VATRegistration
vATRegistration
- VAT Registration Numberpublic void setExtendedWhldgTaxIsActive(@Nullable Boolean extendedWhldgTaxIsActive)
Original property name from the Odata EDM: ExtendedWhldgTaxIsActive
extendedWhldgTaxIsActive
- Indicator: Extended Withholding Tax Activepublic void setControllingArea(@Nullable String controllingArea)
Original property name from the Odata EDM: ControllingArea
controllingArea
- Controlling Areapublic void setFieldStatusVariant(@Nullable String fieldStatusVariant)
Original property name from the Odata EDM: FieldStatusVariant
fieldStatusVariant
- Field Status Variantpublic void setNonTaxableTransactionTaxCode(@Nullable String nonTaxableTransactionTaxCode)
Original property name from the Odata EDM: NonTaxableTransactionTaxCode
nonTaxableTransactionTaxCode
- Output Tax Code for Non-Taxable Transactionspublic void setDocDateIsUsedForTaxDetn(@Nullable Boolean docDateIsUsedForTaxDetn)
Original property name from the Odata EDM: DocDateIsUsedForTaxDetn
docDateIsUsedForTaxDetn
- Indicator: Document Date As the Basis for Tax Determinationpublic void setTaxRptgDateIsActive(@Nullable Boolean taxRptgDateIsActive)
Original property name from the Odata EDM: TaxRptgDateIsActive
taxRptgDateIsActive
- Tax Reporting Date Active in Documentsprotected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<CompanyCode>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CompanyCode>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CompanyCode>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CompanyCode>
@Nonnull public static <T> CompanyCodeField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> CompanyCodeField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<CompanyCode>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<CompanyCode>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<CompanyCode>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<CompanyCode>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull public static CompanyCode.CompanyCodeBuilder builder()
@Nullable public String getCompanyCode()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getCompanyCodeName()
Original property name from the Odata EDM: CompanyCodeName
@Nullable public String getCityName()
Original property name from the Odata EDM: CityName
@Nullable public String getCountry()
Original property name from the Odata EDM: Country
@Nullable public String getCurrency()
Original property name from the Odata EDM: Currency
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getChartOfAccounts()
Original property name from the Odata EDM: ChartOfAccounts
@Nullable public String getFiscalYearVariant()
Original property name from the Odata EDM: FiscalYearVariant
@Nullable public String getCompany()
Original property name from the Odata EDM: Company
@Nullable public String getCreditControlArea()
Original property name from the Odata EDM: CreditControlArea
@Nullable public String getCountryChartOfAccounts()
Original property name from the Odata EDM: CountryChartOfAccounts
@Nullable public String getFinancialManagementArea()
Original property name from the Odata EDM: FinancialManagementArea
@Nullable public String getAddressID()
Original property name from the Odata EDM: AddressID
@Nullable public String getTaxableEntity()
Original property name from the Odata EDM: TaxableEntity
@Nullable public String getVATRegistration()
Original property name from the Odata EDM: VATRegistration
@Nullable public Boolean getExtendedWhldgTaxIsActive()
Original property name from the Odata EDM: ExtendedWhldgTaxIsActive
@Nullable public String getControllingArea()
Original property name from the Odata EDM: ControllingArea
@Nullable public String getFieldStatusVariant()
Original property name from the Odata EDM: FieldStatusVariant
@Nullable public String getNonTaxableTransactionTaxCode()
Original property name from the Odata EDM: NonTaxableTransactionTaxCode
@Nullable public Boolean getDocDateIsUsedForTaxDetn()
Original property name from the Odata EDM: DocDateIsUsedForTaxDetn
@Nullable public Boolean getTaxRptgDateIsActive()
Original property name from the Odata EDM: TaxRptgDateIsActive
@Nonnull public String toString()
toString
in class VdmObject<CompanyCode>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<CompanyCode>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<CompanyCode>
public int hashCode()
hashCode
in class VdmObject<CompanyCode>
Copyright © 2021 SAP SE. All rights reserved.