public class PurchaseReqnItemText extends VdmEntity<PurchaseReqnItemText>
Original entity name from the Odata EDM: A_PurchaseReqnItemTextType
Modifier and Type | Class and Description |
---|---|
static class |
PurchaseReqnItemText.PurchaseReqnItemTextBuilder |
Modifier and Type | Field and Description |
---|---|
static PurchaseReqnItemTextSelectable |
ALL_FIELDS
Selector for all available fields of PurchaseReqnItemText.
|
static PurchaseReqnItemTextField<String> |
ARCH_OBJECT_NUMBER
Use with available fluent helpers to apply the ArchObjectNumber field to query operations.
|
static PurchaseReqnItemTextField<String> |
DOCUMENT_TEXT
Use with available fluent helpers to apply the DocumentText field to query operations.
|
static PurchaseReqnItemTextField<String> |
FIXED_INDICATOR
Use with available fluent helpers to apply the FixedIndicator field to query operations.
|
static PurchaseReqnItemTextField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
static PurchaseReqnItemTextField<String> |
NOTE_DESCRIPTION
Use with available fluent helpers to apply the NoteDescription field to query operations.
|
static PurchaseReqnItemTextField<String> |
PURCHASE_REQUISITION
Use with available fluent helpers to apply the PurchaseRequisition field to query operations.
|
static PurchaseReqnItemTextField<String> |
PURCHASE_REQUISITION_ITEM
Use with available fluent helpers to apply the PurchaseRequisitionItem field to query operations.
|
static PurchaseReqnItemTextField<String> |
TECHNICAL_OBJECT_TYPE
Use with available fluent helpers to apply the TechnicalObjectType field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
PurchaseReqnItemText() |
PurchaseReqnItemText(String purchaseRequisition,
String purchaseRequisitionItem,
String documentText,
String technicalObjectType,
String language,
String archObjectNumber,
String noteDescription,
String fixedIndicator) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
ErpConfigContext configContext)
Sets the service path and ERP configuration context for the fetch commands of this entity.
|
static PurchaseReqnItemText.PurchaseReqnItemTextBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> PurchaseReqnItemTextField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getArchObjectNumber()
Constraints: Not nullable, Maximum length: 70
|
protected String |
getDefaultServicePath() |
String |
getDocumentText()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getFixedIndicator()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getNoteDescription()
Constraints: none
|
String |
getPurchaseRequisition()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getPurchaseRequisitionItem()
(Key Field) Constraints: Not nullable, Maximum length: 5
|
String |
getTechnicalObjectType()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
Class<PurchaseReqnItemText> |
getType() |
int |
hashCode() |
void |
setArchObjectNumber(String archObjectNumber)
Constraints: Not nullable, Maximum length: 70
|
void |
setDocumentText(String documentText)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setFixedIndicator(String fixedIndicator)
Constraints: Not nullable, Maximum length: 1
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setNoteDescription(String noteDescription)
Constraints: none
|
void |
setPurchaseRequisition(String purchaseRequisition)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setPurchaseRequisitionItem(String purchaseRequisitionItem)
(Key Field) Constraints: Not nullable, Maximum length: 5
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setTechnicalObjectType(String technicalObjectType)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final PurchaseReqnItemTextSelectable ALL_FIELDS
public static final PurchaseReqnItemTextField<String> PURCHASE_REQUISITION
public static final PurchaseReqnItemTextField<String> PURCHASE_REQUISITION_ITEM
public static final PurchaseReqnItemTextField<String> DOCUMENT_TEXT
public static final PurchaseReqnItemTextField<String> TECHNICAL_OBJECT_TYPE
public static final PurchaseReqnItemTextField<String> LANGUAGE
public static final PurchaseReqnItemTextField<String> ARCH_OBJECT_NUMBER
public static final PurchaseReqnItemTextField<String> NOTE_DESCRIPTION
public static final PurchaseReqnItemTextField<String> FIXED_INDICATOR
public PurchaseReqnItemText()
public PurchaseReqnItemText(@Nullable String purchaseRequisition, @Nullable String purchaseRequisitionItem, @Nullable String documentText, @Nullable String technicalObjectType, @Nullable String language, @Nullable String archObjectNumber, @Nullable String noteDescription, @Nullable String fixedIndicator)
@Nonnull public Class<PurchaseReqnItemText> getType()
getType
in class VdmObject<PurchaseReqnItemText>
public void setPurchaseRequisition(@Nullable String purchaseRequisition)
Original property name from the Odata EDM: PurchaseRequisition
purchaseRequisition
- Alphanumeric key uniquely identifying the document.public void setPurchaseRequisitionItem(@Nullable String purchaseRequisitionItem)
Original property name from the Odata EDM: PurchaseRequisitionItem
purchaseRequisitionItem
- Specifies the number that uniquely identifies an item in .public void setDocumentText(@Nullable String documentText)
Original property name from the Odata EDM: DocumentText
ST for user-specific standard texts (individual texts)SYST for cross-application system textsvarious IDs for specific application departments. You must have the appropriate access authorization in order to access these texts.
documentText
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:public void setTechnicalObjectType(@Nullable String technicalObjectType)
Original property name from the Odata EDM: TechnicalObjectType
technicalObjectType
- In business applications, a text is not considered an independent object. A text can only exist if it
has a superior reference object. A material inspection text, for example, only exists if there is a
corresponding material. The application object of a text is therefore the global environment in which
a text exists.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
language
- The language key indicatespublic void setArchObjectNumber(@Nullable String archObjectNumber)
Original property name from the Odata EDM: ArchObjectNumber
Do not use the characters ',' or '*' in the text name or leave it blank.
archObjectNumber
- This is the text name of a text. It can be a maximum of 70 characters in length. However, in specific
text applications, only shorter names are usually allowed.public void setNoteDescription(@Nullable String noteDescription)
Original property name from the Odata EDM: NoteDescription
noteDescription
- Long Textpublic void setFixedIndicator(@Nullable String fixedIndicator)
Original property name from the Odata EDM: FixedIndicator
You assign the "fixed" indicator to a text to specify whether:The text can be fixed (indicator "*")A text with the status "*" is then displayed in the document and can be adopted in the document if:You change the text and save the documentYou select the text and adopt it (Item -> Texts -> Adopt text)Until you adopt the text, changes in the master record will also be adopted in the text.The text is fixed (indicator " ")The text is copied into the document. Changes to the document text do not have any effect on the original text and changes to the original text have no effect on the document text.The text is not fixed (indicator "N")The text is only displayed in the document (i.e. it cannot be changed or printed).You specify the "fixed" indicator for each purchasing document in Customizing for Purchasing under Text Types and Copying Rules for Header Texts and Text Types and Copying Rules for Item Texts.You wish to adopt a delivery text from a requisition (status "*") in a purchase order. If you select and adopt the text, it acquires the status " " and can be printed.In Customizing for Purchasing under Messages -> Texts for Messages, you can specify for each purchasing document the sequence and priority in which the texts of a document are to be printed.
fixedIndicator
- Determines whether a text from a master record or another document can be adopted in a document and
processed further in that document.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<PurchaseReqnItemText>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<PurchaseReqnItemText>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<PurchaseReqnItemText>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<PurchaseReqnItemText>
@Nonnull public static <T> PurchaseReqnItemTextField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.fieldName
- The name of the extension field as returned by the OData service.fieldType
- The Java type to use for the extension field when performing value comparisons.@Nonnull public static <T,DomainT> PurchaseReqnItemTextField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public ErpConfigContext getErpConfigContext()
VdmEntity
getErpConfigContext
in class VdmEntity<PurchaseReqnItemText>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<PurchaseReqnItemText>
erpConfigContext
- New ERP configuration context to apply to this entityprotected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<PurchaseReqnItemText>
public void attachToService(@Nullable String servicePath, @Nullable ErpConfigContext configContext)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<PurchaseReqnItemText>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.configContext
- Optional parameter. New ERP configuration context to apply to this entity and any associated entities
that were previously fetched. If a null value is provided and the ERP configuration context has never
been set, then the ERP configuration context will be set to a new instance of
ErpConfigContext
.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<PurchaseReqnItemText>
public static PurchaseReqnItemText.PurchaseReqnItemTextBuilder builder()
@Nullable public String getPurchaseRequisition()
Original property name from the Odata EDM: PurchaseRequisition
@Nullable public String getPurchaseRequisitionItem()
Original property name from the Odata EDM: PurchaseRequisitionItem
@Nullable public String getDocumentText()
Original property name from the Odata EDM: DocumentText
ST for user-specific standard texts (individual texts)SYST for cross-application system textsvarious IDs for specific application departments. You must have the appropriate access authorization in order to access these texts.
@Nullable public String getTechnicalObjectType()
Original property name from the Odata EDM: TechnicalObjectType
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
- the language in which texts are displayed,- the language in which you enter texts,- the language in which the system prints texts.
@Nullable public String getArchObjectNumber()
Original property name from the Odata EDM: ArchObjectNumber
Do not use the characters ',' or '*' in the text name or leave it blank.
@Nullable public String getNoteDescription()
Original property name from the Odata EDM: NoteDescription
@Nullable public String getFixedIndicator()
Original property name from the Odata EDM: FixedIndicator
You assign the "fixed" indicator to a text to specify whether:The text can be fixed (indicator "*")A text with the status "*" is then displayed in the document and can be adopted in the document if:You change the text and save the documentYou select the text and adopt it (Item -> Texts -> Adopt text)Until you adopt the text, changes in the master record will also be adopted in the text.The text is fixed (indicator " ")The text is copied into the document. Changes to the document text do not have any effect on the original text and changes to the original text have no effect on the document text.The text is not fixed (indicator "N")The text is only displayed in the document (i.e. it cannot be changed or printed).You specify the "fixed" indicator for each purchasing document in Customizing for Purchasing under Text Types and Copying Rules for Header Texts and Text Types and Copying Rules for Item Texts.You wish to adopt a delivery text from a requisition (status "*") in a purchase order. If you select and adopt the text, it acquires the status " " and can be printed.In Customizing for Purchasing under Messages -> Texts for Messages, you can specify for each purchasing document the sequence and priority in which the texts of a document are to be printed.
public String toString()
toString
in class VdmObject<PurchaseReqnItemText>
public boolean equals(Object o)
equals
in class VdmObject<PurchaseReqnItemText>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<PurchaseReqnItemText>
public int hashCode()
hashCode
in class VdmObject<PurchaseReqnItemText>
Copyright © 2019 SAP SE. All rights reserved.