Class MRPChangeRequestPriorityTxt
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<MRPChangeRequestPriorityTxt>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.mrpchangerequestpriority.MRPChangeRequestPriorityTxt
- All Implemented Interfaces:
VdmEntitySet
public class MRPChangeRequestPriorityTxt
extends VdmEntity<MRPChangeRequestPriorityTxt>
implements VdmEntitySet
MRP Change Request Priority - Text
Original entity name from the Odata EDM: MRPChangeRequestPriorityTxt_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MRPChangeRequestPriorityTxt instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<MRPChangeRequestPriorityTxt>Selector for all available fields of MRPChangeRequestPriorityTxt.static final SimpleProperty.String<MRPChangeRequestPriorityTxt>static final SimpleProperty.String<MRPChangeRequestPriorityTxt>static final SimpleProperty.String<MRPChangeRequestPriorityTxt>Use with available request builders to apply the _MRPRequestPriority 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
ConstructorsConstructorDescriptionMRPChangeRequestPriorityTxt(String language, String mRPRequestPriority, String mRPRequestPriorityName, MRPChangeRequestPriority to_MRPRequestPriority) -
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<MRPChangeRequestPriority>Retrieval of associated MRPChangeRequestPriority entity (one to one).Constraints: Not nullable, Maximum length: 40getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated MRPChangeRequestPriority entity for the loaded navigation property _MRPRequestPriority.voidsetMRPRequestPriority(String mRPRequestPriority) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetMRPRequestPriorityName(String mRPRequestPriorityName) 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 MRPChangeRequestPriorityTxt. -
LANGUAGE
-
MRP_REQUEST_PRIORITY
-
MRP_REQUEST_PRIORITY_NAME
-
TO__M_R_P_REQUEST_PRIORITY
public static final NavigationProperty.Single<MRPChangeRequestPriorityTxt,MRPChangeRequestPriority> TO__M_R_P_REQUEST_PRIORITYUse with available request builders to apply the _MRPRequestPriority navigation property to query operations.
-
-
Constructor Details
-
MRPChangeRequestPriorityTxt
public MRPChangeRequestPriorityTxt() -
MRPChangeRequestPriorityTxt
public MRPChangeRequestPriorityTxt(@Nullable String language, @Nullable String mRPRequestPriority, @Nullable String mRPRequestPriorityName, @Nullable MRPChangeRequestPriority to_MRPRequestPriority)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MRPChangeRequestPriorityTxt>
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setMRPRequestPriority
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MRPRequestPriority
- Parameters:
mRPRequestPriority- MRP Change Request Priority
-
setMRPRequestPriorityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MRPRequestPriorityName
- Parameters:
mRPRequestPriorityName- Description of MRP Change Request Priority
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MRPChangeRequestPriorityTxt>
-
getKey
- Overrides:
getKeyin classVdmObject<MRPChangeRequestPriorityTxt>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MRPChangeRequestPriorityTxt>
-
fromMap
- Overrides:
fromMapin classVdmObject<MRPChangeRequestPriorityTxt>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MRPChangeRequestPriorityTxt>
-
getMRPRequestPriorityIfPresent
Retrieval of associated MRPChangeRequestPriority entity (one to one). This corresponds to the OData navigation property _MRPRequestPriority.If the navigation property for an entity MRPChangeRequestPriorityTxt 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 _MRPRequestPriority is already loaded, the result will
contain the MRPChangeRequestPriority entity. If not, an
Optionwith result stateemptyis returned.
-
setMRPRequestPriority
Overwrites the associated MRPChangeRequestPriority entity for the loaded navigation property _MRPRequestPriority.- Parameters:
value- New MRPChangeRequestPriority entity.
-
builder
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getMRPRequestPriority
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: MRPRequestPriority
- Returns:
- MRP Change Request Priority
-
getMRPRequestPriorityName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: MRPRequestPriorityName
- Returns:
- Description of MRP Change Request Priority
-
toString
- Overrides:
toStringin classVdmObject<MRPChangeRequestPriorityTxt>
-
equals
- Overrides:
equalsin classVdmEntity<MRPChangeRequestPriorityTxt>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MRPChangeRequestPriorityTxt>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MRPChangeRequestPriorityTxt>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<MRPChangeRequestPriorityTxt>
-