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

public class SuplrEvalRspStrucQnaire extends VdmEntity<SuplrEvalRspStrucQnaire>
Structure Questionnaire

Original entity name from the Odata EDM: A_SuplrEvalRspStrucQnaireType

  • Field Details

    • ALL_FIELDS

      public static final SuplrEvalRspStrucQnaireSelectable ALL_FIELDS
      Selector for all available fields of SuplrEvalRspStrucQnaire.
    • SUPLR_EVAL_RSP_QUESTIONNAIRE_UUID

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

      public static final SuplrEvalRspStrucQnaireField<UUID> SUPLR_EVAL_RSP_ROOT_QNAIRE_UUID
      Use with available fluent helpers to apply the SuplrEvalRspRootQnaireUUID field to query operations.
    • SUPLR_EVAL_RSP_UUID

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

      public static final SuplrEvalRspStrucQnaireField<String> QUESTIONNAIRE_NAME
      Use with available fluent helpers to apply the QuestionnaireName field to query operations.
    • CALCULATED_SCORE

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

      public static final SuplrEvalRspStrucQnaireField<Boolean> IS_SCORING_RELEVANT
      Use with available fluent helpers to apply the IsScoringRelevant field to query operations.
    • MINIMAL_SCORE

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

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

      public static final SuplrEvalRspStrucQnaireField<Integer> SUPLR_EVAL_ORDINAL_NUMBER
      Use with available fluent helpers to apply the SuplrEvalOrdinalNumber field to query operations.
    • TARGET_SCORE

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

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

      public static final SuplrEvalRspStrucQnaireLink<SuplrEvalRspSection> TO_SUPLR_EVAL_RSP_SECTION
      Use with available fluent helpers to apply the to_SuplrEvalRspSection navigation property to query operations.
  • Constructor Details

    • SuplrEvalRspStrucQnaire

      public SuplrEvalRspStrucQnaire()
    • SuplrEvalRspStrucQnaire

      public SuplrEvalRspStrucQnaire(@Nullable UUID suplrEvalRspQuestionnaireUUID, @Nullable UUID suplrEvalRspRootQnaireUUID, @Nullable UUID suplrEvalRspUUID, @Nullable String questionnaireName, @Nullable Double calculatedScore, @Nullable Boolean isScoringRelevant, @Nullable Short minimalScore, @Nullable Integer numberOfResponses, @Nullable Integer suplrEvalOrdinalNumber, @Nullable Short targetScore, @Nullable Short weightingFactor, List<SuplrEvalRspSection> toSuplrEvalRspSection)
  • Method Details

    • getType

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

      public void setSuplrEvalRspQuestionnaireUUID(@Nullable UUID suplrEvalRspQuestionnaireUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrEvalRspQuestionnaireUUID

      Parameters:
      suplrEvalRspQuestionnaireUUID - Evaluation Response Questionnaire UUID
    • setSuplrEvalRspRootQnaireUUID

      public void setSuplrEvalRspRootQnaireUUID(@Nullable UUID suplrEvalRspRootQnaireUUID)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspRootQnaireUUID

      Parameters:
      suplrEvalRspRootQnaireUUID - Supplier Evaluation Response Parent Hierarchy UUID
    • setSuplrEvalRspUUID

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

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Parameters:
      suplrEvalRspUUID - Evaluation Response UUID
    • setQuestionnaireName

      public void setQuestionnaireName(@Nullable String questionnaireName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: QuestionnaireName

      Parameters:
      questionnaireName - Medium-Size Name
    • setCalculatedScore

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

      Original property name from the Odata EDM: CalculatedScore

      Parameters:
      calculatedScore - Calculated Score
    • setIsScoringRelevant

      public void setIsScoringRelevant(@Nullable Boolean isScoringRelevant)
      Constraints: none

      Original property name from the Odata EDM: IsScoringRelevant

      Parameters:
      isScoringRelevant - Scoring Indicator
    • setMinimalScore

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

      Original property name from the Odata EDM: MinimalScore

      Parameters:
      minimalScore - Minimum Score Accepted
    • setNumberOfResponses

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

      Original property name from the Odata EDM: NumberOfResponses

      Parameters:
      numberOfResponses - Number of Responses
    • setSuplrEvalOrdinalNumber

      public void setSuplrEvalOrdinalNumber(@Nullable Integer suplrEvalOrdinalNumber)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalOrdinalNumber

      Parameters:
      suplrEvalOrdinalNumber - Ordinal Number Value
    • setTargetScore

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

      Original property name from the Odata EDM: TargetScore

      Parameters:
      targetScore - Target Score
    • setWeightingFactor

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

      Original property name from the Odata EDM: WeightingFactor

      Parameters:
      weightingFactor - Value of Weighting Factor
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SuplrEvalRspStrucQnaireField<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> SuplrEvalRspStrucQnaireField<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<SuplrEvalRspStrucQnaire>
    • setServicePathForFetch

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

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

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

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

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

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

      Returns:
      List containing one or more associated SuplrEvalRspSection 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.
    • getSuplrEvalRspSectionOrFetch

      @Nonnull public List<SuplrEvalRspSection> getSuplrEvalRspSectionOrFetch()
      Retrieval of associated SuplrEvalRspSection entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspSection.

      If the navigation property to_SuplrEvalRspSection of a queried SuplrEvalRspStrucQnaire 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 SuplrEvalRspSection 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.
    • getSuplrEvalRspSectionIfPresent

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

      If the navigation property for an entity SuplrEvalRspStrucQnaire 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_SuplrEvalRspSection is already loaded, the result will contain the SuplrEvalRspSection entities. If not, an Option with result state empty is returned.
    • setSuplrEvalRspSection

      public void setSuplrEvalRspSection(@Nonnull List<SuplrEvalRspSection> value)
      Overwrites the list of associated SuplrEvalRspSection entities for the loaded navigation property to_SuplrEvalRspSection.

      If the navigation property to_SuplrEvalRspSection of a queried SuplrEvalRspStrucQnaire 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 SuplrEvalRspSection entities.
    • addSuplrEvalRspSection

      public void addSuplrEvalRspSection(SuplrEvalRspSection... entity)
      Adds elements to the list of associated SuplrEvalRspSection entities. This corresponds to the OData navigation property to_SuplrEvalRspSection.

      If the navigation property to_SuplrEvalRspSection of a queried SuplrEvalRspStrucQnaire 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 SuplrEvalRspSection entities.
    • builder

    • getSuplrEvalRspQuestionnaireUUID

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

      Original property name from the Odata EDM: SuplrEvalRspQuestionnaireUUID

      Returns:
      Evaluation Response Questionnaire UUID
    • getSuplrEvalRspRootQnaireUUID

      @Nullable public UUID getSuplrEvalRspRootQnaireUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspRootQnaireUUID

      Returns:
      Supplier Evaluation Response Parent Hierarchy UUID
    • getSuplrEvalRspUUID

      @Nullable public UUID getSuplrEvalRspUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Returns:
      Evaluation Response UUID
    • getQuestionnaireName

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

      Original property name from the Odata EDM: QuestionnaireName

      Returns:
      Medium-Size Name
    • getCalculatedScore

      @Nullable public Double getCalculatedScore()
      Constraints: none

      Original property name from the Odata EDM: CalculatedScore

      Returns:
      Calculated Score
    • getIsScoringRelevant

      @Nullable public Boolean getIsScoringRelevant()
      Constraints: none

      Original property name from the Odata EDM: IsScoringRelevant

      Returns:
      Scoring Indicator
    • getMinimalScore

      @Nullable public Short getMinimalScore()
      Constraints: none

      Original property name from the Odata EDM: MinimalScore

      Returns:
      Minimum Score Accepted
    • getNumberOfResponses

      @Nullable public Integer getNumberOfResponses()
      Constraints: none

      Original property name from the Odata EDM: NumberOfResponses

      Returns:
      Number of Responses
    • getSuplrEvalOrdinalNumber

      @Nullable public Integer getSuplrEvalOrdinalNumber()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalOrdinalNumber

      Returns:
      Ordinal Number Value
    • getTargetScore

      @Nullable public Short getTargetScore()
      Constraints: none

      Original property name from the Odata EDM: TargetScore

      Returns:
      Target Score
    • getWeightingFactor

      @Nullable public Short getWeightingFactor()
      Constraints: none

      Original property name from the Odata EDM: WeightingFactor

      Returns:
      Value of Weighting Factor
    • toString

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

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

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

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