Class CnsldtnProfitCenterText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: CnsldtnProfitCenterText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnProfitCenterText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnProfitCenterText>Selector for all available fields of CnsldtnProfitCenterText.static final SimpleProperty.Boolean<CnsldtnProfitCenterText>static final SimpleProperty.String<CnsldtnProfitCenterText>static final SimpleProperty.String<CnsldtnProfitCenterText>static final SimpleProperty.String<CnsldtnProfitCenterText>static final SimpleProperty.String<CnsldtnProfitCenterText>Use with available request builders to apply the _ProfitCenter 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
ConstructorsConstructorDescriptionCnsldtnProfitCenterText(String language, String controllingArea, String profitCenter, String profitCenterName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnProfitCenter to_ProfitCenter) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 4protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<CnsldtnProfitCenter>Retrieval of associated CnsldtnProfitCenter entity (one to one).Constraints: Not nullable, Maximum length: 20getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetControllingArea(String controllingArea) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated CnsldtnProfitCenter entity for the loaded navigation property _ProfitCenter.voidsetProfitCenter(String profitCenter) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetProfitCenterName(String profitCenterName) Constraints: Not nullable, Maximum length: 20toString()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 CnsldtnProfitCenterText. -
LANGUAGE
-
CONTROLLING_AREA
-
PROFIT_CENTER
-
PROFIT_CENTER_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
public static final SimpleProperty.Boolean<CnsldtnProfitCenterText> CNSLDTN_IS_ADDITIONAL_MASTER_DATA -
TO__PROFIT_CENTER
public static final NavigationProperty.Single<CnsldtnProfitCenterText,CnsldtnProfitCenter> TO__PROFIT_CENTERUse with available request builders to apply the _ProfitCenter navigation property to query operations.
-
-
Constructor Details
-
CnsldtnProfitCenterText
public CnsldtnProfitCenterText() -
CnsldtnProfitCenterText
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnProfitCenterText>
-
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
-
setProfitCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Parameters:
profitCenter- Consolidation Profit Center
-
setProfitCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCenterName
- Parameters:
profitCenterName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnProfitCenterText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnProfitCenterText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnProfitCenterText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnProfitCenterText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnProfitCenterText>
-
getProfitCenterIfPresent
Retrieval of associated CnsldtnProfitCenter entity (one to one). This corresponds to the OData navigation property _ProfitCenter.If the navigation property for an entity CnsldtnProfitCenterText 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 _ProfitCenter is already loaded, the result will
contain the CnsldtnProfitCenter entity. If not, an
Optionwith result stateemptyis returned.
-
setProfitCenter
Overwrites the associated CnsldtnProfitCenter entity for the loaded navigation property _ProfitCenter.- Parameters:
value- New CnsldtnProfitCenter 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
-
getProfitCenter
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ProfitCenter
- Returns:
- Consolidation Profit Center
-
getProfitCenterName
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ProfitCenterName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnProfitCenterText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnProfitCenterText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnProfitCenterText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnProfitCenterText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnProfitCenterText>
-