Class PlantSubstnCtrlGrp
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<PlantSubstnCtrlGrp>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.plantsubstitutioncontrol.PlantSubstnCtrlGrp
- All Implemented Interfaces:
VdmEntitySet
Plant Substitution Control Group
Original entity name from the Odata EDM: PlantSubstnCtrlGrp_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PlantSubstnCtrlGrp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PlantSubstnCtrlGrp>Selector for all available fields of PlantSubstnCtrlGrp.static final SimpleProperty.String<PlantSubstnCtrlGrp>static final SimpleProperty.String<PlantSubstnCtrlGrp>static final SimpleProperty.String<PlantSubstnCtrlGrp>static final NavigationProperty.Single<PlantSubstnCtrlGrp,PlantSubstnCtrl> Use with available request builders to apply the _Control 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
ConstructorsConstructorDescriptionPlantSubstnCtrlGrp(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup, PlantSubstnCtrl to_Control) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<PlantSubstnCtrl>Retrieval of associated PlantSubstnCtrl entity (one to one).protected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullable, Maximum length: 30getType()inthashCode()voidsetControl(PlantSubstnCtrl value) Overwrites the associated PlantSubstnCtrl entity for the loaded navigation property _Control.voidsetMDSubstnControl(String mDSubstnControl) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMDSubstnGroup(String mDSubstnGroup) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMDSubstnObjectType(String mDSubstnObjectType) (Key Field) 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 PlantSubstnCtrlGrp. -
MD_SUBSTN_OBJECT_TYPE
-
MD_SUBSTN_CONTROL
-
MD_SUBSTN_GROUP
-
TO__CONTROL
Use with available request builders to apply the _Control navigation property to query operations.
-
-
Constructor Details
-
PlantSubstnCtrlGrp
public PlantSubstnCtrlGrp() -
PlantSubstnCtrlGrp
public PlantSubstnCtrlGrp(@Nullable String mDSubstnObjectType, @Nullable String mDSubstnControl, @Nullable String mDSubstnGroup, @Nullable PlantSubstnCtrl to_Control)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PlantSubstnCtrlGrp>
-
setMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Parameters:
mDSubstnObjectType- SAP Object Type
-
setMDSubstnControl
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnControl
- Parameters:
mDSubstnControl- Substitution Control
-
setMDSubstnGroup
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnGroup
- Parameters:
mDSubstnGroup- Group Name
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PlantSubstnCtrlGrp>
-
getKey
- Overrides:
getKeyin classVdmObject<PlantSubstnCtrlGrp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PlantSubstnCtrlGrp>
-
fromMap
- Overrides:
fromMapin classVdmObject<PlantSubstnCtrlGrp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PlantSubstnCtrlGrp>
-
getControlIfPresent
Retrieval of associated PlantSubstnCtrl entity (one to one). This corresponds to the OData navigation property _Control.If the navigation property for an entity PlantSubstnCtrlGrp 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 _Control is already loaded, the result will contain the
PlantSubstnCtrl entity. If not, an
Optionwith result stateemptyis returned.
-
setControl
Overwrites the associated PlantSubstnCtrl entity for the loaded navigation property _Control.- Parameters:
value- New PlantSubstnCtrl entity.
-
builder
-
getMDSubstnObjectType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: MDSubstnObjectType
- Returns:
- SAP Object Type
-
getMDSubstnControl
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnControl
- Returns:
- Substitution Control
-
getMDSubstnGroup
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MDSubstnGroup
- Returns:
- Group Name
-
toString
- Overrides:
toStringin classVdmObject<PlantSubstnCtrlGrp>
-
equals
- Overrides:
equalsin classVdmEntity<PlantSubstnCtrlGrp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PlantSubstnCtrlGrp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PlantSubstnCtrlGrp>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PlantSubstnCtrlGrp>
-