Class PurchaseOrderItemNote
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PurchaseOrderItemNote_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseOrderItemNote instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<PurchaseOrderItemNote>Selector for all available fields of PurchaseOrderItemNote.static final SimpleProperty.String<PurchaseOrderItemNote>static final SimpleProperty.String<PurchaseOrderItemNote>static final SimpleProperty.String<PurchaseOrderItemNote>static final SimpleProperty.String<PurchaseOrderItemNote>static final SimpleProperty.String<PurchaseOrderItemNote>static final SimpleProperty.String<PurchaseOrderItemNote>static final NavigationProperty.Single<PurchaseOrderItemNote,PurchaseOrder> Use with available request builders to apply the _PurchaseOrder navigation property to query operations.static final NavigationProperty.Single<PurchaseOrderItemNote,PurchaseOrderItem> Use with available request builders to apply the _PurchaseOrderItem 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
ConstructorsConstructorDescriptionPurchaseOrderItemNote(String purchaseOrder, String purchaseOrderItem, String textObjectType, String language, String plainLongText, String purchaseOrderItemUniqueID, PurchaseOrder to_PurchaseOrder, PurchaseOrderItem to_PurchaseOrderItem) -
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: 5io.vavr.control.Option<PurchaseOrderItem>Retrieval of associated PurchaseOrderItem entity (one to one).Constraints: Not nullable, Maximum length: 15(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: 10voidOverwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.voidsetPurchaseOrderItem(String purchaseOrderItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetPurchaseOrderItemUniqueID(String purchaseOrderItemUniqueID) Constraints: Not nullable, Maximum length: 15voidsetTextObjectType(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 PurchaseOrderItemNote. -
PURCHASE_ORDER
-
PURCHASE_ORDER_ITEM
-
TEXT_OBJECT_TYPE
-
LANGUAGE
-
PLAIN_LONG_TEXT
-
PURCHASE_ORDER_ITEM_UNIQUE_ID
-
TO__PURCHASE_ORDER
public static final NavigationProperty.Single<PurchaseOrderItemNote,PurchaseOrder> TO__PURCHASE_ORDERUse with available request builders to apply the _PurchaseOrder navigation property to query operations. -
TO__PURCHASE_ORDER_ITEM
public static final NavigationProperty.Single<PurchaseOrderItemNote,PurchaseOrderItem> TO__PURCHASE_ORDER_ITEMUse with available request builders to apply the _PurchaseOrderItem navigation property to query operations.
-
-
Constructor Details
-
PurchaseOrderItemNote
public PurchaseOrderItemNote() -
PurchaseOrderItemNote
public PurchaseOrderItemNote(@Nullable String purchaseOrder, @Nullable String purchaseOrderItem, @Nullable String textObjectType, @Nullable String language, @Nullable String plainLongText, @Nullable String purchaseOrderItemUniqueID, @Nullable PurchaseOrder to_PurchaseOrder, @Nullable PurchaseOrderItem to_PurchaseOrderItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseOrderItemNote>
-
setPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Parameters:
purchaseOrder- Purchase Order Number
-
setPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Parameters:
purchaseOrderItem- Item Number of Purchase Order
-
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
-
setPurchaseOrderItemUniqueID
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: PurchaseOrderItemUniqueID
- Parameters:
purchaseOrderItemUniqueID- Concatenation of EBELN and EBELP
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseOrderItemNote>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseOrderItemNote>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseOrderItemNote>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseOrderItemNote>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseOrderItemNote>
-
getPurchaseOrderIfPresent
Retrieval of associated PurchaseOrder entity (one to one). This corresponds to the OData navigation property _PurchaseOrder.If the navigation property for an entity PurchaseOrderItemNote 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.
-
getPurchaseOrderItemIfPresent
Retrieval of associated PurchaseOrderItem entity (one to one). This corresponds to the OData navigation property _PurchaseOrderItem.If the navigation property for an entity PurchaseOrderItemNote 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 _PurchaseOrderItem is already loaded, the result will
contain the PurchaseOrderItem entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseOrderItem
Overwrites the associated PurchaseOrderItem entity for the loaded navigation property _PurchaseOrderItem.- Parameters:
value- New PurchaseOrderItem entity.
-
builder
-
getPurchaseOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseOrder
- Returns:
- Purchase Order Number
-
getPurchaseOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseOrderItem
- Returns:
- Item Number of Purchase Order
-
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
-
getPurchaseOrderItemUniqueID
Constraints: Not nullable, Maximum length: 15Original property name from the Odata EDM: PurchaseOrderItemUniqueID
- Returns:
- Concatenation of EBELN and EBELP
-
toString
- Overrides:
toStringin classVdmObject<PurchaseOrderItemNote>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseOrderItemNote>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseOrderItemNote>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseOrderItemNote>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchaseOrderItemNote>
-