public class CostCenterText extends VdmEntity<CostCenterText>
Modifier and Type | Class and Description |
---|---|
static class |
CostCenterText.CostCenterTextBuilder |
Modifier and Type | Field and Description |
---|---|
static CostCenterTextSelectable |
ALL_FIELDS
Selector for all available fields of CostCenterText.
|
static CostCenterTextField<String> |
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations.
|
static CostCenterTextField<String> |
COST_CENTER_DESCRIPTION
Use with available fluent helpers to apply the CostCenterDescription field to query operations.
|
static CostCenterTextField<String> |
COST_CENTER_ID
Use with available fluent helpers to apply the CostCenterID field to query operations.
|
static CostCenterTextField<String> |
COST_CENTER_NAME
Use with available fluent helpers to apply the CostCenterName field to query operations.
|
static CostCenterTextField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static CostCenterTextField<Calendar> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
Constructor and Description |
---|
CostCenterText() |
CostCenterText(String companyCode,
String costCenterID,
Calendar validityEndDate,
String language,
String costCenterName,
String costCenterDescription,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CostCenterText.CostCenterTextBuilder |
builder() |
boolean |
equals(Object o) |
static <T> CostCenterTextField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getCostCenterDescription()
Constraints: Not nullable, Maximum length: 40
|
String |
getCostCenterID()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getCostCenterName()
Constraints: Not nullable, Maximum length: 20
|
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Class<CostCenterText> |
getType() |
Calendar |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0
|
int |
hashCode() |
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setCostCenterDescription(String costCenterDescription)
Constraints: Not nullable, Maximum length: 40
|
void |
setCostCenterID(String costCenterID)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setCostCenterName(String costCenterName)
Constraints: Not nullable, Maximum length: 20
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setValidityEndDate(Calendar validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
String |
toString() |
getCustomField, getCustomField, getCustomFieldNames, getCustomFields, hasCustomField, hasCustomField, setCustomField, setCustomField
public static final CostCenterTextSelectable ALL_FIELDS
public static final CostCenterTextField<String> COMPANY_CODE
public static final CostCenterTextField<String> COST_CENTER_ID
public static final CostCenterTextField<Calendar> VALIDITY_END_DATE
public static final CostCenterTextField<String> LANGUAGE
public static final CostCenterTextField<String> COST_CENTER_NAME
public static final CostCenterTextField<String> COST_CENTER_DESCRIPTION
public Class<CostCenterText> getType()
getType
in class VdmObject<CostCenterText>
public static <T> CostCenterTextField<T> field(String fieldName, Class<T> fieldType)
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.public static CostCenterText.CostCenterTextBuilder builder()
@Nullable public String getCompanyCode()
@Nullable public String getCostCenterID()
@Nullable public Calendar getValidityEndDate()
@Nullable public String getLanguage()
@Nullable public String getCostCenterName()
@Nullable public String getCostCenterDescription()
@Nullable public ErpConfigContext getErpConfigContext()
public void setCompanyCode(@Nullable String companyCode)
companyCode
- public void setCostCenterID(@Nullable String costCenterID)
costCenterID
- public void setValidityEndDate(@Nullable Calendar validityEndDate)
validityEndDate
- public void setLanguage(@Nullable String language)
language
- public void setCostCenterName(@Nullable String costCenterName)
costCenterName
- public void setCostCenterDescription(@Nullable String costCenterDescription)
costCenterDescription
- public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
erpConfigContext
- public String toString()
toString
in class VdmObject<CostCenterText>
public boolean equals(Object o)
equals
in class VdmObject<CostCenterText>
public int hashCode()
hashCode
in class VdmObject<CostCenterText>
Copyright © 2018 SAP SE. All rights reserved.