Class SuplrEvalScorecard
Original entity name from the Odata EDM: A_SuplrEvalScorecardType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SuplrEvalScorecard instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SuplrEvalScorecardSelectableSelector for all available fields of SuplrEvalScorecard.static final SuplrEvalScorecardField<String>Use with available fluent helpers to apply the SuplrEvalScorecardName field to query operations.static final SuplrEvalScorecardField<UUID>Use with available fluent helpers to apply the SuplrEvalScorecardUUID field to query operations.static final SuplrEvalScorecardField<String>Use with available fluent helpers to apply the SupplierEvalScorecard field to query operations.static final SuplrEvalScorecardOneToOneLink<SuplrEvalSccrdPurchaserResp>Use with available fluent helpers to apply the to_SuplrEvalSccrdPurchaserResp navigation property to query operations.static final SuplrEvalScorecardOneToOneLink<SuplrEvalScorecardRootQnaire>Use with available fluent helpers to apply the to_SuplrEvalScorecardRootQnaire navigation property to query operations.static final SuplrEvalScorecardOneToOneLink<SuplrEvalSccrdSupplier>Use with available fluent helpers to apply the to_Supplier navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSuplrEvalScorecard(UUID suplrEvalScorecardUUID, String supplierEvalScorecard, String suplrEvalScorecardName, SuplrEvalSccrdPurchaserResp toSuplrEvalSccrdPurchaserResp, SuplrEvalScorecardRootQnaire toSuplrEvalScorecardRootQnaire, SuplrEvalSccrdSupplier toSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SuplrEvalSccrdPurchaserResp entity (one to one) associated with this entity.Fetches the SuplrEvalScorecardRootQnaire entity (one to one) associated with this entity.Fetches the SuplrEvalSccrdSupplier entity (one to one) associated with this entity.static <T,DomainT>
SuplrEvalScorecardField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SuplrEvalScorecardField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringprotected StringgetKey()io.vavr.control.Option<SuplrEvalSccrdPurchaserResp>Retrieval of associated SuplrEvalSccrdPurchaserResp entity (one to one).Retrieval of associated SuplrEvalSccrdPurchaserResp entity (one to one).Constraints: Not nullable, Maximum length: 60io.vavr.control.Option<SuplrEvalScorecardRootQnaire>Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one).Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 20io.vavr.control.Option<SuplrEvalSccrdSupplier>Retrieval of associated SuplrEvalSccrdSupplier entity (one to one).Retrieval of associated SuplrEvalSccrdSupplier entity (one to one).getType()inthashCode()protected voidsetServicePathForFetch(String servicePathForFetch) voidOverwrites the associated SuplrEvalSccrdPurchaserResp entity for the loaded navigation property to_SuplrEvalSccrdPurchaserResp.voidsetSuplrEvalScorecardName(String suplrEvalScorecardName) Constraints: Not nullable, Maximum length: 60voidOverwrites the associated SuplrEvalScorecardRootQnaire entity for the loaded navigation property to_SuplrEvalScorecardRootQnaire.voidsetSuplrEvalScorecardUUID(UUID suplrEvalScorecardUUID) (Key Field) Constraints: Not nullablevoidOverwrites the associated SuplrEvalSccrdSupplier entity for the loaded navigation property to_Supplier.voidsetSupplierEvalScorecard(String supplierEvalScorecard) Constraints: Not nullable, Maximum length: 20toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of SuplrEvalScorecard. -
SUPLR_EVAL_SCORECARD_UUID
Use with available fluent helpers to apply the SuplrEvalScorecardUUID field to query operations. -
SUPPLIER_EVAL_SCORECARD
Use with available fluent helpers to apply the SupplierEvalScorecard field to query operations. -
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_RESPUse 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_QNAIREUse with available fluent helpers to apply the to_SuplrEvalScorecardRootQnaire navigation property to query operations. -
TO_SUPPLIER
Use with available fluent helpers to apply the to_Supplier navigation property to query operations.
-
-
Constructor Details
-
SuplrEvalScorecard
public SuplrEvalScorecard() -
SuplrEvalScorecard
public SuplrEvalScorecard(@Nullable UUID suplrEvalScorecardUUID, @Nullable String supplierEvalScorecard, @Nullable String suplrEvalScorecardName, @Nullable SuplrEvalSccrdPurchaserResp toSuplrEvalSccrdPurchaserResp, @Nullable SuplrEvalScorecardRootQnaire toSuplrEvalScorecardRootQnaire, @Nullable SuplrEvalSccrdSupplier toSupplier)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SuplrEvalScorecard>
-
setSuplrEvalScorecardUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrEvalScorecardUUID
- Parameters:
suplrEvalScorecardUUID- Evaluation Scorecard UUID
-
setSupplierEvalScorecard
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierEvalScorecard
- Parameters:
supplierEvalScorecard- Evaluation Scorecard
-
setSuplrEvalScorecardName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SuplrEvalScorecardName
- Parameters:
suplrEvalScorecardName- Name of a Supplier Evaluation Scorecard
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SuplrEvalScorecard>
-
getKey
- Overrides:
getKeyin classVdmObject<SuplrEvalScorecard>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SuplrEvalScorecard>
-
fromMap
- Overrides:
fromMapin classVdmObject<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 fieldfieldName- 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
- Overrides:
getDestinationForFetchin classVdmEntity<SuplrEvalScorecard>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SuplrEvalScorecard>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SuplrEvalScorecard>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SuplrEvalScorecard>
-
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
nullif 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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrEvalSccrdPurchaserResp is already loaded, the
result will contain the SuplrEvalSccrdPurchaserResp entity. If not, an
Optionwith result stateemptyis returned.
-
setSuplrEvalSccrdPurchaserResp
Overwrites the associated SuplrEvalSccrdPurchaserResp entity for the loaded navigation property to_SuplrEvalSccrdPurchaserResp.- Parameters:
value- New SuplrEvalSccrdPurchaserResp entity.
-
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
nullif 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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_SuplrEvalScorecardRootQnaire is already loaded, the
result will contain the SuplrEvalScorecardRootQnaire entity. If not, an
Optionwith result stateemptyis returned.
-
setSuplrEvalScorecardRootQnaire
Overwrites the associated SuplrEvalScorecardRootQnaire entity for the loaded navigation property to_SuplrEvalScorecardRootQnaire.- Parameters:
value- New SuplrEvalScorecardRootQnaire entity.
-
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
nullif 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
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
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
Optionresult state will beempty.- Returns:
- If the information for navigation property to_Supplier is already loaded, the result will contain
the SuplrEvalSccrdSupplier entity. If not, an
Optionwith result stateemptyis returned.
-
setSupplier
Overwrites the associated SuplrEvalSccrdSupplier entity for the loaded navigation property to_Supplier.- Parameters:
value- New SuplrEvalSccrdSupplier entity.
-
builder
-
getSuplrEvalScorecardUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrEvalScorecardUUID
- Returns:
- Evaluation Scorecard UUID
-
getSupplierEvalScorecard
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SupplierEvalScorecard
- Returns:
- Evaluation Scorecard
-
getSuplrEvalScorecardName
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: SuplrEvalScorecardName
- Returns:
- Name of a Supplier Evaluation Scorecard
-
toString
- Overrides:
toStringin classVdmObject<SuplrEvalScorecard>
-
equals
- Overrides:
equalsin classVdmEntity<SuplrEvalScorecard>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SuplrEvalScorecard>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SuplrEvalScorecard>
-