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

public class CntrlPurContrDistrMessages extends VdmEntity<CntrlPurContrDistrMessages>
Distribution Message

Original entity name from the Odata EDM: A_CntrlPurContrDistrMessagesType

  • Field Details

    • ALL_FIELDS

      public static final CntrlPurContrDistrMessagesSelectable ALL_FIELDS
      Selector for all available fields of CntrlPurContrDistrMessages.
    • SEQUENCE_NUMBER

      public static final CntrlPurContrDistrMessagesField<String> SEQUENCE_NUMBER
      Use with available fluent helpers to apply the SequenceNumber field to query operations.
    • DISTR_RESPONSE_MESSAGE_UUID

      public static final CntrlPurContrDistrMessagesField<UUID> DISTR_RESPONSE_MESSAGE_UUID
      Use with available fluent helpers to apply the DistrResponseMessageUUID field to query operations.
    • PURCHASING_DOCUMENT

      public static final CntrlPurContrDistrMessagesField<String> PURCHASING_DOCUMENT
      Use with available fluent helpers to apply the PurchasingDocument field to query operations.
    • PURCHASING_DOCUMENT_CATEGORY

      public static final CntrlPurContrDistrMessagesField<String> PURCHASING_DOCUMENT_CATEGORY
      Use with available fluent helpers to apply the PurchasingDocumentCategory field to query operations.
    • EXT_CONTRACT_FOR_PURG

      public static final CntrlPurContrDistrMessagesField<String> EXT_CONTRACT_FOR_PURG
      Use with available fluent helpers to apply the ExtContractForPurg field to query operations.
    • LOGICAL_SYSTEM

      public static final CntrlPurContrDistrMessagesField<String> LOGICAL_SYSTEM
      Use with available fluent helpers to apply the LogicalSystem field to query operations.
    • SYSTEM_MESSAGE_TYPE

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_TYPE
      Use with available fluent helpers to apply the SystemMessageType field to query operations.
    • SYSTEM_MESSAGE_IDENTIFICATION

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_IDENTIFICATION
      Use with available fluent helpers to apply the SystemMessageIdentification field to query operations.
    • SYSTEM_MESSAGE_NUMBER

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_NUMBER
      Use with available fluent helpers to apply the SystemMessageNumber field to query operations.
    • SYSTEM_MESSAGE_VARIABLE1

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_VARIABLE1
      Use with available fluent helpers to apply the SystemMessageVariable1 field to query operations.
    • SYSTEM_MESSAGE_VARIABLE2

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_VARIABLE2
      Use with available fluent helpers to apply the SystemMessageVariable2 field to query operations.
    • SYSTEM_MESSAGE_VARIABLE3

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_VARIABLE3
      Use with available fluent helpers to apply the SystemMessageVariable3 field to query operations.
    • SYSTEM_MESSAGE_VARIABLE4

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_VARIABLE4
      Use with available fluent helpers to apply the SystemMessageVariable4 field to query operations.
    • SYSTEM_MESSAGE_TEXT

      public static final CntrlPurContrDistrMessagesField<String> SYSTEM_MESSAGE_TEXT
      Use with available fluent helpers to apply the SystemMessageText field to query operations.
  • Constructor Details

    • CntrlPurContrDistrMessages

      public CntrlPurContrDistrMessages()
    • CntrlPurContrDistrMessages

      public CntrlPurContrDistrMessages(@Nullable String sequenceNumber, @Nullable UUID distrResponseMessageUUID, @Nullable String purchasingDocument, @Nullable String purchasingDocumentCategory, @Nullable String extContractForPurg, @Nullable String logicalSystem, @Nullable String systemMessageType, @Nullable String systemMessageIdentification, @Nullable String systemMessageNumber, @Nullable String systemMessageVariable1, @Nullable String systemMessageVariable2, @Nullable String systemMessageVariable3, @Nullable String systemMessageVariable4, @Nullable String systemMessageText)
  • Method Details

    • getType

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

      public void setSequenceNumber(@Nullable String sequenceNumber)
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SequenceNumber

      Parameters:
      sequenceNumber - Sequence No. of Message during Contract Distribution
    • setDistrResponseMessageUUID

      public void setDistrResponseMessageUUID(@Nullable UUID distrResponseMessageUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: DistrResponseMessageUUID

      Parameters:
      distrResponseMessageUUID - Generic Data Element for GUID Fields (X16)
    • setPurchasingDocument

      public void setPurchasingDocument(@Nullable String purchasingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchasingDocument

      Parameters:
      purchasingDocument - Purchasing Document Number
    • setPurchasingDocumentCategory

      public void setPurchasingDocumentCategory(@Nullable String purchasingDocumentCategory)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Parameters:
      purchasingDocumentCategory - Purchasing Document Category
    • setExtContractForPurg

      public void setExtContractForPurg(@Nullable String extContractForPurg)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ExtContractForPurg

      Parameters:
      extContractForPurg - Contract of External System
    • setLogicalSystem

      public void setLogicalSystem(@Nullable String logicalSystem)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LogicalSystem

      Parameters:
      logicalSystem - Logical System
    • setSystemMessageType

      public void setSystemMessageType(@Nullable String systemMessageType)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SystemMessageType

      Parameters:
      systemMessageType - Message Type
    • setSystemMessageIdentification

      public void setSystemMessageIdentification(@Nullable String systemMessageIdentification)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SystemMessageIdentification

      Parameters:
      systemMessageIdentification - Message identification
    • setSystemMessageNumber

      public void setSystemMessageNumber(@Nullable String systemMessageNumber)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: SystemMessageNumber

      Parameters:
      systemMessageNumber - Message number
    • setSystemMessageVariable1

      public void setSystemMessageVariable1(@Nullable String systemMessageVariable1)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable1

      Parameters:
      systemMessageVariable1 - Message variable 01
    • setSystemMessageVariable2

      public void setSystemMessageVariable2(@Nullable String systemMessageVariable2)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable2

      Parameters:
      systemMessageVariable2 - Message variable 02
    • setSystemMessageVariable3

      public void setSystemMessageVariable3(@Nullable String systemMessageVariable3)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable3

      Parameters:
      systemMessageVariable3 - Message variable 03
    • setSystemMessageVariable4

      public void setSystemMessageVariable4(@Nullable String systemMessageVariable4)
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable4

      Parameters:
      systemMessageVariable4 - Message variable 04
    • setSystemMessageText

      public void setSystemMessageText(@Nullable String systemMessageText)
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: SystemMessageText

      Parameters:
      systemMessageText - The systemMessageText to set.
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> CntrlPurContrDistrMessagesField<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> CntrlPurContrDistrMessagesField<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<CntrlPurContrDistrMessages>
    • setServicePathForFetch

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

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

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

    • getSequenceNumber

      @Nullable public String getSequenceNumber()
      (Key Field) Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: SequenceNumber

      Returns:
      Sequence No. of Message during Contract Distribution
    • getDistrResponseMessageUUID

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

      Original property name from the Odata EDM: DistrResponseMessageUUID

      Returns:
      Generic Data Element for GUID Fields (X16)
    • getPurchasingDocument

      @Nullable public String getPurchasingDocument()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchasingDocument

      Returns:
      Purchasing Document Number
    • getPurchasingDocumentCategory

      @Nullable public String getPurchasingDocumentCategory()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentCategory

      Returns:
      Purchasing Document Category
    • getExtContractForPurg

      @Nullable public String getExtContractForPurg()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ExtContractForPurg

      Returns:
      Contract of External System
    • getLogicalSystem

      @Nullable public String getLogicalSystem()
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: LogicalSystem

      Returns:
      Logical System
    • getSystemMessageType

      @Nullable public String getSystemMessageType()
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: SystemMessageType

      Returns:
      Message Type
    • getSystemMessageIdentification

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

      Original property name from the Odata EDM: SystemMessageIdentification

      Returns:
      Message identification
    • getSystemMessageNumber

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

      Original property name from the Odata EDM: SystemMessageNumber

      Returns:
      Message number
    • getSystemMessageVariable1

      @Nullable public String getSystemMessageVariable1()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable1

      Returns:
      Message variable 01
    • getSystemMessageVariable2

      @Nullable public String getSystemMessageVariable2()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable2

      Returns:
      Message variable 02
    • getSystemMessageVariable3

      @Nullable public String getSystemMessageVariable3()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable3

      Returns:
      Message variable 03
    • getSystemMessageVariable4

      @Nullable public String getSystemMessageVariable4()
      Constraints: Not nullable, Maximum length: 50

      Original property name from the Odata EDM: SystemMessageVariable4

      Returns:
      Message variable 04
    • getSystemMessageText

      @Nullable public String getSystemMessageText()
      Constraints: Not nullable, Maximum length: 220

      Original property name from the Odata EDM: SystemMessageText

      Returns:
      The systemMessageText contained in this entity.
    • toString

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

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

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

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