java.lang.Object
com.sap.cloud.sdk.datamodel.odata.helper.VdmObject<EntityT>
com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity<DocumentInfoRecordDocStsVH>
com.sap.cloud.sdk.s4hana.datamodel.odata.namespaces.documentmanagement.DocumentInfoRecordDocStsVH

public class DocumentInfoRecordDocStsVH extends VdmEntity<DocumentInfoRecordDocStsVH>
Document Status Value Help

Original entity name from the Odata EDM: A_DocumentInfoRecordDocStsVHType

  • Field Details

    • ALL_FIELDS

      public static final DocumentInfoRecordDocStsVHSelectable ALL_FIELDS
      Selector for all available fields of DocumentInfoRecordDocStsVH.
    • DOCUMENT_INFO_RECORD_DOC_TYPE

      public static final DocumentInfoRecordDocStsVHField<String> DOCUMENT_INFO_RECORD_DOC_TYPE
      Use with available fluent helpers to apply the DocumentInfoRecordDocType field to query operations.
    • LANGUAGE

      public static final DocumentInfoRecordDocStsVHField<String> LANGUAGE
      Use with available fluent helpers to apply the Language field to query operations.
    • EXTERNAL_DOCUMENT_STATUS

      public static final DocumentInfoRecordDocStsVHField<String> EXTERNAL_DOCUMENT_STATUS
      Use with available fluent helpers to apply the ExternalDocumentStatus field to query operations.
    • INTERNAL_DOCUMENT_STATUS

      public static final DocumentInfoRecordDocStsVHField<String> INTERNAL_DOCUMENT_STATUS
      Use with available fluent helpers to apply the InternalDocumentStatus field to query operations.
    • DOCUMENT_STATUS_NAME

      public static final DocumentInfoRecordDocStsVHField<String> DOCUMENT_STATUS_NAME
      Use with available fluent helpers to apply the DocumentStatusName field to query operations.
  • Constructor Details

    • DocumentInfoRecordDocStsVH

      public DocumentInfoRecordDocStsVH()
    • DocumentInfoRecordDocStsVH

      public DocumentInfoRecordDocStsVH(@Nullable String documentInfoRecordDocType, @Nullable String language, @Nullable String externalDocumentStatus, @Nullable String internalDocumentStatus, @Nullable String documentStatusName)
  • Method Details

    • getType

      @Nonnull public Class<DocumentInfoRecordDocStsVH> getType()
      Specified by:
      getType in class VdmObject<DocumentInfoRecordDocStsVH>
    • setDocumentInfoRecordDocType

      public void setDocumentInfoRecordDocType(@Nullable String documentInfoRecordDocType)
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocType

      Parameters:
      documentInfoRecordDocType - Document Type
    • setLanguage

      public void setLanguage(@Nullable String language)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Parameters:
      language - Language
    • setExternalDocumentStatus

      public void setExternalDocumentStatus(@Nullable String externalDocumentStatus)
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ExternalDocumentStatus

      Parameters:
      externalDocumentStatus - Status of a document (language-dependent)
    • setInternalDocumentStatus

      public void setInternalDocumentStatus(@Nullable String internalDocumentStatus)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: InternalDocumentStatus

      Parameters:
      internalDocumentStatus - Document Status
    • setDocumentStatusName

      public void setDocumentStatusName(@Nullable String documentStatusName)
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: DocumentStatusName

      Parameters:
      documentStatusName - Description of document status
    • getEntityCollection

      protected String getEntityCollection()
      Specified by:
      getEntityCollection in class VdmEntity<DocumentInfoRecordDocStsVH>
    • getKey

      @Nonnull protected Map<String,Object> getKey()
      Overrides:
      getKey in class VdmObject<DocumentInfoRecordDocStsVH>
    • toMapOfFields

      @Nonnull protected Map<String,Object> toMapOfFields()
      Overrides:
      toMapOfFields in class VdmObject<DocumentInfoRecordDocStsVH>
    • fromMap

      protected void fromMap(Map<String,Object> inputValues)
      Overrides:
      fromMap in class VdmObject<DocumentInfoRecordDocStsVH>
    • field

      @Nonnull public static <T> DocumentInfoRecordDocStsVHField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      Parameters:
      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.
      Returns:
      A representation of an extension field from this entity.
    • field

      @Nonnull public static <T, DomainT> DocumentInfoRecordDocStsVHField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
      Use with available fluent helpers to apply an extension field to query operations.
      Type Parameters:
      T - The type of the extension field when performing value comparisons.
      DomainT - The type of the extension field as returned by the OData service.
      Parameters:
      typeConverter - A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the field
      fieldName - The name of the extension field as returned by the OData service.
      Returns:
      A representation of an extension field from this entity, holding a reference to the given TypeConverter.
    • getDestinationForFetch

      @Nullable public HttpDestinationProperties getDestinationForFetch()
      Overrides:
      getDestinationForFetch in class VdmEntity<DocumentInfoRecordDocStsVH>
    • setServicePathForFetch

      protected void setServicePathForFetch(@Nullable String servicePathForFetch)
      Overrides:
      setServicePathForFetch in class VdmEntity<DocumentInfoRecordDocStsVH>
    • attachToService

      public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
      Overrides:
      attachToService in class VdmEntity<DocumentInfoRecordDocStsVH>
    • getDefaultServicePath

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<DocumentInfoRecordDocStsVH>
    • builder

    • getDocumentInfoRecordDocType

      @Nullable public String getDocumentInfoRecordDocType()
      (Key Field) Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentInfoRecordDocType

      Returns:
      Document Type
    • getLanguage

      @Nullable public String getLanguage()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: Language

      Returns:
      Language
    • getExternalDocumentStatus

      @Nullable public String getExternalDocumentStatus()
      (Key Field) Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: ExternalDocumentStatus

      Returns:
      Status of a document (language-dependent)
    • getInternalDocumentStatus

      @Nullable public String getInternalDocumentStatus()
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: InternalDocumentStatus

      Returns:
      Document Status
    • getDocumentStatusName

      @Nullable public String getDocumentStatusName()
      Constraints: Not nullable, Maximum length: 16

      Original property name from the Odata EDM: DocumentStatusName

      Returns:
      Description of document status
    • toString

      @Nonnull public String toString()
      Overrides:
      toString in class VdmObject<DocumentInfoRecordDocStsVH>
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class VdmEntity<DocumentInfoRecordDocStsVH>
    • canEqual

      protected boolean canEqual(@Nullable Object other)
      Overrides:
      canEqual in class VdmEntity<DocumentInfoRecordDocStsVH>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class VdmEntity<DocumentInfoRecordDocStsVH>