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

public class SuplrEvalScorecard extends VdmEntity<SuplrEvalScorecard>
Evaluation Scorecard

Original entity name from the Odata EDM: A_SuplrEvalScorecardType

  • Field Details

    • ALL_FIELDS

      public static final SuplrEvalScorecardSelectable ALL_FIELDS
      Selector for all available fields of SuplrEvalScorecard.
    • SUPLR_EVAL_SCORECARD_UUID

      public static final SuplrEvalScorecardField<UUID> SUPLR_EVAL_SCORECARD_UUID
      Use with available fluent helpers to apply the SuplrEvalScorecardUUID field to query operations.
    • SUPPLIER_EVAL_SCORECARD

      public static final SuplrEvalScorecardField<String> SUPPLIER_EVAL_SCORECARD
      Use with available fluent helpers to apply the SupplierEvalScorecard field to query operations.
    • SUPLR_EVAL_SCORECARD_NAME

      public static final SuplrEvalScorecardField<String> SUPLR_EVAL_SCORECARD_NAME
      Use with available fluent helpers to apply the SuplrEvalScorecardName field to query operations.
    • TO_SUPLR_EVAL_SCCRD_PURCHASER_RESP

      public static final SuplrEvalScorecardOneToOneLink<SuplrEvalSccrdPurchaserResp> TO_SUPLR_EVAL_SCCRD_PURCHASER_RESP
      Use with available fluent helpers to apply the to_SuplrEvalSccrdPurchaserResp navigation property to query operations.
    • TO_SUPLR_EVAL_SCORECARD_ROOT_QNAIRE

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

      public static final SuplrEvalScorecardOneToOneLink<SuplrEvalSccrdSupplier> TO_SUPPLIER
      Use with available fluent helpers to apply the to_Supplier navigation property to query operations.
  • Constructor Details

  • Method Details

    • getType

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

      public void setSuplrEvalScorecardUUID(@Nullable UUID suplrEvalScorecardUUID)
      (Key Field) Constraints: Not nullable

      Original property name from the Odata EDM: SuplrEvalScorecardUUID

      Parameters:
      suplrEvalScorecardUUID - Evaluation Scorecard UUID
    • setSupplierEvalScorecard

      public void setSupplierEvalScorecard(@Nullable String supplierEvalScorecard)
      Constraints: Not nullable, Maximum length: 20

      Original property name from the Odata EDM: SupplierEvalScorecard

      Parameters:
      supplierEvalScorecard - Evaluation Scorecard
    • setSuplrEvalScorecardName

      public void setSuplrEvalScorecardName(@Nullable String suplrEvalScorecardName)
      Constraints: Not nullable, Maximum length: 60

      Original property name from the Odata EDM: SuplrEvalScorecardName

      Parameters:
      suplrEvalScorecardName - Name of a Supplier Evaluation Scorecard
    • getEntityCollection

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

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

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

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

      @Nonnull public static <T> SuplrEvalScorecardField<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> SuplrEvalScorecardField<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<SuplrEvalScorecard>
    • setServicePathForFetch

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

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

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

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

      @Nullable public SuplrEvalSccrdPurchaserResp fetchSuplrEvalSccrdPurchaserResp()
      Fetches the SuplrEvalSccrdPurchaserResp entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SuplrEvalSccrdPurchaserResp.

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

      Returns:
      The single associated SuplrEvalSccrdPurchaserResp 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.
    • getSuplrEvalSccrdPurchaserRespOrFetch

      @Nullable public SuplrEvalSccrdPurchaserResp getSuplrEvalSccrdPurchaserRespOrFetch()
      Retrieval of associated SuplrEvalSccrdPurchaserResp entity (one to one). This corresponds to the OData navigation property to_SuplrEvalSccrdPurchaserResp.

      If the navigation property to_SuplrEvalSccrdPurchaserResp of a queried SuplrEvalScorecard 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 SuplrEvalSccrdPurchaserResp 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.
    • getSuplrEvalSccrdPurchaserRespIfPresent

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

      If the navigation property for an entity SuplrEvalScorecard 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_SuplrEvalSccrdPurchaserResp is already loaded, the result will contain the SuplrEvalSccrdPurchaserResp entity. If not, an Option with result state empty is returned.
    • setSuplrEvalSccrdPurchaserResp

      public void setSuplrEvalSccrdPurchaserResp(SuplrEvalSccrdPurchaserResp value)
      Overwrites the associated SuplrEvalSccrdPurchaserResp entity for the loaded navigation property to_SuplrEvalSccrdPurchaserResp.
      Parameters:
      value - New SuplrEvalSccrdPurchaserResp entity.
    • 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 SuplrEvalScorecard 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 SuplrEvalScorecard 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.
    • fetchSupplier

      @Nullable public SuplrEvalSccrdSupplier fetchSupplier()
      Fetches the SuplrEvalSccrdSupplier entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Supplier.

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

      Returns:
      The single associated SuplrEvalSccrdSupplier 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.
    • getSupplierOrFetch

      @Nullable public SuplrEvalSccrdSupplier getSupplierOrFetch()
      Retrieval of associated SuplrEvalSccrdSupplier entity (one to one). This corresponds to the OData navigation property to_Supplier.

      If the navigation property to_Supplier of a queried SuplrEvalScorecard 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 SuplrEvalSccrdSupplier 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.
    • getSupplierIfPresent

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

      If the navigation property for an entity SuplrEvalScorecard 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_Supplier is already loaded, the result will contain the SuplrEvalSccrdSupplier entity. If not, an Option with result state empty is returned.
    • setSupplier

      public void setSupplier(SuplrEvalSccrdSupplier value)
      Overwrites the associated SuplrEvalSccrdSupplier entity for the loaded navigation property to_Supplier.
      Parameters:
      value - New SuplrEvalSccrdSupplier entity.
    • builder

      @Nonnull public static SuplrEvalScorecard.SuplrEvalScorecardBuilder builder()
    • getSuplrEvalScorecardUUID

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

      Original property name from the Odata EDM: SuplrEvalScorecardUUID

      Returns:
      Evaluation Scorecard UUID
    • getSupplierEvalScorecard

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

      Original property name from the Odata EDM: SupplierEvalScorecard

      Returns:
      Evaluation Scorecard
    • getSuplrEvalScorecardName

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

      Original property name from the Odata EDM: SuplrEvalScorecardName

      Returns:
      Name of a Supplier Evaluation Scorecard
    • toString

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

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

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

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