Class Prodsubstnctrl_2
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<Prodsubstnctrl_2>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.productsubstitutioncontrol.Prodsubstnctrl_2
- All Implemented Interfaces:
VdmEntitySet
Product Substitution Control Group
Original entity name from the Odata EDM: prodsubstnctrl_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of Prodsubstnctrl_2 instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<Prodsubstnctrl_2>Selector for all available fields of Prodsubstnctrl_2.static final SimpleProperty.String<Prodsubstnctrl_2>static final SimpleProperty.String<Prodsubstnctrl_2>static final SimpleProperty.String<Prodsubstnctrl_2>static final NavigationProperty.Single<Prodsubstnctrl_2,ProdSubstnCtrl> 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
ConstructorsConstructorDescriptionProdsubstnctrl_2(String mDSubstnObjectType, String mDSubstnControl, String mDSubstnGroup, ProdSubstnCtrl to_Control) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidio.vavr.control.Option<ProdSubstnCtrl>Retrieval of associated ProdSubstnCtrl 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(ProdSubstnCtrl value) Overwrites the associated ProdSubstnCtrl 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 Prodsubstnctrl_2. -
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
-
Prodsubstnctrl_2
public Prodsubstnctrl_2() -
Prodsubstnctrl_2
public Prodsubstnctrl_2(@Nullable String mDSubstnObjectType, @Nullable String mDSubstnControl, @Nullable String mDSubstnGroup, @Nullable ProdSubstnCtrl to_Control)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<Prodsubstnctrl_2>
-
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<Prodsubstnctrl_2>
-
getKey
- Overrides:
getKeyin classVdmObject<Prodsubstnctrl_2>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<Prodsubstnctrl_2>
-
fromMap
- Overrides:
fromMapin classVdmObject<Prodsubstnctrl_2>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<Prodsubstnctrl_2>
-
getControlIfPresent
Retrieval of associated ProdSubstnCtrl entity (one to one). This corresponds to the OData navigation property _Control.If the navigation property for an entity Prodsubstnctrl_2 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
ProdSubstnCtrl entity. If not, an
Optionwith result stateemptyis returned.
-
setControl
Overwrites the associated ProdSubstnCtrl entity for the loaded navigation property _Control.- Parameters:
value- New ProdSubstnCtrl 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<Prodsubstnctrl_2>
-
equals
- Overrides:
equalsin classVdmEntity<Prodsubstnctrl_2>
-
canEqual
- Overrides:
canEqualin classVdmEntity<Prodsubstnctrl_2>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<Prodsubstnctrl_2>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<Prodsubstnctrl_2>
-