Class CnsldtnPlantText
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<CnsldtnPlantText>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.consolidationplant.CnsldtnPlantText
- All Implemented Interfaces:
VdmEntitySet
Consolidation Plant - Text
Original entity name from the Odata EDM: CnsldtnPlantText_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CnsldtnPlantText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<CnsldtnPlantText>Selector for all available fields of CnsldtnPlantText.static final SimpleProperty.Boolean<CnsldtnPlantText>static final SimpleProperty.String<CnsldtnPlantText>static final SimpleProperty.String<CnsldtnPlantText>static final SimpleProperty.String<CnsldtnPlantText>static final NavigationProperty.Single<CnsldtnPlantText,CnsldtnPlant> Use with available request builders to apply the _Plant 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
ConstructorsConstructorDescriptionCnsldtnPlantText(String language, String plant, String plantName, Boolean cnsldtnIsAdditionalMasterData, CnsldtnPlant to_Plant) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2getPlant()(Key Field) Constraints: Not nullable, Maximum length: 4io.vavr.control.Option<CnsldtnPlant>Retrieval of associated CnsldtnPlant entity (one to one).Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetCnsldtnIsAdditionalMasterData(Boolean cnsldtnIsAdditionalMasterData) Constraints: Not nullablevoidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPlant(CnsldtnPlant value) Overwrites the associated CnsldtnPlant entity for the loaded navigation property _Plant.void(Key Field) Constraints: Not nullable, Maximum length: 4voidsetPlantName(String plantName) Constraints: Not nullable, Maximum length: 30toString()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 CnsldtnPlantText. -
LANGUAGE
-
PLANT
-
PLANT_NAME
-
CNSLDTN_IS_ADDITIONAL_MASTER_DATA
-
TO__PLANT
Use with available request builders to apply the _Plant navigation property to query operations.
-
-
Constructor Details
-
CnsldtnPlantText
public CnsldtnPlantText() -
CnsldtnPlantText
public CnsldtnPlantText(@Nullable String language, @Nullable String plant, @Nullable String plantName, @Nullable Boolean cnsldtnIsAdditionalMasterData, @Nullable CnsldtnPlant to_Plant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CnsldtnPlantText>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PlantName
- Parameters:
plantName- Description
-
setCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Parameters:
cnsldtnIsAdditionalMasterData- Is Additional Master Data
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CnsldtnPlantText>
-
getKey
- Overrides:
getKeyin classVdmObject<CnsldtnPlantText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CnsldtnPlantText>
-
fromMap
- Overrides:
fromMapin classVdmObject<CnsldtnPlantText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CnsldtnPlantText>
-
getPlantIfPresent
Retrieval of associated CnsldtnPlant entity (one to one). This corresponds to the OData navigation property _Plant.If the navigation property for an entity CnsldtnPlantText 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 _Plant is already loaded, the result will contain the
CnsldtnPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setPlant
Overwrites the associated CnsldtnPlant entity for the loaded navigation property _Plant.- Parameters:
value- New CnsldtnPlant entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getPlant
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PlantName
- Returns:
- Description
-
getCnsldtnIsAdditionalMasterData
Constraints: Not nullableOriginal property name from the Odata EDM: CnsldtnIsAdditionalMasterData
- Returns:
- Is Additional Master Data
-
toString
- Overrides:
toStringin classVdmObject<CnsldtnPlantText>
-
equals
- Overrides:
equalsin classVdmEntity<CnsldtnPlantText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CnsldtnPlantText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CnsldtnPlantText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<CnsldtnPlantText>
-