public class MsmtDocumentLongText extends VdmEntity<MsmtDocumentLongText>
Original entity name from the Odata EDM: MsmtDocumentLongTextType
Modifier and Type | Class and Description |
---|---|
static class |
MsmtDocumentLongText.MsmtDocumentLongTextBuilder
Helper class to allow for fluent creation of MsmtDocumentLongText instances.
|
Modifier and Type | Field and Description |
---|---|
static ComplexProperty.Collection<MsmtDocumentLongText,SAP__Message> |
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations.
|
static SimpleProperty<MsmtDocumentLongText> |
ALL_FIELDS
Selector for all available fields of MsmtDocumentLongText.
|
static SimpleProperty.String<MsmtDocumentLongText> |
MEASUREMENT_DOCUMENT |
static SimpleProperty.String<MsmtDocumentLongText> |
MEASUREMENT_DOCUMENT_LONG_TEXT |
static NavigationProperty.Single<MsmtDocumentLongText,MeasurementDocument> |
TO__MEASUREMENT_DOCUMENT
Use with available request builders to apply the _MeasurementDocument navigation property to query
operations.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
MsmtDocumentLongText() |
MsmtDocumentLongText(String measurementDocument,
String measurementDocumentLongText,
Collection<SAP__Message> _Messages,
MeasurementDocument to_MeasurementDocument) |
Modifier and Type | Method and Description |
---|---|
static MsmtDocumentLongText.MsmtDocumentLongTextBuilder |
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
|
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 |
getMeasurementDocument()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
io.vavr.control.Option<MeasurementDocument> |
getMeasurementDocumentIfPresent()
Retrieval of associated MeasurementDocument entity (one to one).
|
String |
getMeasurementDocumentLongText()
Constraints: Not nullable
|
String |
getOdataType() |
Class<MsmtDocumentLongText> |
getType() |
int |
hashCode() |
void |
set_Messages(Collection<SAP__Message> _Messages)
Constraints: Not nullable
|
void |
setMeasurementDocument(MeasurementDocument value)
Overwrites the associated MeasurementDocument entity for the loaded navigation property
_MeasurementDocument.
|
void |
setMeasurementDocument(String measurementDocument)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setMeasurementDocumentLongText(String measurementDocumentLongText)
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<MsmtDocumentLongText> ALL_FIELDS
public static final SimpleProperty.String<MsmtDocumentLongText> MEASUREMENT_DOCUMENT
public static final SimpleProperty.String<MsmtDocumentLongText> MEASUREMENT_DOCUMENT_LONG_TEXT
public static final ComplexProperty.Collection<MsmtDocumentLongText,SAP__Message> _MESSAGES
public static final NavigationProperty.Single<MsmtDocumentLongText,MeasurementDocument> TO__MEASUREMENT_DOCUMENT
public MsmtDocumentLongText()
public MsmtDocumentLongText(@Nullable String measurementDocument, @Nullable String measurementDocumentLongText, @Nullable Collection<SAP__Message> _Messages, @Nullable MeasurementDocument to_MeasurementDocument)
@Nonnull public Class<MsmtDocumentLongText> getType()
getType
in class VdmObject<MsmtDocumentLongText>
public void setMeasurementDocument(@Nullable String measurementDocument)
Original property name from the Odata EDM: MeasurementDocument
measurementDocument
- Measurement Documentpublic void setMeasurementDocumentLongText(@Nullable String measurementDocumentLongText)
Original property name from the Odata EDM: MeasurementDocumentLongText
measurementDocumentLongText
- Long Textpublic 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<MsmtDocumentLongText>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<MsmtDocumentLongText>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<MsmtDocumentLongText>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<MsmtDocumentLongText>
inputValues
- The key-value map.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<MsmtDocumentLongText>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<MsmtDocumentLongText>
@Nonnull public io.vavr.control.Option<MeasurementDocument> getMeasurementDocumentIfPresent()
If the navigation property for an entity MsmtDocumentLongText 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 setMeasurementDocument(MeasurementDocument value)
value
- New MeasurementDocument entity.@Nonnull public static MsmtDocumentLongText.MsmtDocumentLongTextBuilder builder()
@Nullable public String getMeasurementDocument()
Original property name from the Odata EDM: MeasurementDocument
@Nullable public String getMeasurementDocumentLongText()
Original property name from the Odata EDM: MeasurementDocumentLongText
@Nullable public Collection<SAP__Message> get_Messages()
Original property name from the Odata EDM: SAP__Messages
@Nonnull public String toString()
toString
in class VdmObject<MsmtDocumentLongText>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<MsmtDocumentLongText>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<MsmtDocumentLongText>
public int hashCode()
hashCode
in class VdmEntity<MsmtDocumentLongText>
public String getOdataType()
getOdataType
in class VdmObject<MsmtDocumentLongText>
Copyright © 2021 SAP SE. All rights reserved.