Class FailedMeasurementReading
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: FailedMeasurementReadingType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of FailedMeasurementReading instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<FailedMeasurementReading,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<FailedMeasurementReading>Selector for all available fields of FailedMeasurementReading.static final SimpleProperty.DateTime<FailedMeasurementReading>static final SimpleProperty.String<FailedMeasurementReading>static final SimpleProperty.Date<FailedMeasurementReading>static final SimpleProperty.String<FailedMeasurementReading>static final SimpleProperty.Time<FailedMeasurementReading>static final SimpleProperty.String<FailedMeasurementReading>Use with available request builders to apply the _MeasurementDocument 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
ConstructorsConstructorDescriptionFailedMeasurementReading(LocalDate msmtRdngDate, LocalTime msmtRdngTime, String msmtRdngSourceMeasurementDoc, String measuringPoint, String msmtRdngTransfFailedMsgNumber, OffsetDateTime measurementReadingDateTime, Collection<SAP__Message> _Messages, MeasurementDocument to_MeasurementDocument) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected Stringprotected ODataEntityKeygetKey()io.vavr.control.Option<MeasurementDocument>Retrieval of associated MeasurementDocument entity (one to one).Constraints: Nullable(Key Field) Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 3getType()inthashCode()Action that can be applied to any entity object of this class.voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidOverwrites the associated MeasurementDocument entity for the loaded navigation property _MeasurementDocument.voidsetMeasurementReadingDateTime(OffsetDateTime measurementReadingDateTime) Constraints: NullablevoidsetMeasuringPoint(String measuringPoint) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetMsmtRdngDate(LocalDate msmtRdngDate) (Key Field) Constraints: Not nullablevoidsetMsmtRdngSourceMeasurementDoc(String msmtRdngSourceMeasurementDoc) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetMsmtRdngTime(LocalTime msmtRdngTime) (Key Field) Constraints: Not nullablevoidsetMsmtRdngTransfFailedMsgNumber(String msmtRdngTransfFailedMsgNumber) Constraints: Not nullable, Maximum length: 3toString()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 FailedMeasurementReading. -
MSMT_RDNG_DATE
-
MSMT_RDNG_TIME
-
MSMT_RDNG_SOURCE_MEASUREMENT_DOC
public static final SimpleProperty.String<FailedMeasurementReading> MSMT_RDNG_SOURCE_MEASUREMENT_DOC -
MEASURING_POINT
-
MSMT_RDNG_TRANSF_FAILED_MSG_NUMBER
public static final SimpleProperty.String<FailedMeasurementReading> MSMT_RDNG_TRANSF_FAILED_MSG_NUMBER -
MEASUREMENT_READING_DATE_TIME
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__MEASUREMENT_DOCUMENT
public static final NavigationProperty.Single<FailedMeasurementReading,MeasurementDocument> TO__MEASUREMENT_DOCUMENTUse with available request builders to apply the _MeasurementDocument navigation property to query operations.
-
-
Constructor Details
-
FailedMeasurementReading
public FailedMeasurementReading() -
FailedMeasurementReading
public FailedMeasurementReading(@Nullable LocalDate msmtRdngDate, @Nullable LocalTime msmtRdngTime, @Nullable String msmtRdngSourceMeasurementDoc, @Nullable String measuringPoint, @Nullable String msmtRdngTransfFailedMsgNumber, @Nullable OffsetDateTime measurementReadingDateTime, @Nullable Collection<SAP__Message> _Messages, @Nullable MeasurementDocument to_MeasurementDocument)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<FailedMeasurementReading>
-
setMsmtRdngDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MsmtRdngDate
- Parameters:
msmtRdngDate- Date of the Measurement
-
setMsmtRdngTime
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MsmtRdngTime
- Parameters:
msmtRdngTime- Time of Measurement
-
setMsmtRdngSourceMeasurementDoc
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MsmtRdngSourceMeasurementDoc
- Parameters:
msmtRdngSourceMeasurementDoc- Source Document for Measurement Reading Transfer
-
setMeasuringPoint
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MeasuringPoint
- Parameters:
measuringPoint- Measuring Point
-
setMsmtRdngTransfFailedMsgNumber
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MsmtRdngTransfFailedMsgNumber
- Parameters:
msmtRdngTransfFailedMsgNumber- Message Number
-
setMeasurementReadingDateTime
Constraints: NullableOriginal property name from the Odata EDM: MeasurementReadingDateTime
- Parameters:
measurementReadingDateTime- 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<FailedMeasurementReading>
-
getKey
- Overrides:
getKeyin classVdmObject<FailedMeasurementReading>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<FailedMeasurementReading>
-
fromMap
- Overrides:
fromMapin classVdmObject<FailedMeasurementReading>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<FailedMeasurementReading>
-
getMeasurementDocumentIfPresent
Retrieval of associated MeasurementDocument entity (one to one). This corresponds to the OData navigation property _MeasurementDocument.If the navigation property for an entity FailedMeasurementReading 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 _MeasurementDocument is already loaded, the result will
contain the MeasurementDocument entity. If not, an
Optionwith result stateemptyis returned.
-
setMeasurementDocument
Overwrites the associated MeasurementDocument entity for the loaded navigation property _MeasurementDocument.- Parameters:
value- New MeasurementDocument entity.
-
repeatMsmtReadingTransfer
@Nonnull public static BoundAction.SingleToSingle<FailedMeasurementReading,FailedMeasurementReading> repeatMsmtReadingTransfer()Action that can be applied to any entity object of this class.- Returns:
- Action object prepared with the given parameters to be applied to any entity object of this class.
To execute it use the
service.forEntity(entity).applyAction(thisAction)API.
-
builder
-
getMsmtRdngDate
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MsmtRdngDate
- Returns:
- Date of the Measurement
-
getMsmtRdngTime
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MsmtRdngTime
- Returns:
- Time of Measurement
-
getMsmtRdngSourceMeasurementDoc
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MsmtRdngSourceMeasurementDoc
- Returns:
- Source Document for Measurement Reading Transfer
-
getMeasuringPoint
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MeasuringPoint
- Returns:
- Measuring Point
-
getMsmtRdngTransfFailedMsgNumber
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: MsmtRdngTransfFailedMsgNumber
- Returns:
- Message Number
-
getMeasurementReadingDateTime
Constraints: NullableOriginal property name from the Odata EDM: MeasurementReadingDateTime
- 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<FailedMeasurementReading>
-
equals
- Overrides:
equalsin classVdmEntity<FailedMeasurementReading>
-
canEqual
- Overrides:
canEqualin classVdmEntity<FailedMeasurementReading>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<FailedMeasurementReading>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<FailedMeasurementReading>
-