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

public class SuplrEvalRspSection extends VdmEntity<SuplrEvalRspSection>
Section

Original entity name from the Odata EDM: A_SuplrEvalRspSectionType

  • Field Details

    • ALL_FIELDS

      public static final SuplrEvalRspSectionSelectable ALL_FIELDS
      Selector for all available fields of SuplrEvalRspSection.
    • SUPLR_EVAL_RSP_SECTION_UUID

      public static final SuplrEvalRspSectionField<UUID> SUPLR_EVAL_RSP_SECTION_UUID
      Use with available fluent helpers to apply the SuplrEvalRspSectionUUID field to query operations.
    • SUPLR_EVAL_RSP_UUID

      public static final SuplrEvalRspSectionField<UUID> SUPLR_EVAL_RSP_UUID
      Use with available fluent helpers to apply the SuplrEvalRspUUID field to query operations.
    • SUPLR_EVAL_RSP_QUESTIONNAIRE_UUID

      public static final SuplrEvalRspSectionField<UUID> SUPLR_EVAL_RSP_QUESTIONNAIRE_UUID
      Use with available fluent helpers to apply the SuplrEvalRspQuestionnaireUUID field to query operations.
    • SUPLR_EVAL_REQ_SECTION_UUID

      public static final SuplrEvalRspSectionField<UUID> SUPLR_EVAL_REQ_SECTION_UUID
      Use with available fluent helpers to apply the SuplrEvalReqSectionUUID field to query operations.
    • SUPPLIER_EVAL_RESPONSE_SECTION

      public static final SuplrEvalRspSectionField<String> SUPPLIER_EVAL_RESPONSE_SECTION
      Use with available fluent helpers to apply the SupplierEvalResponseSection field to query operations.
    • SUPPLIER_EVAL_RESPONSE_SCTN_ALTV

      public static final SuplrEvalRspSectionField<Integer> SUPPLIER_EVAL_RESPONSE_SCTN_ALTV
      Use with available fluent helpers to apply the SupplierEvalResponseSctnAltv field to query operations.
    • QUESTIONNAIRE_SECTION_NAME

      public static final SuplrEvalRspSectionField<String> QUESTIONNAIRE_SECTION_NAME
      Use with available fluent helpers to apply the QuestionnaireSectionName field to query operations.
    • WEIGHTING_FACTOR

      public static final SuplrEvalRspSectionField<Short> WEIGHTING_FACTOR
      Use with available fluent helpers to apply the WeightingFactor field to query operations.
    • MINIMAL_SCORE

      public static final SuplrEvalRspSectionField<Short> MINIMAL_SCORE
      Use with available fluent helpers to apply the MinimalScore field to query operations.
    • TARGET_SCORE

      public static final SuplrEvalRspSectionField<Short> TARGET_SCORE
      Use with available fluent helpers to apply the TargetScore field to query operations.
    • CALCULATED_SCORE

      public static final SuplrEvalRspSectionField<Double> CALCULATED_SCORE
      Use with available fluent helpers to apply the CalculatedScore field to query operations.
    • NUMBER_OF_RESPONSES

      public static final SuplrEvalRspSectionField<Integer> NUMBER_OF_RESPONSES
      Use with available fluent helpers to apply the NumberOfResponses field to query operations.
    • TO_SUPLR_EVAL_RSP_QUESTION

      public static final SuplrEvalRspSectionLink<SuplrEvalRspQuestion> TO_SUPLR_EVAL_RSP_QUESTION
      Use with available fluent helpers to apply the to_SuplrEvalRspQuestion navigation property to query operations.
    • TO_SUPLR_EVAL_RSP_SECTION_TEXT

      public static final SuplrEvalRspSectionLink<SuplrEvalRspSectionText> TO_SUPLR_EVAL_RSP_SECTION_TEXT
      Use with available fluent helpers to apply the to_SuplrEvalRspSectionText navigation property to query operations.
  • Constructor Details

    • SuplrEvalRspSection

      public SuplrEvalRspSection()
    • SuplrEvalRspSection

      public SuplrEvalRspSection(@Nullable UUID suplrEvalRspSectionUUID, @Nullable UUID suplrEvalRspUUID, @Nullable UUID suplrEvalRspQuestionnaireUUID, @Nullable UUID suplrEvalReqSectionUUID, @Nullable String supplierEvalResponseSection, @Nullable Integer supplierEvalResponseSctnAltv, @Nullable String questionnaireSectionName, @Nullable Short weightingFactor, @Nullable Short minimalScore, @Nullable Short targetScore, @Nullable Double calculatedScore, @Nullable Integer numberOfResponses, List<SuplrEvalRspQuestion> toSuplrEvalRspQuestion, List<SuplrEvalRspSectionText> toSuplrEvalRspSectionText)
  • Method Details

    • getType

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

      public void setSuplrEvalRspSectionUUID(@Nullable UUID suplrEvalRspSectionUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrEvalRspSectionUUID

      Parameters:
      suplrEvalRspSectionUUID - Evaluation Response Section UUID
    • setSuplrEvalRspUUID

      public void setSuplrEvalRspUUID(@Nullable UUID suplrEvalRspUUID)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Parameters:
      suplrEvalRspUUID - Evaluation Response UUID
    • setSuplrEvalRspQuestionnaireUUID

      public void setSuplrEvalRspQuestionnaireUUID(@Nullable UUID suplrEvalRspQuestionnaireUUID)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspQuestionnaireUUID

      Parameters:
      suplrEvalRspQuestionnaireUUID - Evaluation Response Questionnaire UUID
    • setSuplrEvalReqSectionUUID

      public void setSuplrEvalReqSectionUUID(@Nullable UUID suplrEvalReqSectionUUID)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalReqSectionUUID

      Parameters:
      suplrEvalReqSectionUUID - NodeID
    • setSupplierEvalResponseSection

      public void setSupplierEvalResponseSection(@Nullable String supplierEvalResponseSection)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupplierEvalResponseSection

      Parameters:
      supplierEvalResponseSection - SLC Object ID
    • setSupplierEvalResponseSctnAltv

      public void setSupplierEvalResponseSctnAltv(@Nullable Integer supplierEvalResponseSctnAltv)
      Constraints: none

      Original property name from the Odata EDM: SupplierEvalResponseSctnAltv

      Parameters:
      supplierEvalResponseSctnAltv - Alternative ID of a Section
    • setQuestionnaireSectionName

      public void setQuestionnaireSectionName(@Nullable String questionnaireSectionName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: QuestionnaireSectionName

      Parameters:
      questionnaireSectionName - Medium-Size Name
    • setWeightingFactor

      public void setWeightingFactor(@Nullable Short weightingFactor)
      Constraints: none

      Original property name from the Odata EDM: WeightingFactor

      Parameters:
      weightingFactor - Value of Weighting Factor
    • setMinimalScore

      public void setMinimalScore(@Nullable Short minimalScore)
      Constraints: none

      Original property name from the Odata EDM: MinimalScore

      Parameters:
      minimalScore - Minimum Score Accepted
    • setTargetScore

      public void setTargetScore(@Nullable Short targetScore)
      Constraints: none

      Original property name from the Odata EDM: TargetScore

      Parameters:
      targetScore - Target Score
    • setCalculatedScore

      public void setCalculatedScore(@Nullable Double calculatedScore)
      Constraints: none

      Original property name from the Odata EDM: CalculatedScore

      Parameters:
      calculatedScore - Calculated Score
    • setNumberOfResponses

      public void setNumberOfResponses(@Nullable Integer numberOfResponses)
      Constraints: none

      Original property name from the Odata EDM: NumberOfResponses

      Parameters:
      numberOfResponses - Number of Responses
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SuplrEvalRspSectionField<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> SuplrEvalRspSectionField<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<SuplrEvalRspSection>
    • setServicePathForFetch

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

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

      protected String getDefaultServicePath()
      Overrides:
      getDefaultServicePath in class VdmEntity<SuplrEvalRspSection>
    • toMapOfNavigationProperties

      @Nonnull protected Map<String,Object> toMapOfNavigationProperties()
      Overrides:
      toMapOfNavigationProperties in class VdmObject<SuplrEvalRspSection>
    • fetchSuplrEvalRspQuestion

      @Nonnull public List<SuplrEvalRspQuestion> fetchSuplrEvalRspQuestion()
      Fetches the SuplrEvalRspQuestion entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SuplrEvalRspQuestion.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated SuplrEvalRspQuestion entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.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.
    • getSuplrEvalRspQuestionOrFetch

      @Nonnull public List<SuplrEvalRspQuestion> getSuplrEvalRspQuestionOrFetch()
      Retrieval of associated SuplrEvalRspQuestion entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspQuestion.

      If the navigation property to_SuplrEvalRspQuestion of a queried SuplrEvalRspSection 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.

      Returns:
      List of associated SuplrEvalRspQuestion entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.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.
    • getSuplrEvalRspQuestionIfPresent

      @Nonnull public io.vavr.control.Option<List<SuplrEvalRspQuestion>> getSuplrEvalRspQuestionIfPresent()
      Retrieval of associated SuplrEvalRspQuestion entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspQuestion.

      If the navigation property for an entity SuplrEvalRspSection has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_SuplrEvalRspQuestion is already loaded, the result will contain the SuplrEvalRspQuestion entities. If not, an Option with result state empty is returned.
    • setSuplrEvalRspQuestion

      public void setSuplrEvalRspQuestion(@Nonnull List<SuplrEvalRspQuestion> value)
      Overwrites the list of associated SuplrEvalRspQuestion entities for the loaded navigation property to_SuplrEvalRspQuestion.

      If the navigation property to_SuplrEvalRspQuestion of a queried SuplrEvalRspSection 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.

      Parameters:
      value - List of SuplrEvalRspQuestion entities.
    • addSuplrEvalRspQuestion

      public void addSuplrEvalRspQuestion(SuplrEvalRspQuestion... entity)
      Adds elements to the list of associated SuplrEvalRspQuestion entities. This corresponds to the OData navigation property to_SuplrEvalRspQuestion.

      If the navigation property to_SuplrEvalRspQuestion of a queried SuplrEvalRspSection 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.

      Parameters:
      entity - Array of SuplrEvalRspQuestion entities.
    • fetchSuplrEvalRspSectionText

      @Nonnull public List<SuplrEvalRspSectionText> fetchSuplrEvalRspSectionText()
      Fetches the SuplrEvalRspSectionText entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SuplrEvalRspSectionText.

      Please note: This method will not cache or persist the query results.

      Returns:
      List containing one or more associated SuplrEvalRspSectionText entities. If no entities are associated then an empty list is returned.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.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.
    • getSuplrEvalRspSectionTextOrFetch

      @Nonnull public List<SuplrEvalRspSectionText> getSuplrEvalRspSectionTextOrFetch()
      Retrieval of associated SuplrEvalRspSectionText entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspSectionText.

      If the navigation property to_SuplrEvalRspSectionText of a queried SuplrEvalRspSection 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.

      Returns:
      List of associated SuplrEvalRspSectionText entities.
      Throws:
      com.sap.cloud.sdk.datamodel.odata.client.exception.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.
    • getSuplrEvalRspSectionTextIfPresent

      @Nonnull public io.vavr.control.Option<List<SuplrEvalRspSectionText>> getSuplrEvalRspSectionTextIfPresent()
      Retrieval of associated SuplrEvalRspSectionText entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspSectionText.

      If the navigation property for an entity SuplrEvalRspSection has not been resolved yet, this method will not query further information. Instead its Option result state will be empty.

      Returns:
      If the information for navigation property to_SuplrEvalRspSectionText is already loaded, the result will contain the SuplrEvalRspSectionText entities. If not, an Option with result state empty is returned.
    • setSuplrEvalRspSectionText

      public void setSuplrEvalRspSectionText(@Nonnull List<SuplrEvalRspSectionText> value)
      Overwrites the list of associated SuplrEvalRspSectionText entities for the loaded navigation property to_SuplrEvalRspSectionText.

      If the navigation property to_SuplrEvalRspSectionText of a queried SuplrEvalRspSection 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.

      Parameters:
      value - List of SuplrEvalRspSectionText entities.
    • addSuplrEvalRspSectionText

      public void addSuplrEvalRspSectionText(SuplrEvalRspSectionText... entity)
      Adds elements to the list of associated SuplrEvalRspSectionText entities. This corresponds to the OData navigation property to_SuplrEvalRspSectionText.

      If the navigation property to_SuplrEvalRspSectionText of a queried SuplrEvalRspSection 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.

      Parameters:
      entity - Array of SuplrEvalRspSectionText entities.
    • builder

      @Nonnull public static SuplrEvalRspSection.SuplrEvalRspSectionBuilder builder()
    • getSuplrEvalRspSectionUUID

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

      Original property name from the Odata EDM: SuplrEvalRspSectionUUID

      Returns:
      Evaluation Response Section UUID
    • getSuplrEvalRspUUID

      @Nullable public UUID getSuplrEvalRspUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Returns:
      Evaluation Response UUID
    • getSuplrEvalRspQuestionnaireUUID

      @Nullable public UUID getSuplrEvalRspQuestionnaireUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspQuestionnaireUUID

      Returns:
      Evaluation Response Questionnaire UUID
    • getSuplrEvalReqSectionUUID

      @Nullable public UUID getSuplrEvalReqSectionUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalReqSectionUUID

      Returns:
      NodeID
    • getSupplierEvalResponseSection

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

      Original property name from the Odata EDM: SupplierEvalResponseSection

      Returns:
      SLC Object ID
    • getSupplierEvalResponseSctnAltv

      @Nullable public Integer getSupplierEvalResponseSctnAltv()
      Constraints: none

      Original property name from the Odata EDM: SupplierEvalResponseSctnAltv

      Returns:
      Alternative ID of a Section
    • getQuestionnaireSectionName

      @Nullable public String getQuestionnaireSectionName()
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: QuestionnaireSectionName

      Returns:
      Medium-Size Name
    • getWeightingFactor

      @Nullable public Short getWeightingFactor()
      Constraints: none

      Original property name from the Odata EDM: WeightingFactor

      Returns:
      Value of Weighting Factor
    • getMinimalScore

      @Nullable public Short getMinimalScore()
      Constraints: none

      Original property name from the Odata EDM: MinimalScore

      Returns:
      Minimum Score Accepted
    • getTargetScore

      @Nullable public Short getTargetScore()
      Constraints: none

      Original property name from the Odata EDM: TargetScore

      Returns:
      Target Score
    • getCalculatedScore

      @Nullable public Double getCalculatedScore()
      Constraints: none

      Original property name from the Odata EDM: CalculatedScore

      Returns:
      Calculated Score
    • getNumberOfResponses

      @Nullable public Integer getNumberOfResponses()
      Constraints: none

      Original property name from the Odata EDM: NumberOfResponses

      Returns:
      Number of Responses
    • toString

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

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

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

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