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) |
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 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.
|
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 |
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
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Class<CostCenterText> |
getType() |
LocalDateTime |
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 |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setValidityEndDate(LocalDateTime validityEndDate)
(Key Field) Constraints: Not nullable, Precision: 0
|
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 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
@Nonnull 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 getEntityCollection()
getEntityCollection
in class VdmEntity<CostCenterText>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<CostCenterText>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<CostCenterText>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<CostCenterText>
@Nonnull public static <T> CostCenterTextField<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> CostCenterTextField<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<CostCenterText>
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<CostCenterText>
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<CostCenterText>
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()
getDefaultServicePath
in class VdmEntity<CostCenterText>
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
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 © 2019 SAP SE. All rights reserved.