Class MRPChangeRequestRejectionTxt
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MRPChangeRequestRejectionTxt>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.mrpchangerequestrejection.MRPChangeRequestRejectionTxt
- All Implemented Interfaces:
VdmEntitySet
public class MRPChangeRequestRejectionTxt
extends VdmEntity<MRPChangeRequestRejectionTxt>
implements VdmEntitySet
MRP Change Request Rejection - Text
Original entity name from the Odata EDM: MRPChangeRequestRejectionTxt_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MRPChangeRequestRejectionTxt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<MRPChangeRequestRejectionTxt>Selector for all available fields of MRPChangeRequestRejectionTxt.static final SimpleProperty.String<MRPChangeRequestRejectionTxt>static final SimpleProperty.String<MRPChangeRequestRejectionTxt>static final SimpleProperty.String<MRPChangeRequestRejectionTxt>Use with available request builders to apply the _MRPRequestRejection 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
ConstructorsConstructorDescriptionMRPChangeRequestRejectionTxt(String language, String mRPRequestRejection, String mRPRequestRejectionName, MRPChangeRequestRejection to_MRPRequestRejection) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<MRPChangeRequestRejection>Retrieval of associated MRPChangeRequestRejection entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated MRPChangeRequestRejection entity for the loaded navigation property _MRPRequestRejection.voidsetMRPRequestRejection(String mRPRequestRejection) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMRPRequestRejectionName(String mRPRequestRejectionName) Constraints: Not nullable, Maximum length: 40toString()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 MRPChangeRequestRejectionTxt. -
LANGUAGE
-
MRP_REQUEST_REJECTION
-
MRP_REQUEST_REJECTION_NAME
-
TO__M_R_P_REQUEST_REJECTION
public static final NavigationProperty.Single<MRPChangeRequestRejectionTxt,MRPChangeRequestRejection> TO__M_R_P_REQUEST_REJECTIONUse with available request builders to apply the _MRPRequestRejection navigation property to query operations.
-
-
Constructor Details
-
MRPChangeRequestRejectionTxt
public MRPChangeRequestRejectionTxt() -
MRPChangeRequestRejectionTxt
public MRPChangeRequestRejectionTxt(@Nullable String language, @Nullable String mRPRequestRejection, @Nullable String mRPRequestRejectionName, @Nullable MRPChangeRequestRejection to_MRPRequestRejection)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MRPChangeRequestRejectionTxt>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setMRPRequestRejection
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MRPRequestRejection
- Parameters:
mRPRequestRejection- Rejection Code for MRP Change Request
-
setMRPRequestRejectionName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MRPRequestRejectionName
- Parameters:
mRPRequestRejectionName- Description for MRP Change Request Rejection
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MRPChangeRequestRejectionTxt>
-
getKey
- Overrides:
getKeyin classVdmObject<MRPChangeRequestRejectionTxt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MRPChangeRequestRejectionTxt>
-
fromMap
- Overrides:
fromMapin classVdmObject<MRPChangeRequestRejectionTxt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MRPChangeRequestRejectionTxt>
-
getMRPRequestRejectionIfPresent
Retrieval of associated MRPChangeRequestRejection entity (one to one). This corresponds to the OData navigation property _MRPRequestRejection.If the navigation property for an entity MRPChangeRequestRejectionTxt 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 _MRPRequestRejection is already loaded, the result will
contain the MRPChangeRequestRejection entity. If not, an
Optionwith result stateemptyis returned.
-
setMRPRequestRejection
Overwrites the associated MRPChangeRequestRejection entity for the loaded navigation property _MRPRequestRejection.- Parameters:
value- New MRPChangeRequestRejection entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getMRPRequestRejection
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MRPRequestRejection
- Returns:
- Rejection Code for MRP Change Request
-
getMRPRequestRejectionName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MRPRequestRejectionName
- Returns:
- Description for MRP Change Request Rejection
-
toString
- Overrides:
toStringin classVdmObject<MRPChangeRequestRejectionTxt>
-
equals
- Overrides:
equalsin classVdmEntity<MRPChangeRequestRejectionTxt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MRPChangeRequestRejectionTxt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MRPChangeRequestRejectionTxt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MRPChangeRequestRejectionTxt>
-