Class PurchaseReqnItemText
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: PurchaseReqnItemTextType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of PurchaseReqnItemText instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ComplexProperty.Collection<PurchaseReqnItemText,SAP__Message> Use with available request builders to apply the SAP__Messages complex property to query operations.static final SimpleProperty<PurchaseReqnItemText>Selector for all available fields of PurchaseReqnItemText.static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final SimpleProperty.String<PurchaseReqnItemText>static final NavigationProperty.Single<PurchaseReqnItemText,PurchaseReqn> Use with available request builders to apply the _PurReqn navigation property to query operations.static final NavigationProperty.Single<PurchaseReqnItemText,PurchaseReqnItem> Use with available request builders to apply the _PurchaseRequisitionItem 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
ConstructorsConstructorDescriptionPurchaseReqnItemText(String purchaseRequisition, String purchaseRequisitionItem, String textObjectCategory, String textObjectKey, String textObjectType, String language, String plainLongText, String fixedIndicator, Collection<SAP__Message> _Messages, PurchaseReqnItem to_PurchaseRequisitionItem, PurchaseReqn to_PurReqn) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanprotected voidConstraints: Not nullableprotected Stringprotected StringConstraints: Not nullable, Maximum length: 1protected ODataEntityKeygetKey()(Key Field) Constraints: Not nullable, Maximum length: 2Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 5io.vavr.control.Option<PurchaseReqnItem>Retrieval of associated PurchaseReqnItem entity (one to one).io.vavr.control.Option<PurchaseReqn>Retrieval of associated PurchaseReqn entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 70(Key Field) Constraints: Not nullable, Maximum length: 4getType()inthashCode()voidset_Messages(Collection<SAP__Message> _Messages) Constraints: Not nullablevoidsetFixedIndicator(String fixedIndicator) Constraints: Not nullable, Maximum length: 1voidsetLanguage(String language) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetPlainLongText(String plainLongText) Constraints: Not nullablevoidsetPurchaseRequisition(String purchaseRequisition) (Key Field) Constraints: Not nullable, Maximum length: 10voidOverwrites the associated PurchaseReqnItem entity for the loaded navigation property _PurchaseRequisitionItem.voidsetPurchaseRequisitionItem(String purchaseRequisitionItem) (Key Field) Constraints: Not nullable, Maximum length: 5voidsetPurReqn(PurchaseReqn value) Overwrites the associated PurchaseReqn entity for the loaded navigation property _PurReqn.voidsetTextObjectCategory(String textObjectCategory) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetTextObjectKey(String textObjectKey) (Key Field) Constraints: Not nullable, Maximum length: 70voidsetTextObjectType(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 PurchaseReqnItemText. -
PURCHASE_REQUISITION
-
PURCHASE_REQUISITION_ITEM
-
TEXT_OBJECT_CATEGORY
-
TEXT_OBJECT_KEY
-
TEXT_OBJECT_TYPE
-
LANGUAGE
-
PLAIN_LONG_TEXT
-
FIXED_INDICATOR
-
_MESSAGES
Use with available request builders to apply the SAP__Messages complex property to query operations. -
TO__PURCHASE_REQUISITION_ITEM
public static final NavigationProperty.Single<PurchaseReqnItemText,PurchaseReqnItem> TO__PURCHASE_REQUISITION_ITEMUse with available request builders to apply the _PurchaseRequisitionItem navigation property to query operations. -
TO__PUR_REQN
Use with available request builders to apply the _PurReqn navigation property to query operations.
-
-
Constructor Details
-
PurchaseReqnItemText
public PurchaseReqnItemText() -
PurchaseReqnItemText
public PurchaseReqnItemText(@Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String textObjectCategory, @Nullable String textObjectKey, @Nullable String textObjectType, @Nullable String language, @Nullable String plainLongText, @Nullable String fixedIndicator, @Nullable Collection<SAP__Message> _Messages, @Nullable PurchaseReqnItem to_PurchaseRequisitionItem, @Nullable PurchaseReqn to_PurReqn)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<PurchaseReqnItemText>
-
setPurchaseRequisition
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Parameters:
purchaseRequisition- Purchase Requisition Number
-
setPurchaseRequisitionItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Parameters:
purchaseRequisitionItem- Item number of purchase requisition
-
setTextObjectCategory
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TextObjectCategory
- Parameters:
textObjectCategory- Texts: application object
-
setTextObjectKey
(Key Field) Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: TextObjectKey
- Parameters:
textObjectKey- Name
-
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
-
setFixedIndicator
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: FixedIndicator
- Parameters:
fixedIndicator- "Fixed" Indicator for Texts
-
set_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Parameters:
_Messages- The _Messages to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<PurchaseReqnItemText>
-
getKey
- Overrides:
getKeyin classVdmObject<PurchaseReqnItemText>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<PurchaseReqnItemText>
-
fromMap
- Overrides:
fromMapin classVdmObject<PurchaseReqnItemText>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<PurchaseReqnItemText>
-
getPurchaseRequisitionItemIfPresent
Retrieval of associated PurchaseReqnItem entity (one to one). This corresponds to the OData navigation property _PurchaseRequisitionItem.If the navigation property for an entity PurchaseReqnItemText 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 _PurchaseRequisitionItem is already loaded, the result
will contain the PurchaseReqnItem entity. If not, an
Optionwith result stateemptyis returned.
-
setPurchaseRequisitionItem
Overwrites the associated PurchaseReqnItem entity for the loaded navigation property _PurchaseRequisitionItem.- Parameters:
value- New PurchaseReqnItem entity.
-
getPurReqnIfPresent
Retrieval of associated PurchaseReqn entity (one to one). This corresponds to the OData navigation property _PurReqn.If the navigation property for an entity PurchaseReqnItemText 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 _PurReqn is already loaded, the result will contain the
PurchaseReqn entity. If not, an
Optionwith result stateemptyis returned.
-
setPurReqn
Overwrites the associated PurchaseReqn entity for the loaded navigation property _PurReqn.- Parameters:
value- New PurchaseReqn entity.
-
builder
-
getPurchaseRequisition
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: PurchaseRequisition
- Returns:
- Purchase Requisition Number
-
getPurchaseRequisitionItem
(Key Field) Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: PurchaseRequisitionItem
- Returns:
- Item number of purchase requisition
-
getTextObjectCategory
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: TextObjectCategory
- Returns:
- Texts: application object
-
getTextObjectKey
(Key Field) Constraints: Not nullable, Maximum length: 70Original property name from the Odata EDM: TextObjectKey
- Returns:
- Name
-
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
-
getFixedIndicator
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: FixedIndicator
- Returns:
- "Fixed" Indicator for Texts
-
get_Messages
Constraints: Not nullableOriginal property name from the Odata EDM: SAP__Messages
- Returns:
- The _Messages contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<PurchaseReqnItemText>
-
equals
- Overrides:
equalsin classVdmEntity<PurchaseReqnItemText>
-
canEqual
- Overrides:
canEqualin classVdmEntity<PurchaseReqnItemText>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<PurchaseReqnItemText>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<PurchaseReqnItemText>
-