public class MeasurementDocument extends VdmEntity<MeasurementDocument>
Original entity name from the Odata EDM: MeasurementDocumentType
Modifier and Type | Class and Description |
---|---|
static class |
MeasurementDocument.MeasurementDocumentBuilder
Helper class to allow for fluent creation of MeasurementDocument instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
MeasurementDocument() |
MeasurementDocument(String measurementDocument,
String measuringPoint,
String measuringPointPositionNumber,
LocalDate msmtRdngDate,
LocalTime msmtRdngTime,
String characteristic,
String msmtDocumentReferredOrder,
String refdMaintOrderOpStatusObject,
String maintenanceOrderOperation,
String maintenanceOrderSubOperation,
Boolean msmtIsDoneAfterTaskCompltn,
String charcValueUnit,
Double measurementReading,
Double measurementReadingInEntryUoM,
String measurementReadingEntryUoM,
Double measurementCounterReading,
Double msmtCounterReadingDifference,
Boolean totalMsmtRdngIsSetExternally,
Double measuringPointTargetValue,
String msmtValuationCode,
String measurementDocumentText,
Boolean measurementDocumentHasLongText,
String msmtRdngByUser,
String msmtRdngStatus,
Boolean msmtCntrReadingDiffIsEntered,
Boolean msmtRdngIsReversed,
Collection<SAP__Message> _Messages,
MsmtDocumentLongText to_MeasurementDocumentLongText) |
Modifier and Type | Method and Description |
---|---|
static MeasurementDocument.MeasurementDocumentBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
Collection<SAP__Message> |
get_Messages()
Constraints: Not nullable
|
String |
getCharacteristic()
Constraints: Not nullable, Maximum length: 30
|
String |
getCharcValueUnit()
Constraints: Not nullable, Maximum length: 3
|
protected String |
getDefaultServicePath()
Used by request builders and navigation property methods to construct OData requests.
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getMaintenanceOrderOperation()
Constraints: Not nullable, Maximum length: 4
|
String |
getMaintenanceOrderSubOperation()
Constraints: Not nullable, Maximum length: 4
|
Double |
getMeasurementCounterReading()
Constraints: Not nullable
|
String |
getMeasurementDocument()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
Boolean |
getMeasurementDocumentHasLongText()
Constraints: Not nullable
|
io.vavr.control.Option<MsmtDocumentLongText> |
getMeasurementDocumentLongTextIfPresent()
Retrieval of associated MsmtDocumentLongText entity (one to one).
|
String |
getMeasurementDocumentText()
Constraints: Not nullable, Maximum length: 40
|
Double |
getMeasurementReading()
Constraints: Not nullable
|
String |
getMeasurementReadingEntryUoM()
Constraints: Not nullable, Maximum length: 3
|
Double |
getMeasurementReadingInEntryUoM()
Constraints: Not nullable
|
String |
getMeasuringPoint()
Constraints: Not nullable, Maximum length: 12
|
String |
getMeasuringPointPositionNumber()
Constraints: Not nullable, Maximum length: 20
|
Double |
getMeasuringPointTargetValue()
Constraints: Not nullable
|
Boolean |
getMsmtCntrReadingDiffIsEntered()
Constraints: Not nullable
|
Double |
getMsmtCounterReadingDifference()
Constraints: Not nullable
|
String |
getMsmtDocumentReferredOrder()
Constraints: Not nullable, Maximum length: 22
|
Boolean |
getMsmtIsDoneAfterTaskCompltn()
Constraints: Not nullable
|
String |
getMsmtRdngByUser()
Constraints: Not nullable, Maximum length: 12
|
LocalDate |
getMsmtRdngDate()
Constraints: Nullable
|
Boolean |
getMsmtRdngIsReversed()
Constraints: Not nullable
|
String |
getMsmtRdngStatus()
Constraints: Not nullable, Maximum length: 1
|
LocalTime |
getMsmtRdngTime()
Constraints: Not nullable
|
String |
getMsmtValuationCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getOdataType() |
String |
getRefdMaintOrderOpStatusObject()
Constraints: Not nullable, Maximum length: 22
|
Boolean |
getTotalMsmtRdngIsSetExternally()
Constraints: Not nullable
|
Class<MeasurementDocument> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setCharacteristic(String characteristic)
Constraints: Not nullable, Maximum length: 30
|
void |
setCharcValueUnit(String charcValueUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setMaintenanceOrderOperation(String maintenanceOrderOperation)
Constraints: Not nullable, Maximum length: 4
|
void |
setMaintenanceOrderSubOperation(String maintenanceOrderSubOperation)
Constraints: Not nullable, Maximum length: 4
|
void |
setMeasurementCounterReading(Double measurementCounterReading)
Constraints: Not nullable
|
void |
setMeasurementDocument(String measurementDocument)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setMeasurementDocumentHasLongText(Boolean measurementDocumentHasLongText)
Constraints: Not nullable
|
void |
setMeasurementDocumentLongText(MsmtDocumentLongText value)
Overwrites the associated MsmtDocumentLongText entity for the loaded navigation property
_MeasurementDocumentLongText.
|
void |
setMeasurementDocumentText(String measurementDocumentText)
Constraints: Not nullable, Maximum length: 40
|
void |
setMeasurementReading(Double measurementReading)
Constraints: Not nullable
|
void |
setMeasurementReadingEntryUoM(String measurementReadingEntryUoM)
Constraints: Not nullable, Maximum length: 3
|
void |
setMeasurementReadingInEntryUoM(Double measurementReadingInEntryUoM)
Constraints: Not nullable
|
void |
setMeasuringPoint(String measuringPoint)
Constraints: Not nullable, Maximum length: 12
|
void |
setMeasuringPointPositionNumber(String measuringPointPositionNumber)
Constraints: Not nullable, Maximum length: 20
|
void |
setMeasuringPointTargetValue(Double measuringPointTargetValue)
Constraints: Not nullable
|
void |
setMsmtCntrReadingDiffIsEntered(Boolean msmtCntrReadingDiffIsEntered)
Constraints: Not nullable
|
void |
setMsmtCounterReadingDifference(Double msmtCounterReadingDifference)
Constraints: Not nullable
|
void |
setMsmtDocumentReferredOrder(String msmtDocumentReferredOrder)
Constraints: Not nullable, Maximum length: 22
|
void |
setMsmtIsDoneAfterTaskCompltn(Boolean msmtIsDoneAfterTaskCompltn)
Constraints: Not nullable
|
void |
setMsmtRdngByUser(String msmtRdngByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setMsmtRdngDate(LocalDate msmtRdngDate)
Constraints: Nullable
|
void |
setMsmtRdngIsReversed(Boolean msmtRdngIsReversed)
Constraints: Not nullable
|
void |
setMsmtRdngStatus(String msmtRdngStatus)
Constraints: Not nullable, Maximum length: 1
|
void |
setMsmtRdngTime(LocalTime msmtRdngTime)
Constraints: Not nullable
|
void |
setMsmtValuationCode(String msmtValuationCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setRefdMaintOrderOpStatusObject(String refdMaintOrderOpStatusObject)
Constraints: Not nullable, Maximum length: 22
|
void |
setTotalMsmtRdngIsSetExternally(Boolean totalMsmtRdngIsSetExternally)
Constraints: Not nullable
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<MeasurementDocument> ALL_FIELDS
public static final SimpleProperty.String<MeasurementDocument> MEASUREMENT_DOCUMENT
public static final SimpleProperty.String<MeasurementDocument> MEASURING_POINT
public static final SimpleProperty.String<MeasurementDocument> MEASURING_POINT_POSITION_NUMBER
public static final SimpleProperty.Date<MeasurementDocument> MSMT_RDNG_DATE
public static final SimpleProperty.Time<MeasurementDocument> MSMT_RDNG_TIME
public static final SimpleProperty.String<MeasurementDocument> CHARACTERISTIC
public static final SimpleProperty.String<MeasurementDocument> MSMT_DOCUMENT_REFERRED_ORDER
public static final SimpleProperty.String<MeasurementDocument> REFD_MAINT_ORDER_OP_STATUS_OBJECT
public static final SimpleProperty.String<MeasurementDocument> MAINTENANCE_ORDER_OPERATION
public static final SimpleProperty.String<MeasurementDocument> MAINTENANCE_ORDER_SUB_OPERATION
public static final SimpleProperty.Boolean<MeasurementDocument> MSMT_IS_DONE_AFTER_TASK_COMPLTN
public static final SimpleProperty.String<MeasurementDocument> CHARC_VALUE_UNIT
public static final SimpleProperty.NumericDecimal<MeasurementDocument> MEASUREMENT_READING
public static final SimpleProperty.NumericDecimal<MeasurementDocument> MEASUREMENT_READING_IN_ENTRY_UO_M
public static final SimpleProperty.String<MeasurementDocument> MEASUREMENT_READING_ENTRY_UO_M
public static final SimpleProperty.NumericDecimal<MeasurementDocument> MEASUREMENT_COUNTER_READING
public static final SimpleProperty.NumericDecimal<MeasurementDocument> MSMT_COUNTER_READING_DIFFERENCE
public static final SimpleProperty.Boolean<MeasurementDocument> TOTAL_MSMT_RDNG_IS_SET_EXTERNALLY
public static final SimpleProperty.NumericDecimal<MeasurementDocument> MEASURING_POINT_TARGET_VALUE
public static final SimpleProperty.String<MeasurementDocument> MSMT_VALUATION_CODE
public static final SimpleProperty.String<MeasurementDocument> MEASUREMENT_DOCUMENT_TEXT
public static final SimpleProperty.Boolean<MeasurementDocument> MEASUREMENT_DOCUMENT_HAS_LONG_TEXT
public static final SimpleProperty.String<MeasurementDocument> MSMT_RDNG_BY_USER
public static final SimpleProperty.String<MeasurementDocument> MSMT_RDNG_STATUS
public static final SimpleProperty.Boolean<MeasurementDocument> MSMT_CNTR_READING_DIFF_IS_ENTERED
public static final SimpleProperty.Boolean<MeasurementDocument> MSMT_RDNG_IS_REVERSED
public static final ComplexProperty.Collection<MeasurementDocument,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<MeasurementDocument,MsmtDocumentLongText> TO__MEASUREMENT_DOCUMENT_LONG_TEXT
public MeasurementDocument()
public MeasurementDocument(@Nullable String measurementDocument, @Nullable String measuringPoint, @Nullable String measuringPointPositionNumber, @Nullable LocalDate msmtRdngDate, @Nullable LocalTime msmtRdngTime, @Nullable String characteristic, @Nullable String msmtDocumentReferredOrder, @Nullable String refdMaintOrderOpStatusObject, @Nullable String maintenanceOrderOperation, @Nullable String maintenanceOrderSubOperation, @Nullable Boolean msmtIsDoneAfterTaskCompltn, @Nullable String charcValueUnit, @Nullable Double measurementReading, @Nullable Double measurementReadingInEntryUoM, @Nullable String measurementReadingEntryUoM, @Nullable Double measurementCounterReading, @Nullable Double msmtCounterReadingDifference, @Nullable Boolean totalMsmtRdngIsSetExternally, @Nullable Double measuringPointTargetValue, @Nullable String msmtValuationCode, @Nullable String measurementDocumentText, @Nullable Boolean measurementDocumentHasLongText, @Nullable String msmtRdngByUser, @Nullable String msmtRdngStatus, @Nullable Boolean msmtCntrReadingDiffIsEntered, @Nullable Boolean msmtRdngIsReversed, @Nullable Collection<SAP__Message> _Messages, @Nullable MsmtDocumentLongText to_MeasurementDocumentLongText)
@Nonnull public Class<MeasurementDocument> getType()
getType
in class VdmObject<MeasurementDocument>
public void setMeasurementDocument(@Nullable String measurementDocument)
Original property name from the Odata EDM: MeasurementDocument
measurementDocument
- Measurement Documentpublic void setMeasuringPoint(@Nullable String measuringPoint)
Original property name from the Odata EDM: MeasuringPoint
measuringPoint
- Measuring Pointpublic void setMeasuringPointPositionNumber(@Nullable String measuringPointPositionNumber)
Original property name from the Odata EDM: MeasuringPointPositionNumber
measuringPointPositionNumber
- Position Number of the Object Measuring Point (Sort Field)public void setMsmtRdngDate(@Nullable LocalDate msmtRdngDate)
Original property name from the Odata EDM: MsmtRdngDate
msmtRdngDate
- Date of the Measurementpublic void setMsmtRdngTime(@Nullable LocalTime msmtRdngTime)
Original property name from the Odata EDM: MsmtRdngTime
msmtRdngTime
- Time of Measurementpublic void setCharacteristic(@Nullable String characteristic)
Original property name from the Odata EDM: Characteristic
characteristic
- Characteristic Namepublic void setMsmtDocumentReferredOrder(@Nullable String msmtDocumentReferredOrder)
Original property name from the Odata EDM: MsmtDocumentReferredOrder
msmtDocumentReferredOrder
- Object Number of Orderpublic void setRefdMaintOrderOpStatusObject(@Nullable String refdMaintOrderOpStatusObject)
Original property name from the Odata EDM: RefdMaintOrderOpStatusObject
refdMaintOrderOpStatusObject
- Object Number of Order Operation/Confirmation Counter etc.public void setMaintenanceOrderOperation(@Nullable String maintenanceOrderOperation)
Original property name from the Odata EDM: MaintenanceOrderOperation
maintenanceOrderOperation
- Order Operationpublic void setMaintenanceOrderSubOperation(@Nullable String maintenanceOrderSubOperation)
Original property name from the Odata EDM: MaintenanceOrderSubOperation
maintenanceOrderSubOperation
- Order Operationpublic void setMsmtIsDoneAfterTaskCompltn(@Nullable Boolean msmtIsDoneAfterTaskCompltn)
Original property name from the Odata EDM: MsmtIsDoneAfterTaskCompltn
msmtIsDoneAfterTaskCompltn
- Indicator: MeasDoc. Created After Associated Taskpublic void setCharcValueUnit(@Nullable String charcValueUnit)
Original property name from the Odata EDM: CharcValueUnit
charcValueUnit
- Unit of Measurementpublic void setMeasurementReading(@Nullable Double measurementReading)
Original property name from the Odata EDM: MeasurementReading
measurementReading
- Measurement Reading/Total Counter Reading in SI Unitpublic void setMeasurementReadingInEntryUoM(@Nullable Double measurementReadingInEntryUoM)
Original property name from the Odata EDM: MeasurementReadingInEntryUoM
measurementReadingInEntryUoM
- Measurement Reading in Unit of Entrypublic void setMeasurementReadingEntryUoM(@Nullable String measurementReadingEntryUoM)
Original property name from the Odata EDM: MeasurementReadingEntryUoM
measurementReadingEntryUoM
- Unit of Measurement for Document Entrypublic void setMeasurementCounterReading(@Nullable Double measurementCounterReading)
Original property name from the Odata EDM: MeasurementCounterReading
measurementCounterReading
- Counter Reading in SI Unitpublic void setMsmtCounterReadingDifference(@Nullable Double msmtCounterReadingDifference)
Original property name from the Odata EDM: MsmtCounterReadingDifference
msmtCounterReadingDifference
- Counter Reading Difference in SI Unitpublic void setTotalMsmtRdngIsSetExternally(@Nullable Boolean totalMsmtRdngIsSetExternally)
Original property name from the Odata EDM: TotalMsmtRdngIsSetExternally
totalMsmtRdngIsSetExternally
- Indicator: Total Counter Reading Set Externallypublic void setMeasuringPointTargetValue(@Nullable Double measuringPointTargetValue)
Original property name from the Odata EDM: MeasuringPointTargetValue
measuringPointTargetValue
- Measuring Point Target Valuepublic void setMsmtValuationCode(@Nullable String msmtValuationCode)
Original property name from the Odata EDM: MsmtValuationCode
msmtValuationCode
- Valuation Codepublic void setMeasurementDocumentText(@Nullable String measurementDocumentText)
Original property name from the Odata EDM: MeasurementDocumentText
measurementDocumentText
- Measurement Document Textpublic void setMeasurementDocumentHasLongText(@Nullable Boolean measurementDocumentHasLongText)
Original property name from the Odata EDM: MeasurementDocumentHasLongText
measurementDocumentHasLongText
- Long Text Existspublic void setMsmtRdngByUser(@Nullable String msmtRdngByUser)
Original property name from the Odata EDM: MsmtRdngByUser
msmtRdngByUser
- Person who Took the Measurement Readingpublic void setMsmtRdngStatus(@Nullable String msmtRdngStatus)
Original property name from the Odata EDM: MsmtRdngStatus
msmtRdngStatus
- Processing Statuspublic void setMsmtCntrReadingDiffIsEntered(@Nullable Boolean msmtCntrReadingDiffIsEntered)
Original property name from the Odata EDM: MsmtCntrReadingDiffIsEntered
msmtCntrReadingDiffIsEntered
- Indicator: Counter Reading Entered as Differencepublic void setMsmtRdngIsReversed(@Nullable Boolean msmtRdngIsReversed)
Original property name from the Odata EDM: MsmtRdngIsReversed
msmtRdngIsReversed
- Reversal Indicatorpublic void set_Messages(@Nullable Collection<SAP__Message> _Messages)
Original property name from the Odata EDM: SAP__Messages
_Messages
- The _Messages to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<MeasurementDocument>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<MeasurementDocument>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<MeasurementDocument>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<MeasurementDocument>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<MeasurementDocument>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<MeasurementDocument>
@Nonnull public io.vavr.control.Option<MsmtDocumentLongText> getMeasurementDocumentLongTextIfPresent()
If the navigation property for an entity MeasurementDocument has not been resolved yet, this method will
not query further information. Instead its Option
result state will be empty
.
Option
with result
state empty
is returned.public void setMeasurementDocumentLongText(MsmtDocumentLongText value)
value
- New MsmtDocumentLongText entity.@Nonnull public static MeasurementDocument.MeasurementDocumentBuilder builder()
@Nullable public String getMeasurementDocument()
Original property name from the Odata EDM: MeasurementDocument
@Nullable public String getMeasuringPoint()
Original property name from the Odata EDM: MeasuringPoint
@Nullable public String getMeasuringPointPositionNumber()
Original property name from the Odata EDM: MeasuringPointPositionNumber
@Nullable public LocalDate getMsmtRdngDate()
Original property name from the Odata EDM: MsmtRdngDate
@Nullable public LocalTime getMsmtRdngTime()
Original property name from the Odata EDM: MsmtRdngTime
@Nullable public String getCharacteristic()
Original property name from the Odata EDM: Characteristic
@Nullable public String getMsmtDocumentReferredOrder()
Original property name from the Odata EDM: MsmtDocumentReferredOrder
@Nullable public String getRefdMaintOrderOpStatusObject()
Original property name from the Odata EDM: RefdMaintOrderOpStatusObject
@Nullable public String getMaintenanceOrderOperation()
Original property name from the Odata EDM: MaintenanceOrderOperation
@Nullable public String getMaintenanceOrderSubOperation()
Original property name from the Odata EDM: MaintenanceOrderSubOperation
@Nullable public Boolean getMsmtIsDoneAfterTaskCompltn()
Original property name from the Odata EDM: MsmtIsDoneAfterTaskCompltn
@Nullable public String getCharcValueUnit()
Original property name from the Odata EDM: CharcValueUnit
@Nullable public Double getMeasurementReading()
Original property name from the Odata EDM: MeasurementReading
@Nullable public Double getMeasurementReadingInEntryUoM()
Original property name from the Odata EDM: MeasurementReadingInEntryUoM
@Nullable public String getMeasurementReadingEntryUoM()
Original property name from the Odata EDM: MeasurementReadingEntryUoM
@Nullable public Double getMeasurementCounterReading()
Original property name from the Odata EDM: MeasurementCounterReading
@Nullable public Double getMsmtCounterReadingDifference()
Original property name from the Odata EDM: MsmtCounterReadingDifference
@Nullable public Boolean getTotalMsmtRdngIsSetExternally()
Original property name from the Odata EDM: TotalMsmtRdngIsSetExternally
@Nullable public Double getMeasuringPointTargetValue()
Original property name from the Odata EDM: MeasuringPointTargetValue
@Nullable public String getMsmtValuationCode()
Original property name from the Odata EDM: MsmtValuationCode
@Nullable public String getMeasurementDocumentText()
Original property name from the Odata EDM: MeasurementDocumentText
@Nullable public Boolean getMeasurementDocumentHasLongText()
Original property name from the Odata EDM: MeasurementDocumentHasLongText
@Nullable public String getMsmtRdngByUser()
Original property name from the Odata EDM: MsmtRdngByUser
@Nullable public String getMsmtRdngStatus()
Original property name from the Odata EDM: MsmtRdngStatus
@Nullable public Boolean getMsmtCntrReadingDiffIsEntered()
Original property name from the Odata EDM: MsmtCntrReadingDiffIsEntered
@Nullable public Boolean getMsmtRdngIsReversed()
Original property name from the Odata EDM: MsmtRdngIsReversed
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<MeasurementDocument>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<MeasurementDocument>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<MeasurementDocument>
public int hashCode()
hashCode
in class VdmEntity<MeasurementDocument>
public String getOdataType()
getOdataType
in class VdmObject<MeasurementDocument>
Copyright © 2021 SAP SE. All rights reserved.