Class SuplrEvalScorecardRootQnaire
Original entity name from the Odata EDM: A_SuplrEvalScorecardRootQnaireType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SuplrEvalScorecardRootQnaire instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SuplrEvalScorecardRootQnaireSelectableSelector for all available fields of SuplrEvalScorecardRootQnaire.static final SuplrEvalScorecardRootQnaireField<Double>Use with available fluent helpers to apply the CalculatedScore field to query operations.static final SuplrEvalScorecardRootQnaireField<Short>Use with available fluent helpers to apply the MinimalScore field to query operations.static final SuplrEvalScorecardRootQnaireField<Integer>Use with available fluent helpers to apply the NumberOfResponses field to query operations.static final SuplrEvalScorecardRootQnaireField<Integer>Use with available fluent helpers to apply the SuplrEvalOrdinalNumber field to query operations.static final SuplrEvalScorecardRootQnaireField<UUID>Use with available fluent helpers to apply the SuplrEvalScorecardQnaireUUID field to query operations.static final SuplrEvalScorecardRootQnaireField<UUID>Use with available fluent helpers to apply the SuplrEvalScorecardUUID field to query operations.static final SuplrEvalScorecardRootQnaireField<Short>Use with available fluent helpers to apply the TargetScore field to query operations.static final SuplrEvalScorecardRootQnaireLink<SuplrEvalSccrdStrucQnaire>Use with available fluent helpers to apply the to_SuplrEvalSccrdStrucQnaire navigation property to query operations.static final SuplrEvalScorecardRootQnaireOneToOneLink<SuplrEvalScorecard>Use with available fluent helpers to apply the to_SupplierEvalScorecard navigation property to query operations.static final SuplrEvalScorecardRootQnaireField<Short>Use with available fluent helpers to apply the WeightingFactor field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSuplrEvalScorecardRootQnaire(UUID suplrEvalScorecardQnaireUUID, UUID suplrEvalScorecardUUID, Short minimalScore, Short targetScore, Double calculatedScore, Integer numberOfResponses, Short weightingFactor, Integer suplrEvalOrdinalNumber, List<SuplrEvalSccrdStrucQnaire> toSuplrEvalSccrdStrucQnaire, SuplrEvalScorecard toSupplierEvalScorecard) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated SuplrEvalSccrdStrucQnaire entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SuplrEvalSccrdStrucQnaire entities (one to many) associated with this entity.Fetches the SuplrEvalScorecard entity (one to one) associated with this entity.static <T,DomainT>
SuplrEvalScorecardRootQnaireField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SuplrEvalScorecardRootQnaireField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: noneprotected Stringprotected StringgetKey()Constraints: noneConstraints: noneConstraints: noneio.vavr.control.Option<List<SuplrEvalSccrdStrucQnaire>>Retrieval of associated SuplrEvalSccrdStrucQnaire entities (one to many).Retrieval of associated SuplrEvalSccrdStrucQnaire entities (one to many).(Key Field) Constraints: Not nullableConstraints: noneio.vavr.control.Option<SuplrEvalScorecard>Retrieval of associated SuplrEvalScorecard entity (one to one).Retrieval of associated SuplrEvalScorecard entity (one to one).Constraints: nonegetType()Constraints: noneinthashCode()voidsetCalculatedScore(Double calculatedScore) Constraints: nonevoidsetMinimalScore(Short minimalScore) Constraints: nonevoidsetNumberOfResponses(Integer numberOfResponses) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetSuplrEvalOrdinalNumber(Integer suplrEvalOrdinalNumber) Constraints: nonevoidOverwrites the list of associated SuplrEvalSccrdStrucQnaire entities for the loaded navigation property to_SuplrEvalSccrdStrucQnaire.voidsetSuplrEvalScorecardQnaireUUID(UUID suplrEvalScorecardQnaireUUID) (Key Field) Constraints: Not nullablevoidsetSuplrEvalScorecardUUID(UUID suplrEvalScorecardUUID) Constraints: nonevoidOverwrites the associated SuplrEvalScorecard entity for the loaded navigation property to_SupplierEvalScorecard.voidsetTargetScore(Short targetScore) Constraints: nonevoidsetWeightingFactor(Short weightingFactor) Constraints: nonetoString()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 SuplrEvalScorecardRootQnaire. -
SUPLR_EVAL_SCORECARD_QNAIRE_UUID
Use with available fluent helpers to apply the SuplrEvalScorecardQnaireUUID field to query operations. -
SUPLR_EVAL_SCORECARD_UUID
Use with available fluent helpers to apply the SuplrEvalScorecardUUID field to query operations. -
MINIMAL_SCORE
Use with available fluent helpers to apply the MinimalScore field to query operations. -
TARGET_SCORE
Use with available fluent helpers to apply the TargetScore field to query operations. -
CALCULATED_SCORE
Use with available fluent helpers to apply the CalculatedScore field to query operations. -
NUMBER_OF_RESPONSES
Use with available fluent helpers to apply the NumberOfResponses field to query operations. -
WEIGHTING_FACTOR
Use with available fluent helpers to apply the WeightingFactor field to query operations. -
SUPLR_EVAL_ORDINAL_NUMBER
Use with available fluent helpers to apply the SuplrEvalOrdinalNumber field to query operations. -
TO_SUPLR_EVAL_SCCRD_STRUC_QNAIRE
public static final SuplrEvalScorecardRootQnaireLink<SuplrEvalSccrdStrucQnaire> TO_SUPLR_EVAL_SCCRD_STRUC_QNAIREUse with available fluent helpers to apply the to_SuplrEvalSccrdStrucQnaire navigation property to query operations. -
TO_SUPPLIER_EVAL_SCORECARD
public static final SuplrEvalScorecardRootQnaireOneToOneLink<SuplrEvalScorecard> TO_SUPPLIER_EVAL_SCORECARDUse with available fluent helpers to apply the to_SupplierEvalScorecard navigation property to query operations.
-
-
Constructor Details
-
SuplrEvalScorecardRootQnaire
public SuplrEvalScorecardRootQnaire() -
SuplrEvalScorecardRootQnaire
public SuplrEvalScorecardRootQnaire(@Nullable UUID suplrEvalScorecardQnaireUUID, @Nullable UUID suplrEvalScorecardUUID, @Nullable Short minimalScore, @Nullable Short targetScore, @Nullable Double calculatedScore, @Nullable Integer numberOfResponses, @Nullable Short weightingFactor, @Nullable Integer suplrEvalOrdinalNumber, List<SuplrEvalSccrdStrucQnaire> toSuplrEvalSccrdStrucQnaire, @Nullable SuplrEvalScorecard toSupplierEvalScorecard)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SuplrEvalScorecardRootQnaire>
-
setSuplrEvalScorecardQnaireUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrEvalScorecardQnaireUUID
- Parameters:
suplrEvalScorecardQnaireUUID- Evaluation Scorecard Questionnaire UUID
-
setSuplrEvalScorecardUUID
Constraints: noneOriginal property name from the Odata EDM: SuplrEvalScorecardUUID
- Parameters:
suplrEvalScorecardUUID- Evaluation Scorecard UUID
-
setMinimalScore
Constraints: noneOriginal property name from the Odata EDM: MinimalScore
- Parameters:
minimalScore- Minimum Score Accepted
-
setTargetScore
Constraints: noneOriginal property name from the Odata EDM: TargetScore
- Parameters:
targetScore- Target Score
-
setCalculatedScore
Constraints: noneOriginal property name from the Odata EDM: CalculatedScore
- Parameters:
calculatedScore- Calculated Score
-
setNumberOfResponses
Constraints: noneOriginal property name from the Odata EDM: NumberOfResponses
- Parameters:
numberOfResponses- Number of Responses
-
setWeightingFactor
Constraints: noneOriginal property name from the Odata EDM: WeightingFactor
- Parameters:
weightingFactor- Value of Weighting Factor
-
setSuplrEvalOrdinalNumber
Constraints: noneOriginal property name from the Odata EDM: SuplrEvalOrdinalNumber
- Parameters:
suplrEvalOrdinalNumber- Ordinal Number Value
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SuplrEvalScorecardRootQnaire>
-
getKey
- Overrides:
getKeyin classVdmObject<SuplrEvalScorecardRootQnaire>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SuplrEvalScorecardRootQnaire>
-
fromMap
- Overrides:
fromMapin classVdmObject<SuplrEvalScorecardRootQnaire>
-
field
@Nonnull public static <T> SuplrEvalScorecardRootQnaireField<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> SuplrEvalScorecardRootQnaireField<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<SuplrEvalScorecardRootQnaire>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SuplrEvalScorecardRootQnaire>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SuplrEvalScorecardRootQnaire>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SuplrEvalScorecardRootQnaire>
-
fetchSuplrEvalSccrdStrucQnaire
Fetches the SuplrEvalSccrdStrucQnaire entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SuplrEvalSccrdStrucQnaire.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SuplrEvalSccrdStrucQnaire 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.
-
getSuplrEvalSccrdStrucQnaireOrFetch
Retrieval of associated SuplrEvalSccrdStrucQnaire entities (one to many). This corresponds to the OData navigation property to_SuplrEvalSccrdStrucQnaire.If the navigation property to_SuplrEvalSccrdStrucQnaire of a queried SuplrEvalScorecardRootQnaire 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 SuplrEvalSccrdStrucQnaire 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.
-
getSuplrEvalSccrdStrucQnaireIfPresent
@Nonnull public io.vavr.control.Option<List<SuplrEvalSccrdStrucQnaire>> getSuplrEvalSccrdStrucQnaireIfPresent()Retrieval of associated SuplrEvalSccrdStrucQnaire entities (one to many). This corresponds to the OData navigation property to_SuplrEvalSccrdStrucQnaire.If the navigation property for an entity SuplrEvalScorecardRootQnaire 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_SuplrEvalSccrdStrucQnaire is already loaded, the
result will contain the SuplrEvalSccrdStrucQnaire entities. If not, an
Optionwith result stateemptyis returned.
-
setSuplrEvalSccrdStrucQnaire
Overwrites the list of associated SuplrEvalSccrdStrucQnaire entities for the loaded navigation property to_SuplrEvalSccrdStrucQnaire.If the navigation property to_SuplrEvalSccrdStrucQnaire of a queried SuplrEvalScorecardRootQnaire 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 SuplrEvalSccrdStrucQnaire entities.
-
addSuplrEvalSccrdStrucQnaire
Adds elements to the list of associated SuplrEvalSccrdStrucQnaire entities. This corresponds to the OData navigation property to_SuplrEvalSccrdStrucQnaire.If the navigation property to_SuplrEvalSccrdStrucQnaire of a queried SuplrEvalScorecardRootQnaire 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 SuplrEvalSccrdStrucQnaire entities.
-
fetchSupplierEvalScorecard
Fetches the SuplrEvalScorecard entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SupplierEvalScorecard.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SuplrEvalScorecard 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.
-
getSupplierEvalScorecardOrFetch
Retrieval of associated SuplrEvalScorecard entity (one to one). This corresponds to the OData navigation property to_SupplierEvalScorecard.If the navigation property to_SupplierEvalScorecard of a queried SuplrEvalScorecardRootQnaire 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 SuplrEvalScorecard 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.
-
getSupplierEvalScorecardIfPresent
Retrieval of associated SuplrEvalScorecard entity (one to one). This corresponds to the OData navigation property to_SupplierEvalScorecard.If the navigation property for an entity SuplrEvalScorecardRootQnaire 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_SupplierEvalScorecard is already loaded, the result
will contain the SuplrEvalScorecard entity. If not, an
Optionwith result stateemptyis returned.
-
setSupplierEvalScorecard
Overwrites the associated SuplrEvalScorecard entity for the loaded navigation property to_SupplierEvalScorecard.- Parameters:
value- New SuplrEvalScorecard entity.
-
builder
-
getSuplrEvalScorecardQnaireUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: SuplrEvalScorecardQnaireUUID
- Returns:
- Evaluation Scorecard Questionnaire UUID
-
getSuplrEvalScorecardUUID
Constraints: noneOriginal property name from the Odata EDM: SuplrEvalScorecardUUID
- Returns:
- Evaluation Scorecard UUID
-
getMinimalScore
Constraints: noneOriginal property name from the Odata EDM: MinimalScore
- Returns:
- Minimum Score Accepted
-
getTargetScore
Constraints: noneOriginal property name from the Odata EDM: TargetScore
- Returns:
- Target Score
-
getCalculatedScore
Constraints: noneOriginal property name from the Odata EDM: CalculatedScore
- Returns:
- Calculated Score
-
getNumberOfResponses
Constraints: noneOriginal property name from the Odata EDM: NumberOfResponses
- Returns:
- Number of Responses
-
getWeightingFactor
Constraints: noneOriginal property name from the Odata EDM: WeightingFactor
- Returns:
- Value of Weighting Factor
-
getSuplrEvalOrdinalNumber
Constraints: noneOriginal property name from the Odata EDM: SuplrEvalOrdinalNumber
- Returns:
- Ordinal Number Value
-
toString
- Overrides:
toStringin classVdmObject<SuplrEvalScorecardRootQnaire>
-
equals
- Overrides:
equalsin classVdmEntity<SuplrEvalScorecardRootQnaire>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SuplrEvalScorecardRootQnaire>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SuplrEvalScorecardRootQnaire>
-