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,
HttpDestinationProperties destination)
Sets the service path and destination 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()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
String |
getDocumentText()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
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 |
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() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, 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()
VdmEntity
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 HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<PurchaseReqnItemText>
protected 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, @Nonnull HttpDestinationProperties destination)
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.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
VdmEntity
getDefaultServicePath
in class VdmEntity<PurchaseReqnItemText>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)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 © 2020 SAP SE. All rights reserved.