Class PurchaseOrderNote
java.lang.Object
com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity<PurchaseOrderNote>
com.sap.cloud.sdk.s4hana.datamodel.odatav4.namespaces.purchaseorder.PurchaseOrderNote
- All Implemented Interfaces:
VdmEntitySet
Header Notes
Original entity name from the Odata EDM: PurchaseOrderNote_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseOrderNote instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PurchaseOrderNote>Selector for all available fields of PurchaseOrderNote.static final SimpleProperty.String<PurchaseOrderNote>static final SimpleProperty.String<PurchaseOrderNote>static final SimpleProperty.String<PurchaseOrderNote>static final SimpleProperty.String<PurchaseOrderNote>static final NavigationProperty.Single<PurchaseOrderNote,PurchaseOrder> Use with available request builders to apply the _PurchaseOrder 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
ConstructorsConstructorDescriptionPurchaseOrderNote(String purchaseOrder, String textObjectType, String language, String plainLongText, PurchaseOrder to_PurchaseOrder) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidprotected Stringprotected Stringprotected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<PurchaseOrder>Retrieval of associated PurchaseOrder entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPlainLongText(String plainLongText) Constraints: Not nullablevoidsetPurchaseOrder(PurchaseOrder value) Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.voidsetPurchaseOrder(String purchaseOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetTextObjectType(String textObjectType) (Key Field) Constraints: Not nullable, Maximum length: 4toString()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 PurchaseOrderNote. -
PURCHASE_ORDER
-
TEXT_OBJECT_TYPE
-
LANGUAGE
-
PLAIN_LONG_TEXT
-
TO__PURCHASE_ORDER
Use with available request builders to apply the _PurchaseOrder navigation property to query operations.
-
-
Constructor Details
-
PurchaseOrderNote
public PurchaseOrderNote() -
PurchaseOrderNote
public PurchaseOrderNote(@Nullable String purchaseOrder, @Nullable String textObjectType, @Nullable String language, @Nullable String plainLongText, @Nullable PurchaseOrder to_PurchaseOrder)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseOrderNote>
-
setPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Parameters:
purchaseOrder- Purchase Order Number
-
setTextObjectType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TextObjectType
- Parameters:
textObjectType- Text ID
-
setLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Parameters:
language- Language Key
-
setPlainLongText
Constraints: Not nullableOriginal property name from the Odata EDM: PlainLongText
- Parameters:
plainLongText- Long Text
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseOrderNote>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseOrderNote>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseOrderNote>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseOrderNote>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseOrderNote>
-
getPurchaseOrderIfPresent
Retrieval of associated PurchaseOrder entity (one to one). This corresponds to the OData navigation property _PurchaseOrder.If the navigation property for an entity PurchaseOrderNote 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 _PurchaseOrder is already loaded, the result will
contain the PurchaseOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseOrder
Overwrites the associated PurchaseOrder entity for the loaded navigation property _PurchaseOrder.- Parameters:
value- New PurchaseOrder entity.
-
builder
-
getPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Returns:
- Purchase Order Number
-
getTextObjectType
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: TextObjectType
- Returns:
- Text ID
-
getLanguage
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: Language
- Returns:
- Language Key
-
getPlainLongText
Constraints: Not nullableOriginal property name from the Odata EDM: PlainLongText
- Returns:
- Long Text
-
toString
- Overrides:
toStringin classVdmObject<PurchaseOrderNote>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseOrderNote>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseOrderNote>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseOrderNote>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchaseOrderNote>
-