public class DocumentInfoRecordDocStsVH extends VdmEntity<DocumentInfoRecordDocStsVH>
Original entity name from the Odata EDM: A_DocumentInfoRecordDocStsVHType
Modifier and Type | Class and Description |
---|---|
static class |
DocumentInfoRecordDocStsVH.DocumentInfoRecordDocStsVHBuilder |
Modifier and Type | Field and Description |
---|---|
static DocumentInfoRecordDocStsVHSelectable |
ALL_FIELDS
Selector for all available fields of DocumentInfoRecordDocStsVH.
|
static DocumentInfoRecordDocStsVHField<String> |
DOCUMENT_INFO_RECORD_DOC_TYPE
Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
|
static DocumentInfoRecordDocStsVHField<String> |
DOCUMENT_STATUS_NAME
Use with available fluent helpers to apply the DocumentStatusName field to query operations.
|
static DocumentInfoRecordDocStsVHField<String> |
EXTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the ExternalDocumentStatus field to query operations.
|
static DocumentInfoRecordDocStsVHField<String> |
INTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.
|
static DocumentInfoRecordDocStsVHField<String> |
LANGUAGE
Use with available fluent helpers to apply the Language field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
DocumentInfoRecordDocStsVH() |
DocumentInfoRecordDocStsVH(String documentInfoRecordDocType,
String language,
String externalDocumentStatus,
String internalDocumentStatus,
String documentStatusName) |
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 DocumentInfoRecordDocStsVH.DocumentInfoRecordDocStsVHBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> DocumentInfoRecordDocStsVHField<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) |
protected String |
getDefaultServicePath() |
String |
getDocumentInfoRecordDocType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentStatusName()
Constraints: Not nullable, Maximum length: 16
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getExternalDocumentStatus()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
String |
getInternalDocumentStatus()
Constraints: Not nullable, Maximum length: 2
|
protected Map<String,Object> |
getKey() |
String |
getLanguage()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
Class<DocumentInfoRecordDocStsVH> |
getType() |
int |
hashCode() |
void |
setDocumentInfoRecordDocType(String documentInfoRecordDocType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentStatusName(String documentStatusName)
Constraints: Not nullable, Maximum length: 16
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Deprecated.
Use
attachToService(String, ErpConfigContext) instead. |
void |
setExternalDocumentStatus(String externalDocumentStatus)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setInternalDocumentStatus(String internalDocumentStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setLanguage(String language)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
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 DocumentInfoRecordDocStsVHSelectable ALL_FIELDS
public static final DocumentInfoRecordDocStsVHField<String> DOCUMENT_INFO_RECORD_DOC_TYPE
public static final DocumentInfoRecordDocStsVHField<String> LANGUAGE
public static final DocumentInfoRecordDocStsVHField<String> EXTERNAL_DOCUMENT_STATUS
public static final DocumentInfoRecordDocStsVHField<String> INTERNAL_DOCUMENT_STATUS
public static final DocumentInfoRecordDocStsVHField<String> DOCUMENT_STATUS_NAME
@Nonnull public Class<DocumentInfoRecordDocStsVH> getType()
getType
in class VdmObject<DocumentInfoRecordDocStsVH>
public void setDocumentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
Original property name from the Odata EDM: DocumentInfoRecordDocType
documentInfoRecordDocType
- Part of the document key, which categorizes documents according to their distinguishing features and
the organizational procedures which result from them.public void setLanguage(@Nullable String language)
Original property name from the Odata EDM: Language
During processing, you can switch to all languages allowed in the SAP System. You can even make an entry in this field when displaying a document.The default is always the language key of the logon language.If the field Description has been defined as a required field via Customizing (Document management), this only applies to your logon language. If you change to another language, the field Description becomes an optional field.
language
- Key for the language in which you want to maintain the text.public void setExternalDocumentStatus(@Nullable String externalDocumentStatus)
Original property name from the Odata EDM: ExternalDocumentStatus
If a status network is defined for the document type you canchoose a status among the entry possibilities which is supported inthe current processing situation when you create orchange.You can find more information with an additional colored release indicator:If the document version is releasedIn which time interval the version is releasedYou define the status network in Customizing work step Define document type level Define document status.
externalDocumentStatus
- This key shows the document status.public void setInternalDocumentStatus(@Nullable String internalDocumentStatus)
Original property name from the Odata EDM: InternalDocumentStatus
For each document type, you can define a status network in which one or more previous statuses are defined for a status. You can display the current possible entries (language-dependent) in any processing situation.When you set a new status, the system checks whether the current status is one of the possible previous statuses.When you set a status, the system checks your authorization.
internalDocumentStatus
- Key which represents the current document status.public void setDocumentStatusName(@Nullable String documentStatusName)
Original property name from the Odata EDM: DocumentStatusName
documentStatusName
- Description of the current document status.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<DocumentInfoRecordDocStsVH>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<DocumentInfoRecordDocStsVH>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<DocumentInfoRecordDocStsVH>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<DocumentInfoRecordDocStsVH>
@Nonnull public static <T> DocumentInfoRecordDocStsVHField<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> DocumentInfoRecordDocStsVHField<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<DocumentInfoRecordDocStsVH>
@Deprecated public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
attachToService(String, ErpConfigContext)
instead.VdmEntity
setErpConfigContext
in class VdmEntity<DocumentInfoRecordDocStsVH>
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<DocumentInfoRecordDocStsVH>
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<DocumentInfoRecordDocStsVH>
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<DocumentInfoRecordDocStsVH>
public static DocumentInfoRecordDocStsVH.DocumentInfoRecordDocStsVHBuilder builder()
@Nullable public String getDocumentInfoRecordDocType()
Original property name from the Odata EDM: DocumentInfoRecordDocType
@Nullable public String getLanguage()
Original property name from the Odata EDM: Language
During processing, you can switch to all languages allowed in the SAP System. You can even make an entry in this field when displaying a document.The default is always the language key of the logon language.If the field Description has been defined as a required field via Customizing (Document management), this only applies to your logon language. If you change to another language, the field Description becomes an optional field.
@Nullable public String getExternalDocumentStatus()
Original property name from the Odata EDM: ExternalDocumentStatus
If a status network is defined for the document type you canchoose a status among the entry possibilities which is supported inthe current processing situation when you create orchange.You can find more information with an additional colored release indicator:If the document version is releasedIn which time interval the version is releasedYou define the status network in Customizing work step Define document type level Define document status.
@Nullable public String getInternalDocumentStatus()
Original property name from the Odata EDM: InternalDocumentStatus
For each document type, you can define a status network in which one or more previous statuses are defined for a status. You can display the current possible entries (language-dependent) in any processing situation.When you set a new status, the system checks whether the current status is one of the possible previous statuses.When you set a status, the system checks your authorization.
@Nullable public String getDocumentStatusName()
Original property name from the Odata EDM: DocumentStatusName
public String toString()
toString
in class VdmObject<DocumentInfoRecordDocStsVH>
public boolean equals(Object o)
equals
in class VdmObject<DocumentInfoRecordDocStsVH>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<DocumentInfoRecordDocStsVH>
public int hashCode()
hashCode
in class VdmObject<DocumentInfoRecordDocStsVH>
Copyright © 2019 SAP SE. All rights reserved.