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

public class SuplrEvalSccrdStrucQnaire extends VdmEntity<SuplrEvalSccrdStrucQnaire>
Structure Questionnaire

Original entity name from the Odata EDM: A_SuplrEvalSccrdStrucQnaireType

  • Field Details

    • ALL_FIELDS

      public static final SuplrEvalSccrdStrucQnaireSelectable ALL_FIELDS
      Selector for all available fields of SuplrEvalSccrdStrucQnaire.
    • SUPLR_EVAL_SCORECARD_QNAIRE_UUID

      public static final SuplrEvalSccrdStrucQnaireField<UUID> SUPLR_EVAL_SCORECARD_QNAIRE_UUID
      Use with available fluent helpers to apply the SuplrEvalScorecardQnaireUUID field to query operations.
    • QUESTIONNAIRE_NAME

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

      public static final SuplrEvalSccrdStrucQnaireField<String> SUPPLIER_EVAL_SCORECARD_QNAIRE
      Use with available fluent helpers to apply the SupplierEvalScorecardQnaire field to query operations.
    • SUPLR_EVAL_SCORECARD_RT_QNAIRE_UUID

      public static final SuplrEvalSccrdStrucQnaireField<UUID> SUPLR_EVAL_SCORECARD_RT_QNAIRE_UUID
      Use with available fluent helpers to apply the SuplrEvalScorecardRtQnaireUUID field to query operations.
    • MINIMAL_SCORE

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

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

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

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

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

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

      public static final SuplrEvalSccrdStrucQnaireLink<SuplrEvalSccrdSection> TO_SUPLR_EVAL_SCCRD_SECTION
      Use with available fluent helpers to apply the to_SuplrEvalSccrdSection navigation property to query operations.
    • TO_SUPLR_EVAL_SCORECARD_ROOT_QNAIRE

      public static final SuplrEvalSccrdStrucQnaireOneToOneLink<SuplrEvalScorecardRootQnaire> TO_SUPLR_EVAL_SCORECARD_ROOT_QNAIRE
      Use with available fluent helpers to apply the to_SuplrEvalScorecardRootQnaire navigation property to query operations.
  • Constructor Details

    • SuplrEvalSccrdStrucQnaire

      public SuplrEvalSccrdStrucQnaire()
    • SuplrEvalSccrdStrucQnaire

      public SuplrEvalSccrdStrucQnaire(@Nullable UUID suplrEvalScorecardQnaireUUID, @Nullable String questionnaireName, @Nullable String supplierEvalScorecardQnaire, @Nullable UUID suplrEvalScorecardRtQnaireUUID, @Nullable Short minimalScore, @Nullable Short targetScore, @Nullable Double calculatedScore, @Nullable Integer numberOfResponses, @Nullable Short weightingFactor, @Nullable Integer suplrEvalOrdinalNumber, List<SuplrEvalSccrdSection> toSuplrEvalSccrdSection, @Nullable SuplrEvalScorecardRootQnaire toSuplrEvalScorecardRootQnaire)
  • Method Details

    • getType

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

      public void setSuplrEvalScorecardQnaireUUID(@Nullable UUID suplrEvalScorecardQnaireUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrEvalScorecardQnaireUUID

      Parameters:
      suplrEvalScorecardQnaireUUID - Evaluation Scorecard Questionnaire 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
    • setSupplierEvalScorecardQnaire

      public void setSupplierEvalScorecardQnaire(@Nullable String supplierEvalScorecardQnaire)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupplierEvalScorecardQnaire

      Parameters:
      supplierEvalScorecardQnaire - Supplier Evaluation Scorecard Questionnaire
    • setSuplrEvalScorecardRtQnaireUUID

      public void setSuplrEvalScorecardRtQnaireUUID(@Nullable UUID suplrEvalScorecardRtQnaireUUID)
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalScorecardRtQnaireUUID

      Parameters:
      suplrEvalScorecardRtQnaireUUID - Evaluation Scorecard Parent Hierarchy UUID
    • 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
    • setWeightingFactor

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

      Original property name from the Odata EDM: WeightingFactor

      Parameters:
      weightingFactor - Value of Weighting Factor
    • setSuplrEvalOrdinalNumber

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

      Original property name from the Odata EDM: SuplrEvalOrdinalNumber

      Parameters:
      suplrEvalOrdinalNumber - Ordinal Number Value
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SuplrEvalSccrdStrucQnaireField<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> SuplrEvalSccrdStrucQnaireField<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<SuplrEvalSccrdStrucQnaire>
    • setServicePathForFetch

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

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

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

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

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

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

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

      @Nonnull public List<SuplrEvalSccrdSection> getSuplrEvalSccrdSectionOrFetch()
      Retrieval of associated SuplrEvalSccrdSection entities (one to many). This corresponds to the OData navigation property to_SuplrEvalSccrdSection.

      If the navigation property to_SuplrEvalSccrdSection of a queried SuplrEvalSccrdStrucQnaire 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 SuplrEvalSccrdSection 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.
    • getSuplrEvalSccrdSectionIfPresent

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

      If the navigation property for an entity SuplrEvalSccrdStrucQnaire 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_SuplrEvalSccrdSection is already loaded, the result will contain the SuplrEvalSccrdSection entities. If not, an Option with result state empty is returned.
    • setSuplrEvalSccrdSection

      public void setSuplrEvalSccrdSection(@Nonnull List<SuplrEvalSccrdSection> value)
      Overwrites the list of associated SuplrEvalSccrdSection entities for the loaded navigation property to_SuplrEvalSccrdSection.

      If the navigation property to_SuplrEvalSccrdSection of a queried SuplrEvalSccrdStrucQnaire 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 SuplrEvalSccrdSection entities.
    • addSuplrEvalSccrdSection

      public void addSuplrEvalSccrdSection(SuplrEvalSccrdSection... entity)
      Adds elements to the list of associated SuplrEvalSccrdSection entities. This corresponds to the OData navigation property to_SuplrEvalSccrdSection.

      If the navigation property to_SuplrEvalSccrdSection of a queried SuplrEvalSccrdStrucQnaire 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 SuplrEvalSccrdSection entities.
    • fetchSuplrEvalScorecardRootQnaire

      @Nullable public SuplrEvalScorecardRootQnaire fetchSuplrEvalScorecardRootQnaire()
      Fetches the SuplrEvalScorecardRootQnaire entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SuplrEvalScorecardRootQnaire.

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

      Returns:
      The single associated SuplrEvalScorecardRootQnaire entity, or null if an entity is not associated.
      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.
    • getSuplrEvalScorecardRootQnaireOrFetch

      @Nullable public SuplrEvalScorecardRootQnaire getSuplrEvalScorecardRootQnaireOrFetch()
      Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one). This corresponds to the OData navigation property to_SuplrEvalScorecardRootQnaire.

      If the navigation property to_SuplrEvalScorecardRootQnaire of a queried SuplrEvalSccrdStrucQnaire 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 SuplrEvalScorecardRootQnaire entity.
      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.
    • getSuplrEvalScorecardRootQnaireIfPresent

      @Nonnull public io.vavr.control.Option<SuplrEvalScorecardRootQnaire> getSuplrEvalScorecardRootQnaireIfPresent()
      Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one). This corresponds to the OData navigation property to_SuplrEvalScorecardRootQnaire.

      If the navigation property for an entity SuplrEvalSccrdStrucQnaire 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_SuplrEvalScorecardRootQnaire is already loaded, the result will contain the SuplrEvalScorecardRootQnaire entity. If not, an Option with result state empty is returned.
    • setSuplrEvalScorecardRootQnaire

      public void setSuplrEvalScorecardRootQnaire(SuplrEvalScorecardRootQnaire value)
      Overwrites the associated SuplrEvalScorecardRootQnaire entity for the loaded navigation property to_SuplrEvalScorecardRootQnaire.
      Parameters:
      value - New SuplrEvalScorecardRootQnaire entity.
    • builder

    • getSuplrEvalScorecardQnaireUUID

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

      Original property name from the Odata EDM: SuplrEvalScorecardQnaireUUID

      Returns:
      Evaluation Scorecard Questionnaire UUID
    • getQuestionnaireName

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

      Original property name from the Odata EDM: QuestionnaireName

      Returns:
      Medium-Size Name
    • getSupplierEvalScorecardQnaire

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

      Original property name from the Odata EDM: SupplierEvalScorecardQnaire

      Returns:
      Supplier Evaluation Scorecard Questionnaire
    • getSuplrEvalScorecardRtQnaireUUID

      @Nullable public UUID getSuplrEvalScorecardRtQnaireUUID()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalScorecardRtQnaireUUID

      Returns:
      Evaluation Scorecard Parent Hierarchy UUID
    • 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
    • getWeightingFactor

      @Nullable public Short getWeightingFactor()
      Constraints: none

      Original property name from the Odata EDM: WeightingFactor

      Returns:
      Value of Weighting Factor
    • getSuplrEvalOrdinalNumber

      @Nullable public Integer getSuplrEvalOrdinalNumber()
      Constraints: none

      Original property name from the Odata EDM: SuplrEvalOrdinalNumber

      Returns:
      Ordinal Number Value
    • toString

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

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

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

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