Class PRAInternalMarketingRateHdr
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PRAInternalMarketingRateHdr_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PRAInternalMarketingRateHdr instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionUse with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<PRAInternalMarketingRateHdr>Selector for all available fields of PRAInternalMarketingRateHdr.static final SimpleProperty.String<PRAInternalMarketingRateHdr>static final SimpleProperty.String<PRAInternalMarketingRateHdr>static final SimpleProperty.String<PRAInternalMarketingRateHdr>static final SimpleProperty.DateTime<PRAInternalMarketingRateHdr>static final SimpleProperty.Date<PRAInternalMarketingRateHdr>static final SimpleProperty.Date<PRAInternalMarketingRateHdr>static final SimpleProperty.String<PRAInternalMarketingRateHdr>static final NavigationProperty.Collection<PRAInternalMarketingRateHdr,PRAInternalMarketingRateTrans> Use with available request builders to apply the _PRAIntMktgRateTransaction navigation property to query operations.static final SimpleProperty.String<PRAInternalMarketingRateHdr>static final SimpleProperty.String<PRAInternalMarketingRateHdr>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionPRAInternalMarketingRateHdr(String pRAMarketingRateNumber, String measurementPoint, String well, String wellCompletion, String majorProduct, LocalDate pRAMarketingEffctvFrmDte, LocalDate pRAMarketingEffctvToDte, String createdByUser, OffsetDateTime pRACreationDateTime, Collection<SAP__Message> _Messages, List<PRAInternalMarketingRateTrans> to_PRAIntMktgRateTransaction) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated PRAInternalMarketingRateTrans entities.builder()protected booleandeleteInternalMarketingRate(String well, String wellCompletion, String measurementPoint, String majorProduct, LocalDate pRAMarketingEffctvFrmDte, LocalDate pRAMarketingEffctvToDte) Action that can be applied to a collection of entities of this class.booleanprotected voidConstraints: Not nullableConstraints: Not nullable, Maximum length: 12protected Stringprotected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 20Constraints: Nullableio.vavr.control.Option<List<PRAInternalMarketingRateTrans>>Retrieval of associated PRAInternalMarketingRateTrans entities (one to many).Constraints: NullableConstraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 12getType()getWell()Constraints: Not nullable, Maximum length: 15Constraints: Not nullable, Maximum length: 5inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetCreatedByUser(String createdByUser) Constraints: Not nullable, Maximum length: 12voidsetMajorProduct(String majorProduct) Constraints: Not nullable, Maximum length: 1voidsetMeasurementPoint(String measurementPoint) Constraints: Not nullable, Maximum length: 20voidsetPRACreationDateTime(OffsetDateTime pRACreationDateTime) Constraints: NullablevoidOverwrites the list of associated PRAInternalMarketingRateTrans entities for the loaded navigation property _PRAIntMktgRateTransaction.voidsetPRAMarketingEffctvFrmDte(LocalDate pRAMarketingEffctvFrmDte) Constraints: NullablevoidsetPRAMarketingEffctvToDte(LocalDate pRAMarketingEffctvToDte) Constraints: NullablevoidsetPRAMarketingRateNumber(String pRAMarketingRateNumber) (Key Field) Constraints: Not nullable, Maximum length: 12voidConstraints: Not nullable, Maximum length: 15voidsetWellCompletion(String wellCompletion) Constraints: Not nullable, Maximum length: 5toString()updateInternalMarketingRate(String pRAMarketingRateNumber, String well, String wellCompletion, String measurementPoint, String majorProduct, LocalDate pRAMarketingEffctvFrmDte, LocalDate pRAMarketingEffctvToDte, Collection<D_PRAIntMktgRateUpdtDetP> _PRAIntMktgRateDet) Action that can be applied to a collection of entities of this class.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 PRAInternalMarketingRateHdr. -
PRA_MARKETING_RATE_NUMBER
-
MEASUREMENT_POINT
-
WELL
-
WELL_COMPLETION
-
MAJOR_PRODUCT
-
PRA_MARKETING_EFFCTV_FRM_DTE
-
PRA_MARKETING_EFFCTV_TO_DTE
-
CREATED_BY_USER
-
PRA_CREATION_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__P_R_A_INT_MKTG_RATE_TRANSACTION
public static final NavigationProperty.Collection<PRAInternalMarketingRateHdr,PRAInternalMarketingRateTrans> TO__P_R_A_INT_MKTG_RATE_TRANSACTIONUse with available request builders to apply the _PRAIntMktgRateTransaction navigation property to query operations.
-
-
Constructor Details
-
PRAInternalMarketingRateHdr
public PRAInternalMarketingRateHdr() -
PRAInternalMarketingRateHdr
public PRAInternalMarketingRateHdr(@Nullable String pRAMarketingRateNumber, @Nullable String measurementPoint, @Nullable String well, @Nullable String wellCompletion, @Nullable String majorProduct, @Nullable LocalDate pRAMarketingEffctvFrmDte, @Nullable LocalDate pRAMarketingEffctvToDte, @Nullable String createdByUser, @Nullable OffsetDateTime pRACreationDateTime, @Nullable Collection<SAP__Message> _Messages, List<PRAInternalMarketingRateTrans> to_PRAIntMktgRateTransaction)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PRAInternalMarketingRateHdr>
-
setPRAMarketingRateNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAMarketingRateNumber
- Parameters:
pRAMarketingRateNumber- Marketing Rate Number
-
setMeasurementPoint
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MeasurementPoint
- Parameters:
measurementPoint- Measurement point number
-
setWell
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Well
- Parameters:
well- Well ID number
-
setWellCompletion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: WellCompletion
- Parameters:
wellCompletion- Well Completion Number
-
setMajorProduct
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MajorProduct
- Parameters:
majorProduct- Major product code
-
setPRAMarketingEffctvFrmDte
Constraints: NullableOriginal property name from the Odata EDM: PRAMarketingEffctvFrmDte
- Parameters:
pRAMarketingEffctvFrmDte- Effective from date
-
setPRAMarketingEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRAMarketingEffctvToDte
- Parameters:
pRAMarketingEffctvToDte- Effective To Date
-
setCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Parameters:
createdByUser- Name of Person Responsible for Creating the Object
-
setPRACreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: PRACreationDateTime
- Parameters:
pRACreationDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PRAInternalMarketingRateHdr>
-
getKey
- Overrides:
getKeyin classVdmObject<PRAInternalMarketingRateHdr>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PRAInternalMarketingRateHdr>
-
fromMap
- Overrides:
fromMapin classVdmObject<PRAInternalMarketingRateHdr>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PRAInternalMarketingRateHdr>
-
getPRAIntMktgRateTransactionIfPresent
@Nonnull public io.vavr.control.Option<List<PRAInternalMarketingRateTrans>> getPRAIntMktgRateTransactionIfPresent()Retrieval of associated PRAInternalMarketingRateTrans entities (one to many). This corresponds to the OData navigation property _PRAIntMktgRateTransaction.If the navigation property for an entity PRAInternalMarketingRateHdr 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 _PRAIntMktgRateTransaction is already loaded, the
result will contain the PRAInternalMarketingRateTrans entities. If not, an
Optionwith result stateemptyis returned.
-
setPRAIntMktgRateTransaction
Overwrites the list of associated PRAInternalMarketingRateTrans entities for the loaded navigation property _PRAIntMktgRateTransaction.If the navigation property _PRAIntMktgRateTransaction of a queried PRAInternalMarketingRateHdr is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
value- List of PRAInternalMarketingRateTrans entities.
-
addPRAIntMktgRateTransaction
Adds elements to the list of associated PRAInternalMarketingRateTrans entities. This corresponds to the OData navigation property _PRAIntMktgRateTransaction.If the navigation property _PRAIntMktgRateTransaction of a queried PRAInternalMarketingRateHdr is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
- Parameters:
entity- Array of PRAInternalMarketingRateTrans entities.
-
updateInternalMarketingRate
@Nonnull public static BoundAction.CollectionToCollection<PRAInternalMarketingRateHdr,UpdateWithPRAKeysResult_Type> updateInternalMarketingRate(@Nonnull String pRAMarketingRateNumber, @Nonnull String well, @Nonnull String wellCompletion, @Nonnull String measurementPoint, @Nonnull String majorProduct, @Nullable LocalDate pRAMarketingEffctvFrmDte, @Nullable LocalDate pRAMarketingEffctvToDte, @Nonnull Collection<D_PRAIntMktgRateUpdtDetP> _PRAIntMktgRateDet) Action that can be applied to a collection of entities of this class.- Parameters:
pRAMarketingRateNumber- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: PRAMarketingRateNumber
well- Constraints: Not nullable, Maximum length: 15Original parameter name from the Odata EDM: Well
pRAMarketingEffctvToDte- Constraints: NullableOriginal parameter name from the Odata EDM: PRAMarketingEffctvToDte
majorProduct- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: MajorProduct
pRAMarketingEffctvFrmDte- Constraints: NullableOriginal parameter name from the Odata EDM: PRAMarketingEffctvFrmDte
measurementPoint- Constraints: Not nullable, Maximum length: 20Original parameter name from the Odata EDM: MeasurementPoint
_PRAIntMktgRateDet- Constraints: Not nullableOriginal parameter name from the Odata EDM: _PRAIntMktgRateDet
wellCompletion- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: WellCompletion
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
deleteInternalMarketingRate
@Nonnull public static BoundAction.CollectionToCollection<PRAInternalMarketingRateHdr,DeleteWithPRAKeysResult_Type> deleteInternalMarketingRate(@Nonnull String well, @Nonnull String wellCompletion, @Nonnull String measurementPoint, @Nonnull String majorProduct, @Nullable LocalDate pRAMarketingEffctvFrmDte, @Nullable LocalDate pRAMarketingEffctvToDte) Action that can be applied to a collection of entities of this class.- Parameters:
well- Constraints: Not nullable, Maximum length: 15Original parameter name from the Odata EDM: Well
pRAMarketingEffctvToDte- Constraints: NullableOriginal parameter name from the Odata EDM: PRAMarketingEffctvToDte
majorProduct- Constraints: Not nullable, Maximum length: 1Original parameter name from the Odata EDM: MajorProduct
pRAMarketingEffctvFrmDte- Constraints: NullableOriginal parameter name from the Odata EDM: PRAMarketingEffctvFrmDte
measurementPoint- Constraints: Not nullable, Maximum length: 20Original parameter name from the Odata EDM: MeasurementPoint
wellCompletion- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: WellCompletion
- Returns:
- Action object prepared with the given parameters to be applied to a collection of entities of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getPRAMarketingRateNumber
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: PRAMarketingRateNumber
- Returns:
- Marketing Rate Number
-
getMeasurementPoint
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MeasurementPoint
- Returns:
- Measurement point number
-
getWell
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: Well
- Returns:
- Well ID number
-
getWellCompletion
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: WellCompletion
- Returns:
- Well Completion Number
-
getMajorProduct
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: MajorProduct
- Returns:
- Major product code
-
getPRAMarketingEffctvFrmDte
Constraints: NullableOriginal property name from the Odata EDM: PRAMarketingEffctvFrmDte
- Returns:
- Effective from date
-
getPRAMarketingEffctvToDte
Constraints: NullableOriginal property name from the Odata EDM: PRAMarketingEffctvToDte
- Returns:
- Effective To Date
-
getCreatedByUser
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: CreatedByUser
- Returns:
- Name of Person Responsible for Creating the Object
-
getPRACreationDateTime
Constraints: NullableOriginal property name from the Odata EDM: PRACreationDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<PRAInternalMarketingRateHdr>
-
equals
- Overrides:
equalsin classVdmEntity<PRAInternalMarketingRateHdr>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PRAInternalMarketingRateHdr>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PRAInternalMarketingRateHdr>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PRAInternalMarketingRateHdr>
-