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

public class ChangeRecordReferenceDoc extends VdmEntity<ChangeRecordReferenceDoc>
Document Assignments to Change Records

Original entity name from the Odata EDM: A_ChangeRecordReferenceDocType

  • Field Details

    • ALL_FIELDS

      public static final ChangeRecordReferenceDocSelectable ALL_FIELDS
      Selector for all available fields of ChangeRecordReferenceDoc.
    • DELETE_MC

      public static final ChangeRecordReferenceDocField<Boolean> DELETE_MC
      Use with available fluent helpers to apply the Delete_mc field to query operations.
    • UPDATE_MC

      public static final ChangeRecordReferenceDocField<Boolean> UPDATE_MC
      Use with available fluent helpers to apply the Update_mc field to query operations.
    • CHANGE_RECORD_REFERENCE_UUID

      public static final ChangeRecordReferenceDocField<UUID> CHANGE_RECORD_REFERENCE_UUID
      Use with available fluent helpers to apply the ChangeRecordReferenceUUID field to query operations.
    • CHANGE_RECORD

      public static final ChangeRecordReferenceDocField<String> CHANGE_RECORD
      Use with available fluent helpers to apply the ChangeRecord field to query operations.
    • CHANGE_RECORD_UUID

      public static final ChangeRecordReferenceDocField<UUID> CHANGE_RECORD_UUID
      Use with available fluent helpers to apply the ChangeRecordUUID field to query operations.
    • CHANGE_RECORD_REFERENCE_TYPE

      public static final ChangeRecordReferenceDocField<String> CHANGE_RECORD_REFERENCE_TYPE
      Use with available fluent helpers to apply the ChangeRecordReferenceType field to query operations.
    • CREATED_BY_USER

      public static final ChangeRecordReferenceDocField<String> CREATED_BY_USER
      Use with available fluent helpers to apply the CreatedByUser field to query operations.
    • CREATION_DATE_TIME

      public static final ChangeRecordReferenceDocField<ZonedDateTime> CREATION_DATE_TIME
      Use with available fluent helpers to apply the CreationDateTime field to query operations.
    • LAST_CHANGED_BY_USER

      public static final ChangeRecordReferenceDocField<String> LAST_CHANGED_BY_USER
      Use with available fluent helpers to apply the LastChangedByUser field to query operations.
    • LAST_CHANGE_DATE_TIME

      public static final ChangeRecordReferenceDocField<BigDecimal> LAST_CHANGE_DATE_TIME
      Use with available fluent helpers to apply the LastChangeDateTime field to query operations.
    • DOCUMENT_INFO_RECORD

      public static final ChangeRecordReferenceDocField<String> DOCUMENT_INFO_RECORD
      Use with available fluent helpers to apply the DocumentInfoRecord field to query operations.
    • DOCUMENT_TYPE

      public static final ChangeRecordReferenceDocField<String> DOCUMENT_TYPE
      Use with available fluent helpers to apply the DocumentType field to query operations.
    • DOCUMENT_PART

      public static final ChangeRecordReferenceDocField<String> DOCUMENT_PART
      Use with available fluent helpers to apply the DocumentPart field to query operations.
    • DOCUMENT_VERSION

      public static final ChangeRecordReferenceDocField<String> DOCUMENT_VERSION
      Use with available fluent helpers to apply the DocumentVersion field to query operations.
    • CHANGE_RECORD_ITEM_RELEVANCE

      public static final ChangeRecordReferenceDocField<String> CHANGE_RECORD_ITEM_RELEVANCE
      Use with available fluent helpers to apply the ChangeRecordItemRelevance field to query operations.
    • EXTERNAL_DOCUMENT_STATUS

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

    • ChangeRecordReferenceDoc

      public ChangeRecordReferenceDoc()
    • ChangeRecordReferenceDoc

      public ChangeRecordReferenceDoc(@Nullable Boolean delete_mc, @Nullable Boolean update_mc, @Nullable UUID changeRecordReferenceUUID, @Nullable String changeRecord, @Nullable UUID changeRecordUUID, @Nullable String changeRecordReferenceType, @Nullable String createdByUser, @Nullable ZonedDateTime creationDateTime, @Nullable String lastChangedByUser, @Nullable BigDecimal lastChangeDateTime, @Nullable String documentInfoRecord, @Nullable String documentType, @Nullable String documentPart, @Nullable String documentVersion, @Nullable String changeRecordItemRelevance, @Nullable String externalDocumentStatus)
  • Method Details

    • getType

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

      public void setDelete_mc(@Nullable Boolean delete_mc)
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Parameters:
      delete_mc - Dyn. Method Control
    • setUpdate_mc

      public void setUpdate_mc(@Nullable Boolean update_mc)
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Parameters:
      update_mc - Dyn. Method Control
    • setChangeRecordReferenceUUID

      public void setChangeRecordReferenceUUID(@Nullable UUID changeRecordReferenceUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ChangeRecordReferenceUUID

      Parameters:
      changeRecordReferenceUUID - NodeID
    • setChangeRecord

      public void setChangeRecord(@Nullable String changeRecord)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ChangeRecord

      Parameters:
      changeRecord - Issue ID
    • setChangeRecordUUID

      public void setChangeRecordUUID(@Nullable UUID changeRecordUUID)
      Constraints: none

      Original property name from the Odata EDM: ChangeRecordUUID

      Parameters:
      changeRecordUUID - NodeID
    • setChangeRecordReferenceType

      public void setChangeRecordReferenceType(@Nullable String changeRecordReferenceType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChangeRecordReferenceType

      Parameters:
      changeRecordReferenceType - Object Type
    • setCreatedByUser

      public void setCreatedByUser(@Nullable String createdByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Parameters:
      createdByUser - Created By
    • setCreationDateTime

      public void setCreationDateTime(@Nullable ZonedDateTime creationDateTime)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Parameters:
      creationDateTime - UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • setLastChangedByUser

      public void setLastChangedByUser(@Nullable String lastChangedByUser)
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Parameters:
      lastChangedByUser - Changed By
    • setLastChangeDateTime

      public void setLastChangeDateTime(@Nullable BigDecimal lastChangeDateTime)
      Constraints: Not nullable, Precision: 22, Scale: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Parameters:
      lastChangeDateTime - The lastChangeDateTime to set.
    • setDocumentInfoRecord

      public void setDocumentInfoRecord(@Nullable String documentInfoRecord)
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocumentInfoRecord

      Parameters:
      documentInfoRecord - Document number
    • setDocumentType

      public void setDocumentType(@Nullable String documentType)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentType

      Parameters:
      documentType - Document Type
    • setDocumentPart

      public void setDocumentPart(@Nullable String documentPart)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentPart

      Parameters:
      documentPart - Document Part
    • setDocumentVersion

      public void setDocumentVersion(@Nullable String documentVersion)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: DocumentVersion

      Parameters:
      documentVersion - Document Version
    • setChangeRecordItemRelevance

      public void setChangeRecordItemRelevance(@Nullable String changeRecordItemRelevance)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChangeRecordItemRelevance

      Parameters:
      changeRecordItemRelevance - Change Record Item Relevance
    • setExternalDocumentStatus

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

      Original property name from the Odata EDM: ExternalDocumentStatus

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

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

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

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

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

      @Nonnull public static <T> ChangeRecordReferenceDocField<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> ChangeRecordReferenceDocField<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<ChangeRecordReferenceDoc>
    • setServicePathForFetch

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

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

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

    • getDelete_mc

      @Nullable public Boolean getDelete_mc()
      Constraints: none

      Original property name from the Odata EDM: Delete_mc

      Returns:
      Dyn. Method Control
    • getUpdate_mc

      @Nullable public Boolean getUpdate_mc()
      Constraints: none

      Original property name from the Odata EDM: Update_mc

      Returns:
      Dyn. Method Control
    • getChangeRecordReferenceUUID

      @Nullable public UUID getChangeRecordReferenceUUID()
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: ChangeRecordReferenceUUID

      Returns:
      NodeID
    • getChangeRecord

      @Nullable public String getChangeRecord()
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: ChangeRecord

      Returns:
      Issue ID
    • getChangeRecordUUID

      @Nullable public UUID getChangeRecordUUID()
      Constraints: none

      Original property name from the Odata EDM: ChangeRecordUUID

      Returns:
      NodeID
    • getChangeRecordReferenceType

      @Nullable public String getChangeRecordReferenceType()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChangeRecordReferenceType

      Returns:
      Object Type
    • getCreatedByUser

      @Nullable public String getCreatedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: CreatedByUser

      Returns:
      Created By
    • getCreationDateTime

      @Nullable public ZonedDateTime getCreationDateTime()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: CreationDateTime

      Returns:
      UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
    • getLastChangedByUser

      @Nullable public String getLastChangedByUser()
      Constraints: Not nullable, Maximum length: 12

      Original property name from the Odata EDM: LastChangedByUser

      Returns:
      Changed By
    • getLastChangeDateTime

      @Nullable public BigDecimal getLastChangeDateTime()
      Constraints: Not nullable, Precision: 22, Scale: 7

      Original property name from the Odata EDM: LastChangeDateTime

      Returns:
      The lastChangeDateTime contained in this entity.
    • getDocumentInfoRecord

      @Nullable public String getDocumentInfoRecord()
      Constraints: Not nullable, Maximum length: 25

      Original property name from the Odata EDM: DocumentInfoRecord

      Returns:
      Document number
    • getDocumentType

      @Nullable public String getDocumentType()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentType

      Returns:
      Document Type
    • getDocumentPart

      @Nullable public String getDocumentPart()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: DocumentPart

      Returns:
      Document Part
    • getDocumentVersion

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

      Original property name from the Odata EDM: DocumentVersion

      Returns:
      Document Version
    • getChangeRecordItemRelevance

      @Nullable public String getChangeRecordItemRelevance()
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: ChangeRecordItemRelevance

      Returns:
      Change Record Item Relevance
    • getExternalDocumentStatus

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

      Original property name from the Odata EDM: ExternalDocumentStatus

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

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

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

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

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