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

public class SubordinateCntrlContract extends VdmEntity<SubordinateCntrlContract>
Subordinate Central Contract

Original entity name from the Odata EDM: A_SubordinateCntrlContractType

  • Field Details

    • ALL_FIELDS

      public static final SubordinateCntrlContractSelectable ALL_FIELDS
      Selector for all available fields of SubordinateCntrlContract.
    • PURCHASING_PARENT_DOCUMENT

      public static final SubordinateCntrlContractField<String> PURCHASING_PARENT_DOCUMENT
      Use with available fluent helpers to apply the PurchasingParentDocument field to query operations.
    • SUBORD_CNTRL_PUR_CONTRACT

      public static final SubordinateCntrlContractField<String> SUBORD_CNTRL_PUR_CONTRACT
      Use with available fluent helpers to apply the SubordCntrlPurContract field to query operations.
    • PROCMT_HUB_COMPANY_CODE_GROUPING_ID

      public static final SubordinateCntrlContractField<String> PROCMT_HUB_COMPANY_CODE_GROUPING_ID
      Use with available fluent helpers to apply the ProcmtHubCompanyCodeGroupingID field to query operations.
    • ACTIVE_PURCHASING_DOCUMENT

      public static final SubordinateCntrlContractField<String> ACTIVE_PURCHASING_DOCUMENT
      Use with available fluent helpers to apply the ActivePurchasingDocument field to query operations.
    • PURCHASE_CONTRACT_TYPE

      public static final SubordinateCntrlContractField<String> PURCHASE_CONTRACT_TYPE
      Use with available fluent helpers to apply the PurchaseContractType field to query operations.
    • COMPANY_CODE

      public static final SubordinateCntrlContractField<String> COMPANY_CODE
      Use with available fluent helpers to apply the CompanyCode field to query operations.
    • PURCHASING_DOCUMENT_SUBTYPE

      public static final SubordinateCntrlContractField<String> PURCHASING_DOCUMENT_SUBTYPE
      Use with available fluent helpers to apply the PurchasingDocumentSubtype field to query operations.
    • PURCHASING_ORGANIZATION

      public static final SubordinateCntrlContractField<String> PURCHASING_ORGANIZATION
      Use with available fluent helpers to apply the PurchasingOrganization field to query operations.
    • VALIDITY_START_DATE

      public static final SubordinateCntrlContractField<LocalDateTime> VALIDITY_START_DATE
      Use with available fluent helpers to apply the ValidityStartDate field to query operations.
    • VALIDITY_END_DATE

      public static final SubordinateCntrlContractField<LocalDateTime> VALIDITY_END_DATE
      Use with available fluent helpers to apply the ValidityEndDate field to query operations.
    • PURCHASING_GROUP

      public static final SubordinateCntrlContractField<String> PURCHASING_GROUP
      Use with available fluent helpers to apply the PurchasingGroup field to query operations.
    • IS_END_OF_PURPOSE_BLOCKED

      public static final SubordinateCntrlContractField<String> IS_END_OF_PURPOSE_BLOCKED
      Use with available fluent helpers to apply the IsEndOfPurposeBlocked field to query operations.
    • CNTRL_PUR_CONTR_DESCRIPTION

      public static final SubordinateCntrlContractField<String> CNTRL_PUR_CONTR_DESCRIPTION
      Use with available fluent helpers to apply the CntrlPurContrDescription field to query operations.
    • SUBORD_CNTRL_PUR_CONTR_LAST_UPDT_STS

      public static final SubordinateCntrlContractField<String> SUBORD_CNTRL_PUR_CONTR_LAST_UPDT_STS
      Use with available fluent helpers to apply the SubordCntrlPurContrLastUpdtSts field to query operations.
    • SUBORD_CNTRL_CONTR_LAST_UPDT_DTE_TME

      public static final SubordinateCntrlContractField<ZonedDateTime> SUBORD_CNTRL_CONTR_LAST_UPDT_DTE_TME
      Use with available fluent helpers to apply the SubordCntrlContrLastUpdtDteTme field to query operations.
    • DISTR_RESPONSE_MESSAGE_UUID

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

    • SubordinateCntrlContract

      public SubordinateCntrlContract()
    • SubordinateCntrlContract

      public SubordinateCntrlContract(@Nullable String purchasingParentDocument, @Nullable String subordCntrlPurContract, @Nullable String procmtHubCompanyCodeGroupingID, @Nullable String activePurchasingDocument, @Nullable String purchaseContractType, @Nullable String companyCode, @Nullable String purchasingDocumentSubtype, @Nullable String purchasingOrganization, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String purchasingGroup, @Nullable String isEndOfPurposeBlocked, @Nullable String cntrlPurContrDescription, @Nullable String subordCntrlPurContrLastUpdtSts, @Nullable ZonedDateTime subordCntrlContrLastUpdtDteTme, @Nullable UUID distrResponseMessageUUID)
  • Method Details

    • getType

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

      public void setPurchasingParentDocument(@Nullable String purchasingParentDocument)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchasingParentDocument

      Parameters:
      purchasingParentDocument - ID of the Parent Document
    • setSubordCntrlPurContract

      public void setSubordCntrlPurContract(@Nullable String subordCntrlPurContract)
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SubordCntrlPurContract

      Parameters:
      subordCntrlPurContract - Active Purchasing Document
    • setProcmtHubCompanyCodeGroupingID

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

      Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID

      Parameters:
      procmtHubCompanyCodeGroupingID - Grouping ID for Company Codes
    • setActivePurchasingDocument

      public void setActivePurchasingDocument(@Nullable String activePurchasingDocument)
      Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: ActivePurchasingDocument

      Parameters:
      activePurchasingDocument - Active Purchasing Document
    • setPurchaseContractType

      public void setPurchaseContractType(@Nullable String purchaseContractType)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseContractType

      Parameters:
      purchaseContractType - Purchasing Document Type
    • setCompanyCode

      public void setCompanyCode(@Nullable String companyCode)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Parameters:
      companyCode - Company Code
    • setPurchasingDocumentSubtype

      public void setPurchasingDocumentSubtype(@Nullable String purchasingDocumentSubtype)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: PurchasingDocumentSubtype

      Parameters:
      purchasingDocumentSubtype - Control indicator for purchasing document type
    • setPurchasingOrganization

      public void setPurchasingOrganization(@Nullable String purchasingOrganization)
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Parameters:
      purchasingOrganization - Purchasing Organization
    • setValidityStartDate

      public void setValidityStartDate(@Nullable LocalDateTime validityStartDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Parameters:
      validityStartDate - Start of Validity Period
    • setValidityEndDate

      public void setValidityEndDate(@Nullable LocalDateTime validityEndDate)
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Parameters:
      validityEndDate - End of Validity Period
    • setPurchasingGroup

      public void setPurchasingGroup(@Nullable String purchasingGroup)
      Constraints: Not nullable, Maximum length: 3

      Original property name from the Odata EDM: PurchasingGroup

      Parameters:
      purchasingGroup - Purchasing Group
    • setIsEndOfPurposeBlocked

      public void setIsEndOfPurposeBlocked(@Nullable String isEndOfPurposeBlocked)
      Constraints: Not nullable, Maximum length: 1

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Parameters:
      isEndOfPurposeBlocked - The isEndOfPurposeBlocked to set.
    • setCntrlPurContrDescription

      public void setCntrlPurContrDescription(@Nullable String cntrlPurContrDescription)
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CntrlPurContrDescription

      Parameters:
      cntrlPurContrDescription - Name of Purchasing Document
    • setSubordCntrlPurContrLastUpdtSts

      public void setSubordCntrlPurContrLastUpdtSts(@Nullable String subordCntrlPurContrLastUpdtSts)
      Constraints: Not nullable, Maximum length: 2

      Original property name from the Odata EDM: SubordCntrlPurContrLastUpdtSts

      Parameters:
      subordCntrlPurContrLastUpdtSts - Document Update Status
    • setSubordCntrlContrLastUpdtDteTme

      public void setSubordCntrlContrLastUpdtDteTme(@Nullable ZonedDateTime subordCntrlContrLastUpdtDteTme)
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: SubordCntrlContrLastUpdtDteTme

      Parameters:
      subordCntrlContrLastUpdtDteTme - Change Time Stamp
    • setDistrResponseMessageUUID

      public void setDistrResponseMessageUUID(@Nullable UUID distrResponseMessageUUID)
      Constraints: none

      Original property name from the Odata EDM: DistrResponseMessageUUID

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

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

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

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

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

      @Nonnull public static <T> SubordinateCntrlContractField<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> SubordinateCntrlContractField<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<SubordinateCntrlContract>
    • setServicePathForFetch

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

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

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

    • getPurchasingParentDocument

      @Nullable public String getPurchasingParentDocument()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: PurchasingParentDocument

      Returns:
      ID of the Parent Document
    • getSubordCntrlPurContract

      @Nullable public String getSubordCntrlPurContract()
      (Key Field) Constraints: Not nullable, Maximum length: 10

      Original property name from the Odata EDM: SubordCntrlPurContract

      Returns:
      Active Purchasing Document
    • getProcmtHubCompanyCodeGroupingID

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

      Original property name from the Odata EDM: ProcmtHubCompanyCodeGroupingID

      Returns:
      Grouping ID for Company Codes
    • getActivePurchasingDocument

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

      Original property name from the Odata EDM: ActivePurchasingDocument

      Returns:
      Active Purchasing Document
    • getPurchaseContractType

      @Nullable public String getPurchaseContractType()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchaseContractType

      Returns:
      Purchasing Document Type
    • getCompanyCode

      @Nullable public String getCompanyCode()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: CompanyCode

      Returns:
      Company Code
    • getPurchasingDocumentSubtype

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

      Original property name from the Odata EDM: PurchasingDocumentSubtype

      Returns:
      Control indicator for purchasing document type
    • getPurchasingOrganization

      @Nullable public String getPurchasingOrganization()
      Constraints: Not nullable, Maximum length: 4

      Original property name from the Odata EDM: PurchasingOrganization

      Returns:
      Purchasing Organization
    • getValidityStartDate

      @Nullable public LocalDateTime getValidityStartDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityStartDate

      Returns:
      Start of Validity Period
    • getValidityEndDate

      @Nullable public LocalDateTime getValidityEndDate()
      Constraints: Not nullable, Precision: 0

      Original property name from the Odata EDM: ValidityEndDate

      Returns:
      End of Validity Period
    • getPurchasingGroup

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

      Original property name from the Odata EDM: PurchasingGroup

      Returns:
      Purchasing Group
    • getIsEndOfPurposeBlocked

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

      Original property name from the Odata EDM: IsEndOfPurposeBlocked

      Returns:
      The isEndOfPurposeBlocked contained in this entity.
    • getCntrlPurContrDescription

      @Nullable public String getCntrlPurContrDescription()
      Constraints: Not nullable, Maximum length: 40

      Original property name from the Odata EDM: CntrlPurContrDescription

      Returns:
      Name of Purchasing Document
    • getSubordCntrlPurContrLastUpdtSts

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

      Original property name from the Odata EDM: SubordCntrlPurContrLastUpdtSts

      Returns:
      Document Update Status
    • getSubordCntrlContrLastUpdtDteTme

      @Nullable public ZonedDateTime getSubordCntrlContrLastUpdtDteTme()
      Constraints: Not nullable, Precision: 7

      Original property name from the Odata EDM: SubordCntrlContrLastUpdtDteTme

      Returns:
      Change Time Stamp
    • getDistrResponseMessageUUID

      @Nullable public UUID getDistrResponseMessageUUID()
      Constraints: none

      Original property name from the Odata EDM: DistrResponseMessageUUID

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

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

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

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

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