public class CostCenterText extends VdmEntity<CostCenterText>
Original entity name from the Odata EDM: 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<LocalDateTime> |
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
CostCenterText() |
CostCenterText(String companyCode,
String costCenterID,
LocalDateTime validityEndDate,
String language,
String costCenterName,
String costCenterDescription,
ErpConfigContext erpConfigContext) |
Modifier and Type | Method and Description |
---|---|
static CostCenterText.CostCenterTextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
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.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getCompanyCode()
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: CompanyCode
|
String |
getCostCenterDescription()
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: CostCenterDescription
|
String |
getCostCenterID()
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: CostCenterID
|
String |
getCostCenterName()
Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: CostCenterName
|
protected String |
getEndpointUrl() |
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g. fetching associated entities).
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2 Original property name from the Odata EDM: Language
|
Class<CostCenterText> |
getType() |
LocalDateTime |
getValidityEndDate()
(Key Field) Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityEndDate
|
int |
hashCode() |
void |
setCompanyCode(String companyCode)
(Key Field) Constraints: Not nullable, Maximum length: 4 Original property name from the Odata EDM: CompanyCode
|
void |
setCostCenterDescription(String costCenterDescription)
Constraints: Not nullable, Maximum length: 40 Original property name from the Odata EDM: CostCenterDescription
|
void |
setCostCenterID(String costCenterID)
(Key Field) Constraints: Not nullable, Maximum length: 10 Original property name from the Odata EDM: CostCenterID
|
void |
setCostCenterName(String costCenterName)
Constraints: Not nullable, Maximum length: 20 Original property name from the Odata EDM: CostCenterName
|
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 Original property name from the Odata EDM: Language
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0 Original property name from the Odata EDM: ValidityEndDate
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
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<LocalDateTime> 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 void setCompanyCode(@Nullable String companyCode)
Original property name from the Odata EDM: CompanyCode
companyCode
- Company Codepublic void setCostCenterID(@Nullable String costCenterID)
Original property name from the Odata EDM: CostCenterID
costCenterID
- Cost Centerpublic void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
Original property name from the Odata EDM: ValidityEndDate
validityEndDate
- Valid Topublic void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
language
- Language Keypublic void setCostCenterName(@Nullable String costCenterName)
Original property name from the Odata EDM: CostCenterName
costCenterName
- Namepublic void setCostCenterDescription(@Nullable String costCenterDescription)
Original property name from the Odata EDM: CostCenterDescription
costCenterDescription
- Long Textprotected String getEndpointUrl()
getEndpointUrl
in class VdmEntity<CostCenterText>
protected String getEntityCollection()
getEntityCollection
in class VdmEntity<CostCenterText>
protected Map<String,Object> getKey()
getKey
in class VdmObject<CostCenterText>
protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CostCenterText>
protected void fromMap(Map<String,Object> inputValues)
fromMap
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()
Original property name from the Odata EDM: CompanyCode
@Nullable public String getCostCenterID()
Original property name from the Odata EDM: CostCenterID
@Nullable public LocalDateTime getValidityEndDate()
Original property name from the Odata EDM: ValidityEndDate
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
@Nullable public String getCostCenterName()
Original property name from the Odata EDM: CostCenterName
@Nullable public String getCostCenterDescription()
Original property name from the Odata EDM: CostCenterDescription
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<CostCenterText>
erpConfigContext
- public String toString()
toString
in class VdmObject<CostCenterText>
public boolean equals(Object o)
equals
in class VdmObject<CostCenterText>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<CostCenterText>
public int hashCode()
hashCode
in class VdmObject<CostCenterText>
Copyright © 2018 SAP SE. All rights reserved.