Class CnsldtnCostCenterText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnCostCenterText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnCostCenterText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnCostCenterText>Selector for all available fields of CnsldtnCostCenterText.static final SimpleProperty.Boolean<CnsldtnCostCenterText>static final SimpleProperty.String<CnsldtnCostCenterText>static final SimpleProperty.String<CnsldtnCostCenterText>static final SimpleProperty.String<CnsldtnCostCenterText>static final SimpleProperty.String<CnsldtnCostCenterText>static final NavigationProperty.Single<CnsldtnCostCenterText,CnsldtnCostCenter> Use with available request builders to apply the _CostCenter navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionCnsldtnCostCenterText(String language, String controllingArea, String costCenter, String costCenterName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnCostCenter to_CostCenter) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 4(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<CnsldtnCostCenter>Retrieval of associated CnsldtnCostCenter entity (one to one).Constraints: Not nullable, Maximum length: 20protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetControllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetCostCenter(CnsldtnCostCenter value) Overwrites the associated CnsldtnCostCenter entity for the loaded navigation property _CostCenter.voidsetCostCenter(String costCenter) (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: 2toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of CnsldtnCostCenterText. -
LANGUAGE
-
CONTROLLING_AREA
-
COST_CENTER
-
COST_CENTER_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__COST_CENTER
public static final NavigationProperty.Single<CnsldtnCostCenterText,CnsldtnCostCenter> TO__COST_CENTERUse with available request builders to apply the _CostCenter navigation property to query operations.
-
-
Constructor Details
-
CnsldtnCostCenterText
public CnsldtnCostCenterText() -
CnsldtnCostCenterText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnCostCenterText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Parameters:
controllingArea- Consolidation Controlling Area
-
setCostCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Parameters:
costCenter- Consolidation Cost Center
-
setCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Parameters:
costCenterName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnCostCenterText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnCostCenterText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnCostCenterText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnCostCenterText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnCostCenterText>
-
getCostCenterIfPresent
Retrieval of associated CnsldtnCostCenter entity (one to one). This corresponds to the OData navigation property _CostCenter.If the navigation property for an entity CnsldtnCostCenterText has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _CostCenter is already loaded, the result will contain
the CnsldtnCostCenter entity. If not, an
Optionwith result stateemptyis returned.
-
setCostCenter
Overwrites the associated CnsldtnCostCenter entity for the loaded navigation property _CostCenter.- Parameters:
value- New CnsldtnCostCenter entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getControllingArea
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: ControllingArea
- Returns:
- Consolidation Controlling Area
-
getCostCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CostCenter
- Returns:
- Consolidation Cost Center
-
getCostCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: CostCenterName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnCostCenterText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnCostCenterText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnCostCenterText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnCostCenterText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnCostCenterText>
-