Class CostCenterText
Original entity name from the Odata EDM: CostCenterText
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CostCenterTextSelectableSelector for all available fields of CostCenterText.static final CostCenterTextField<String>Use with available fluent helpers to apply the CompanyCode field to query operations.static final CostCenterTextField<String>Use with available fluent helpers to apply the CostCenterDescription field to query operations.static final CostCenterTextField<String>Use with available fluent helpers to apply the CostCenterID field to query operations.static final CostCenterTextField<String>Use with available fluent helpers to apply the CostCenterName field to query operations.static final CostCenterTextField<String>Use with available fluent helpers to apply the Language field to query operations.static final CostCenterTextField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCostCenterText(String companyCode, String costCenterID, LocalDateTime validityEndDate, String language, String costCenterName, String costCenterDescription) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
CostCenterTextField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CostCenterTextField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 20protected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()(Key Field) Constraints: Not nullable, Precision: 0inthashCode()voidsetCompanyCode(String companyCode) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCostCenterDescription(String costCenterDescription) Constraints: Not nullable, Maximum length: 40voidsetCostCenterID(String costCenterID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCostCenterName(String costCenterName) Constraints: Not nullable, Maximum length: 20voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2protected voidsetServicePathForFetch(String servicePathForFetch) voidsetValidityEndDate(LocalDateTime validityEndDate) (Key Field) Constraints: Not nullable, Precision: 0toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CostCenterText. -
COMPANY_CODE
Use with available fluent helpers to apply the CompanyCode field to query operations. -
COST_CENTER_ID
Use with available fluent helpers to apply the CostCenterID field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations. -
COST_CENTER_NAME
Use with available fluent helpers to apply the CostCenterName field to query operations. -
COST_CENTER_DESCRIPTION
Use with available fluent helpers to apply the CostCenterDescription field to query operations.
-
-
Constructor Details
-
CostCenterText
public CostCenterText() -
CostCenterText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CostCenterText>
-
setCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Parameters:
companyCode- The company code is an organizational unit within financial accounting.
-
setCostCenterID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenterID
- Parameters:
costCenterID- A key that uniquely identifies a cost center.
-
setValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- Date indicating up to when an entry is valid.
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
It corresponds to:1) All languages according to ISO 639.22) Languages assigned to specific countries or scripts1) Persian = 'FA'2) EnglishEnglish Australia = '1E'English Canada = '3E'English Ireland = '8E'English New Zealand = '1N'
- Parameters:
language- SAP Language Key (2-letter code) for Unicode languages.
-
setCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Parameters:
costCenterName- General description of the object.
-
setCostCenterDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CostCenterDescription
- Parameters:
costCenterDescription- A text that describes the object to which it refers in greater detail.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CostCenterText>
-
getKey
- Overrides:
getKeyin classVdmObject<CostCenterText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CostCenterText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CostCenterText>
-
field
@Nonnull public static <T> CostCenterTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
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.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> CostCenterTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<CostCenterText>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CostCenterText>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CostCenterText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CostCenterText>
-
builder
-
getCompanyCode
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompanyCode
- Returns:
- The company code is an organizational unit within financial accounting.
-
getCostCenterID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenterID
- Returns:
- A key that uniquely identifies a cost center.
-
getValidityEndDate
(Key Field) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- Date indicating up to when an entry is valid.
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
It corresponds to:1) All languages according to ISO 639.22) Languages assigned to specific countries or scripts1) Persian = 'FA'2) EnglishEnglish Australia = '1E'English Canada = '3E'English Ireland = '8E'English New Zealand = '1N'
- Returns:
- SAP Language Key (2-letter code) for Unicode languages.
-
getCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Returns:
- General description of the object.
-
getCostCenterDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: CostCenterDescription
- Returns:
- A text that describes the object to which it refers in greater detail.
-
toString
- Overrides:
toStringin classVdmObject<CostCenterText>
-
equals
- Overrides:
equalsin classVdmEntity<CostCenterText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CostCenterText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CostCenterText>
-