public class DocumentInfoRecord extends VdmEntity<DocumentInfoRecord>
Original entity name from the Odata EDM: A_DocumentInfoRecordType
Modifier and Type | Class and Description |
---|---|
static class |
DocumentInfoRecord.DocumentInfoRecordBuilder |
Modifier and Type | Field and Description |
---|---|
static DocumentInfoRecordSelectable |
ALL_FIELDS
Selector for all available fields of DocumentInfoRecord.
|
static DocumentInfoRecordField<String> |
AUTHORIZATION_GROUP
Use with available fluent helpers to apply the AuthorizationGroup field to query operations.
|
static DocumentInfoRecordField<String> |
CHANGE_NUMBER
Use with available fluent helpers to apply the ChangeNumber field to query operations.
|
static DocumentInfoRecordField<ZonedDateTime> |
CHANGED_DATE_TIME
Use with available fluent helpers to apply the ChangedDateTime field to query operations.
|
static DocumentInfoRecordField<String> |
CREATED_BY_USER
Use with available fluent helpers to apply the CreatedByUser field to query operations.
|
static DocumentInfoRecordField<ZonedDateTime> |
CREATION_DATE_TIME
Use with available fluent helpers to apply the CreationDateTime field to query operations.
|
static DocumentInfoRecordField<Boolean> |
DOC_INFO_RECD_IS_MARKED_FOR_DELETION
Use with available fluent helpers to apply the DocInfoRecdIsMarkedForDeletion field to query operations.
|
static DocumentInfoRecordField<String> |
DOCUMENT_INFO_RECORD_DOC_NUMBER
Use with available fluent helpers to apply the DocumentInfoRecordDocNumber field to query operations.
|
static DocumentInfoRecordField<String> |
DOCUMENT_INFO_RECORD_DOC_PART
Use with available fluent helpers to apply the DocumentInfoRecordDocPart field to query operations.
|
static DocumentInfoRecordField<String> |
DOCUMENT_INFO_RECORD_DOC_TYPE
Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
|
static DocumentInfoRecordField<String> |
DOCUMENT_INFO_RECORD_DOC_VERSION
Use with available fluent helpers to apply the DocumentInfoRecordDocVersion field to query operations.
|
static DocumentInfoRecordField<String> |
INTERNAL_DOCUMENT_STATUS
Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.
|
static DocumentInfoRecordField<Boolean> |
IS_DOC_INFO_RECD_CREATED_FROM_CAD
Use with available fluent helpers to apply the IsDocInfoRecdCreatedFromCAD field to query operations.
|
static DocumentInfoRecordField<String> |
IS_DOC_INFO_RECD_STRUCTURE
Use with available fluent helpers to apply the IsDocInfoRecdStructure field to query operations.
|
static DocumentInfoRecordField<String> |
LABORATORY_OR_DESIGN_OFFICE
Use with available fluent helpers to apply the LaboratoryOrDesignOffice field to query operations.
|
static DocumentInfoRecordField<String> |
LAST_CHANGED_BY_USER
Use with available fluent helpers to apply the LastChangedByUser field to query operations.
|
static DocumentInfoRecordField<String> |
RESPONSIBLE_PERSON_NAME
Use with available fluent helpers to apply the ResponsiblePersonName field to query operations.
|
static DocumentInfoRecordLink<DocumentInfoRecordDesc> |
TO_DOC_DESC
Use with available fluent helpers to apply the to_DocDesc navigation property to query operations.
|
static DocumentInfoRecordLink<DocumentInfoRecordDocStsVH> |
TO_DOC_STATUS_VH
Use with available fluent helpers to apply the to_DocStatusVH navigation property to query operations.
|
static DocumentInfoRecordLink<DocInfoRecdObjLinkProduct> |
TO_PRODUCT_OBJ
Use with available fluent helpers to apply the to_ProductObj navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
DocumentInfoRecord() |
DocumentInfoRecord(String documentInfoRecordDocType,
String documentInfoRecordDocVersion,
String documentInfoRecordDocNumber,
String documentInfoRecordDocPart,
String internalDocumentStatus,
String laboratoryOrDesignOffice,
String authorizationGroup,
String changeNumber,
Boolean docInfoRecdIsMarkedForDeletion,
Boolean isDocInfoRecdCreatedFromCAD,
String isDocInfoRecdStructure,
String responsiblePersonName,
ZonedDateTime creationDateTime,
String createdByUser,
ZonedDateTime changedDateTime,
String lastChangedByUser,
ErpConfigContext erpConfigContext,
List<DocumentInfoRecordDesc> toDocDesc,
DocumentInfoRecordDocStsVH toDocStatusVH,
List<DocInfoRecdObjLinkProduct> toProductObj) |
Modifier and Type | Method and Description |
---|---|
void |
addDocDesc(DocumentInfoRecordDesc... entity)
Adds elements to the list of associated DocumentInfoRecordDesc entities.
|
void |
addProductObj(DocInfoRecdObjLinkProduct... entity)
Adds elements to the list of associated DocInfoRecdObjLinkProduct entities.
|
static DocumentInfoRecord.DocumentInfoRecordBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<DocumentInfoRecordDesc> |
fetchDocDesc()
Fetches the DocumentInfoRecordDesc entities (one to many) associated with this entity.
|
DocumentInfoRecordDocStsVH |
fetchDocStatusVH()
Fetches the DocumentInfoRecordDocStsVH entity (one to one) associated with this entity.
|
List<DocInfoRecdObjLinkProduct> |
fetchProductObj()
Fetches the DocInfoRecdObjLinkProduct entities (one to many) associated with this entity.
|
static <T> DocumentInfoRecordField<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 |
getAuthorizationGroup()
Constraints: Not nullable, Maximum length: 4
|
ZonedDateTime |
getChangedDateTime()
Constraints: Not nullable, Precision: 0
|
String |
getChangeNumber()
Constraints: Not nullable, Maximum length: 12
|
String |
getCreatedByUser()
Constraints: Not nullable, Maximum length: 12
|
ZonedDateTime |
getCreationDateTime()
Constraints: Not nullable, Precision: 0
|
Optional<List<DocumentInfoRecordDesc>> |
getDocDescIfPresent()
Retrieval of associated DocumentInfoRecordDesc entities (one to many).
|
List<DocumentInfoRecordDesc> |
getDocDescOrFetch()
Retrieval of associated DocumentInfoRecordDesc entities (one to many).
|
Boolean |
getDocInfoRecdIsMarkedForDeletion()
Constraints: none
|
Optional<DocumentInfoRecordDocStsVH> |
getDocStatusVHIfPresent()
Retrieval of associated DocumentInfoRecordDocStsVH entity (one to one).
|
DocumentInfoRecordDocStsVH |
getDocStatusVHOrFetch()
Retrieval of associated DocumentInfoRecordDocStsVH entity (one to one).
|
String |
getDocumentInfoRecordDocNumber()
(Key Field) Constraints: Not nullable, Maximum length: 25
|
String |
getDocumentInfoRecordDocPart()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocType()
(Key Field) Constraints: Not nullable, Maximum length: 3
|
String |
getDocumentInfoRecordDocVersion()
(Key Field) Constraints: Not nullable, Maximum length: 2
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
String |
getInternalDocumentStatus()
Constraints: Not nullable, Maximum length: 2
|
Boolean |
getIsDocInfoRecdCreatedFromCAD()
Constraints: none
|
String |
getIsDocInfoRecdStructure()
Constraints: Not nullable, Maximum length: 1
|
protected Map<String,Object> |
getKey() |
String |
getLaboratoryOrDesignOffice()
Constraints: Not nullable, Maximum length: 3
|
String |
getLastChangedByUser()
Constraints: Not nullable, Maximum length: 12
|
Optional<List<DocInfoRecdObjLinkProduct>> |
getProductObjIfPresent()
Retrieval of associated DocInfoRecdObjLinkProduct entities (one to many).
|
List<DocInfoRecdObjLinkProduct> |
getProductObjOrFetch()
Retrieval of associated DocInfoRecdObjLinkProduct entities (one to many).
|
String |
getResponsiblePersonName()
Constraints: Not nullable, Maximum length: 12
|
Class<DocumentInfoRecord> |
getType() |
int |
hashCode() |
void |
setAuthorizationGroup(String authorizationGroup)
Constraints: Not nullable, Maximum length: 4
|
void |
setChangedDateTime(ZonedDateTime changedDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setChangeNumber(String changeNumber)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreatedByUser(String createdByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setCreationDateTime(ZonedDateTime creationDateTime)
Constraints: Not nullable, Precision: 0
|
void |
setDocDesc(List<DocumentInfoRecordDesc> value)
Overwrites the list of associated DocumentInfoRecordDesc entities for the loaded navigation property to_DocDesc.
|
void |
setDocInfoRecdIsMarkedForDeletion(Boolean docInfoRecdIsMarkedForDeletion)
Constraints: none
|
void |
setDocStatusVH(DocumentInfoRecordDocStsVH value)
Overwrites the associated DocumentInfoRecordDocStsVH entity for the loaded navigation property to_DocStatusVH.
|
void |
setDocumentInfoRecordDocNumber(String documentInfoRecordDocNumber)
(Key Field) Constraints: Not nullable, Maximum length: 25
|
void |
setDocumentInfoRecordDocPart(String documentInfoRecordDocPart)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocType(String documentInfoRecordDocType)
(Key Field) Constraints: Not nullable, Maximum length: 3
|
void |
setDocumentInfoRecordDocVersion(String documentInfoRecordDocVersion)
(Key Field) Constraints: Not nullable, Maximum length: 2
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setInternalDocumentStatus(String internalDocumentStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setIsDocInfoRecdCreatedFromCAD(Boolean isDocInfoRecdCreatedFromCAD)
Constraints: none
|
void |
setIsDocInfoRecdStructure(String isDocInfoRecdStructure)
Constraints: Not nullable, Maximum length: 1
|
void |
setLaboratoryOrDesignOffice(String laboratoryOrDesignOffice)
Constraints: Not nullable, Maximum length: 3
|
void |
setLastChangedByUser(String lastChangedByUser)
Constraints: Not nullable, Maximum length: 12
|
void |
setProductObj(List<DocInfoRecdObjLinkProduct> value)
Overwrites the list of associated DocInfoRecdObjLinkProduct entities for the loaded navigation property to_ProductObj.
|
void |
setResponsiblePersonName(String responsiblePersonName)
Constraints: Not nullable, Maximum length: 12
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final DocumentInfoRecordSelectable ALL_FIELDS
public static final DocumentInfoRecordField<String> DOCUMENT_INFO_RECORD_DOC_TYPE
public static final DocumentInfoRecordField<String> DOCUMENT_INFO_RECORD_DOC_VERSION
public static final DocumentInfoRecordField<String> DOCUMENT_INFO_RECORD_DOC_NUMBER
public static final DocumentInfoRecordField<String> DOCUMENT_INFO_RECORD_DOC_PART
public static final DocumentInfoRecordField<String> INTERNAL_DOCUMENT_STATUS
public static final DocumentInfoRecordField<String> LABORATORY_OR_DESIGN_OFFICE
public static final DocumentInfoRecordField<String> AUTHORIZATION_GROUP
public static final DocumentInfoRecordField<String> CHANGE_NUMBER
public static final DocumentInfoRecordField<Boolean> DOC_INFO_RECD_IS_MARKED_FOR_DELETION
public static final DocumentInfoRecordField<Boolean> IS_DOC_INFO_RECD_CREATED_FROM_CAD
public static final DocumentInfoRecordField<String> IS_DOC_INFO_RECD_STRUCTURE
public static final DocumentInfoRecordField<String> RESPONSIBLE_PERSON_NAME
public static final DocumentInfoRecordField<ZonedDateTime> CREATION_DATE_TIME
public static final DocumentInfoRecordField<String> CREATED_BY_USER
public static final DocumentInfoRecordField<ZonedDateTime> CHANGED_DATE_TIME
public static final DocumentInfoRecordField<String> LAST_CHANGED_BY_USER
public static final DocumentInfoRecordLink<DocumentInfoRecordDesc> TO_DOC_DESC
public static final DocumentInfoRecordLink<DocumentInfoRecordDocStsVH> TO_DOC_STATUS_VH
public static final DocumentInfoRecordLink<DocInfoRecdObjLinkProduct> TO_PRODUCT_OBJ
public DocumentInfoRecord()
public DocumentInfoRecord(@Nullable String documentInfoRecordDocType, @Nullable String documentInfoRecordDocVersion, @Nullable String documentInfoRecordDocNumber, @Nullable String documentInfoRecordDocPart, @Nullable String internalDocumentStatus, @Nullable String laboratoryOrDesignOffice, @Nullable String authorizationGroup, @Nullable String changeNumber, @Nullable Boolean docInfoRecdIsMarkedForDeletion, @Nullable Boolean isDocInfoRecdCreatedFromCAD, @Nullable String isDocInfoRecdStructure, @Nullable String responsiblePersonName, @Nullable ZonedDateTime creationDateTime, @Nullable String createdByUser, @Nullable ZonedDateTime changedDateTime, @Nullable String lastChangedByUser, @Nullable ErpConfigContext erpConfigContext, List<DocumentInfoRecordDesc> toDocDesc, @Nullable DocumentInfoRecordDocStsVH toDocStatusVH, List<DocInfoRecdObjLinkProduct> toProductObj)
public Class<DocumentInfoRecord> getType()
getType
in class VdmObject<DocumentInfoRecord>
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 setDocumentInfoRecordDocVersion(@Nullable String documentInfoRecordDocVersion)
Original property name from the Odata EDM: DocumentInfoRecordDocVersion
A new version is assigned after the original files have been edited in the following processing situations:The new processing status varies from the original in a certain way (for example, text change sin a text file).You want the original processing status to remain the same (for example, documentation of project progress).
documentInfoRecordDocVersion
- Number which identifies the version of a document.public void setDocumentInfoRecordDocNumber(@Nullable String documentInfoRecordDocNumber)
Original property name from the Odata EDM: DocumentInfoRecordDocNumber
documentInfoRecordDocNumber
- This number is the main part of the document key, which is used to identify the document.public void setDocumentInfoRecordDocPart(@Nullable String documentInfoRecordDocPart)
Original property name from the Odata EDM: DocumentInfoRecordDocPart
Design departments, for example, can use document parts to divide up large documents such as design drawings into pages.
documentInfoRecordDocPart
- Section of a document which is maintained as an independent document.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 setLaboratoryOrDesignOffice(@Nullable String laboratoryOrDesignOffice)
Original property name from the Odata EDM: LaboratoryOrDesignOffice
You define the keys in Customizing (for the Material Master).
laboratoryOrDesignOffice
- Key for the design office, laboratory, or laboratory worker responsible.public void setAuthorizationGroup(@Nullable String authorizationGroup)
Original property name from the Odata EDM: AuthorizationGroup
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
authorizationGroup
- The authorization group enables you protect access to certain objects.public void setChangeNumber(@Nullable String changeNumber)
Original property name from the Odata EDM: ChangeNumber
The system determines the valid-from date from the header of the change master record.If you want to create a document:Once you save the document info record, you can no longer change the change number.If you want to process the document with another change number, you have to create a new version.The change master record must support processing of documents (Indicator: object type active for change number must be set in the change master).
changeNumber
- Number of the change master record which groups together logically linked documents and any other SAP objects (such as bill of material, routing, material).public void setDocInfoRecdIsMarkedForDeletion(@Nullable Boolean docInfoRecdIsMarkedForDeletion)
Original property name from the Odata EDM: DocInfoRecdIsMarkedForDeletion
docInfoRecdIsMarkedForDeletion
- Indicator: the document will be deleted during the next reorganization run.public void setIsDocInfoRecdCreatedFromCAD(@Nullable Boolean isDocInfoRecdCreatedFromCAD)
Original property name from the Odata EDM: IsDocInfoRecdCreatedFromCAD
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows:Entry DescriptionX find documents with a CAD indicatorfind documents without a CAD indicator* find documents with or without a CAD indicatorThis indicator is set using the CAD interface.
isDocInfoRecdCreatedFromCAD
- This indicator shows that the object (such as BOM or document) was created or changed in a CAD system. Data transfer in the SAP system via CAD interface.public void setIsDocInfoRecdStructure(@Nullable String isDocInfoRecdStructure)
Original property name from the Odata EDM: IsDocInfoRecdStructure
isDocInfoRecdStructure
- public void setResponsiblePersonName(@Nullable String responsiblePersonName)
Original property name from the Odata EDM: ResponsiblePersonName
When you Create or Change a document info record:When you create a document info record, the system sets your user name as a default. You can overwrite this name using any user name defined in the SAP System. If you do not know the exact user name, you can select a user generically.To do this, enter the characters you know. Replace the sections you do not know with the special character "*".Example:Enter: WI*E*Hit list: WIDDELWIDERSKIIf you do not know any characters, enter the special character "*" at the beginning of the field. Please note that this will put a heavy load on the system.If the department of the responsible user is maintained in user maintenance (Address), this is displayed after the name.
responsiblePersonName
- Name of the user who is responsible for the document info record.public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
Original property name from the Odata EDM: CreationDateTime
creationDateTime
- Time Document Was Createdpublic void setCreatedByUser(@Nullable String createdByUser)
Original property name from the Odata EDM: CreatedByUser
createdByUser
- Document Creator's Namepublic void setChangedDateTime(@Nullable ZonedDateTime changedDateTime)
Original property name from the Odata EDM: ChangedDateTime
changedDateTime
- Time last change was madepublic void setLastChangedByUser(@Nullable String lastChangedByUser)
Original property name from the Odata EDM: LastChangedByUser
lastChangedByUser
- Last Changed Byprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<DocumentInfoRecord>
protected Map<String,Object> getKey()
getKey
in class VdmObject<DocumentInfoRecord>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<DocumentInfoRecord>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<DocumentInfoRecord>
@Nonnull public static <T> DocumentInfoRecordField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
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> DocumentInfoRecordField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<DocumentInfoRecord>
public List<DocumentInfoRecordDesc> fetchDocDesc() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<DocumentInfoRecordDesc> getDocDescOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_DocDesc of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public Optional<List<DocumentInfoRecordDesc>> getDocDescIfPresent()
If the navigation property for an entity DocumentInfoRecord has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setDocDesc(@Nonnull List<DocumentInfoRecordDesc> value)
If the navigation property to_DocDesc of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of DocumentInfoRecordDesc entities.public void addDocDesc(DocumentInfoRecordDesc... entity)
If the navigation property to_DocDesc of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of DocumentInfoRecordDesc entities.public DocumentInfoRecordDocStsVH fetchDocStatusVH() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public DocumentInfoRecordDocStsVH getDocStatusVHOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_DocStatusVH of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public Optional<DocumentInfoRecordDocStsVH> getDocStatusVHIfPresent()
If the navigation property for an entity DocumentInfoRecord has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setDocStatusVH(DocumentInfoRecordDocStsVH value)
value
- New DocumentInfoRecordDocStsVH entity.public List<DocInfoRecdObjLinkProduct> fetchProductObj() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public List<DocInfoRecdObjLinkProduct> getProductObjOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_ProductObj of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
com.sap.cloud.sdk.odatav2.connectivity.ODataException
- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.public Optional<List<DocInfoRecdObjLinkProduct>> getProductObjIfPresent()
If the navigation property for an entity DocumentInfoRecord has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setProductObj(@Nonnull List<DocInfoRecdObjLinkProduct> value)
If the navigation property to_ProductObj of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of DocInfoRecdObjLinkProduct entities.public void addProductObj(DocInfoRecdObjLinkProduct... entity)
If the navigation property to_ProductObj of a queried DocumentInfoRecord is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of DocInfoRecdObjLinkProduct entities.public static DocumentInfoRecord.DocumentInfoRecordBuilder builder()
@Nullable public String getDocumentInfoRecordDocType()
Original property name from the Odata EDM: DocumentInfoRecordDocType
@Nullable public String getDocumentInfoRecordDocVersion()
Original property name from the Odata EDM: DocumentInfoRecordDocVersion
A new version is assigned after the original files have been edited in the following processing situations:The new processing status varies from the original in a certain way (for example, text change sin a text file).You want the original processing status to remain the same (for example, documentation of project progress).
@Nullable public String getDocumentInfoRecordDocNumber()
Original property name from the Odata EDM: DocumentInfoRecordDocNumber
@Nullable public String getDocumentInfoRecordDocPart()
Original property name from the Odata EDM: DocumentInfoRecordDocPart
Design departments, for example, can use document parts to divide up large documents such as design drawings into pages.
@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 getLaboratoryOrDesignOffice()
Original property name from the Odata EDM: LaboratoryOrDesignOffice
You define the keys in Customizing (for the Material Master).
@Nullable public String getAuthorizationGroup()
Original property name from the Odata EDM: AuthorizationGroup
In order to carry out a specific activity, the user must have authorization for the combination of the activity and the authorization group.
@Nullable public String getChangeNumber()
Original property name from the Odata EDM: ChangeNumber
The system determines the valid-from date from the header of the change master record.If you want to create a document:Once you save the document info record, you can no longer change the change number.If you want to process the document with another change number, you have to create a new version.The change master record must support processing of documents (Indicator: object type active for change number must be set in the change master).
@Nullable public Boolean getDocInfoRecdIsMarkedForDeletion()
Original property name from the Odata EDM: DocInfoRecdIsMarkedForDeletion
@Nullable public Boolean getIsDocInfoRecdCreatedFromCAD()
Original property name from the Odata EDM: IsDocInfoRecdCreatedFromCAD
This indicator is only for information.However you can use it as search criteria for a document search. You can restrict the document search as follows:Entry DescriptionX find documents with a CAD indicatorfind documents without a CAD indicator* find documents with or without a CAD indicatorThis indicator is set using the CAD interface.
@Nullable public String getIsDocInfoRecdStructure()
Original property name from the Odata EDM: IsDocInfoRecdStructure
@Nullable public String getResponsiblePersonName()
Original property name from the Odata EDM: ResponsiblePersonName
When you Create or Change a document info record:When you create a document info record, the system sets your user name as a default. You can overwrite this name using any user name defined in the SAP System. If you do not know the exact user name, you can select a user generically.To do this, enter the characters you know. Replace the sections you do not know with the special character "*".Example:Enter: WI*E*Hit list: WIDDELWIDERSKIIf you do not know any characters, enter the special character "*" at the beginning of the field. Please note that this will put a heavy load on the system.If the department of the responsible user is maintained in user maintenance (Address), this is displayed after the name.
@Nullable public ZonedDateTime getCreationDateTime()
Original property name from the Odata EDM: CreationDateTime
@Nullable public String getCreatedByUser()
Original property name from the Odata EDM: CreatedByUser
@Nullable public ZonedDateTime getChangedDateTime()
Original property name from the Odata EDM: ChangedDateTime
@Nullable public String getLastChangedByUser()
Original property name from the Odata EDM: LastChangedByUser
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<DocumentInfoRecord>
erpConfigContext
- public String toString()
toString
in class VdmObject<DocumentInfoRecord>
public boolean equals(Object o)
equals
in class VdmObject<DocumentInfoRecord>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<DocumentInfoRecord>
public int hashCode()
hashCode
in class VdmObject<DocumentInfoRecord>
Copyright © 2018 SAP SE. All rights reserved.