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

public class SuplrEvalRspRootQnaire extends VdmEntity<SuplrEvalRspRootQnaire>
Root Questionnaire

Original entity name from the Odata EDM: A_SuplrEvalRspRootQnaireType

  • Field Details

    • ALL_FIELDS

      public static final SuplrEvalRspRootQnaireSelectable ALL_FIELDS
      Selector for all available fields of SuplrEvalRspRootQnaire.
    • SUPLR_EVAL_RSP_QUESTIONNAIRE_UUID

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

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

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

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

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

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

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

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

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

      public static final SuplrEvalRspRootQnaireLink<SuplrEvalRspStrucQnaire> TO_SUPLR_EVAL_RSP_STRUC_QNAIRE
      Use with available fluent helpers to apply the to_SuplrEvalRspStrucQnaire navigation property to query operations.
  • Constructor Details

    • SuplrEvalRspRootQnaire

      public SuplrEvalRspRootQnaire()
    • SuplrEvalRspRootQnaire

      public SuplrEvalRspRootQnaire(@Nullable UUID suplrEvalRspQuestionnaireUUID, @Nullable UUID suplrEvalRspUUID, @Nullable Double calculatedScore, @Nullable Boolean isScoringRelevant, @Nullable Short minimalScore, @Nullable Integer numberOfResponses, @Nullable Integer suplrEvalOrdinalNumber, @Nullable Short targetScore, @Nullable Short weightingFactor, List<SuplrEvalRspStrucQnaire> toSuplrEvalRspStrucQnaire)
  • Method Details

    • getType

      @Nonnull public Class<SuplrEvalRspRootQnaire> getType()
      Specified by:
      getType in class VdmObject<SuplrEvalRspRootQnaire>
    • 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
    • setSuplrEvalRspUUID

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

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Parameters:
      suplrEvalRspUUID - Evaluation Response UUID
    • 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<SuplrEvalRspRootQnaire>
    • getKey

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

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

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

      @Nonnull public static <T> SuplrEvalRspRootQnaireField<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> SuplrEvalRspRootQnaireField<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<SuplrEvalRspRootQnaire>
    • setServicePathForFetch

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

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

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

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

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

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

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

      @Nonnull public List<SuplrEvalRspStrucQnaire> getSuplrEvalRspStrucQnaireOrFetch()
      Retrieval of associated SuplrEvalRspStrucQnaire entities (one to many). This corresponds to the OData navigation property to_SuplrEvalRspStrucQnaire.

      If the navigation property to_SuplrEvalRspStrucQnaire of a queried SuplrEvalRspRootQnaire 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 SuplrEvalRspStrucQnaire 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.
    • getSuplrEvalRspStrucQnaireIfPresent

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

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

      public void setSuplrEvalRspStrucQnaire(@Nonnull List<SuplrEvalRspStrucQnaire> value)
      Overwrites the list of associated SuplrEvalRspStrucQnaire entities for the loaded navigation property to_SuplrEvalRspStrucQnaire.

      If the navigation property to_SuplrEvalRspStrucQnaire of a queried SuplrEvalRspRootQnaire 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 SuplrEvalRspStrucQnaire entities.
    • addSuplrEvalRspStrucQnaire

      public void addSuplrEvalRspStrucQnaire(SuplrEvalRspStrucQnaire... entity)
      Adds elements to the list of associated SuplrEvalRspStrucQnaire entities. This corresponds to the OData navigation property to_SuplrEvalRspStrucQnaire.

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

      @Nonnull public static SuplrEvalRspRootQnaire.SuplrEvalRspRootQnaireBuilder builder()
    • getSuplrEvalRspQuestionnaireUUID

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

      Original property name from the Odata EDM: SuplrEvalRspQuestionnaireUUID

      Returns:
      Evaluation Response Questionnaire UUID
    • getSuplrEvalRspUUID

      @Nullable public UUID getSuplrEvalRspUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalRspUUID

      Returns:
      Evaluation Response UUID
    • 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<SuplrEvalRspRootQnaire>
    • equals

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

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

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