Class OriginCostCenter
java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<OriginCostCenter>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.trialbalance.OriginCostCenter
Origin Cost Center (Master Data)
Original entity name from the Odata EDM: OriginCostCenter
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final OriginCostCenterSelectableSelector for all available fields of OriginCostCenter.static final OriginCostCenterField<String>Use with available fluent helpers to apply the ControllingArea field to query operations.static final OriginCostCenterField<String>Use with available fluent helpers to apply the ControllingAreaName field to query operations.static final OriginCostCenterField<String>Use with available fluent helpers to apply the OriginCostCenter_ID field to query operations.static final OriginCostCenterField<String>Use with available fluent helpers to apply the OriginCostCenterText field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionOriginCostCenter(String originCostCenter_ID, String originCostCenterText, String controllingArea, String controllingAreaName) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanstatic <T,DomainT>
OriginCostCenterField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> OriginCostCenterField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: noneprotected Stringprotected StringgetKey()(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: nonegetType()inthashCode()voidsetControllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetControllingAreaName(String controllingAreaName) Constraints: nonevoidsetOriginCostCenter_ID(String originCostCenter_ID) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetOriginCostCenterText(String originCostCenterText) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) toString()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 OriginCostCenter. -
ORIGIN_COST_CENTER_ID
Use with available fluent helpers to apply the OriginCostCenter_ID field to query operations. -
ORIGIN_COST_CENTER_TEXT
Use with available fluent helpers to apply the OriginCostCenterText field to query operations. -
CONTROLLING_AREA
Use with available fluent helpers to apply the ControllingArea field to query operations. -
CONTROLLING_AREA_NAME
Use with available fluent helpers to apply the ControllingAreaName field to query operations.
-
-
Constructor Details
-
OriginCostCenter
public OriginCostCenter() -
OriginCostCenter
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<OriginCostCenter>
-
setOriginCostCenter_ID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: OriginCostCenter_ID
- Parameters:
originCostCenter_ID- Origin Cost Center
-
setOriginCostCenterText
Constraints: noneOriginal property name from the Odata EDM: OriginCostCenterText
- Parameters:
originCostCenterText- Origin Cost Center (Description)
-
setControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Origin Cost Center (Controlling Area)
-
setControllingAreaName
Constraints: noneOriginal property name from the Odata EDM: ControllingAreaName
- Parameters:
controllingAreaName- Controlling Area (Description) (Parent Description)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<OriginCostCenter>
-
getKey
- Overrides:
getKeyin classVdmObject<OriginCostCenter>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<OriginCostCenter>
-
fromMap
- Overrides:
fromMapin classVdmObject<OriginCostCenter>
-
field
@Nonnull public static <T> OriginCostCenterField<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> OriginCostCenterField<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<OriginCostCenter>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<OriginCostCenter>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<OriginCostCenter>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<OriginCostCenter>
-
builder
-
getOriginCostCenter_ID
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: OriginCostCenter_ID
- Returns:
- Origin Cost Center
-
getOriginCostCenterText
Constraints: noneOriginal property name from the Odata EDM: OriginCostCenterText
- Returns:
- Origin Cost Center (Description)
-
getControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Origin Cost Center (Controlling Area)
-
getControllingAreaName
Constraints: noneOriginal property name from the Odata EDM: ControllingAreaName
- Returns:
- Controlling Area (Description) (Parent Description)
-
toString
- Overrides:
toStringin classVdmObject<OriginCostCenter>
-
equals
- Overrides:
equalsin classVdmEntity<OriginCostCenter>
-
canEqual
- Overrides:
canEqualin classVdmEntity<OriginCostCenter>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<OriginCostCenter>
-