public class SuplrEvalSccrdStrucQnaire extends VdmEntity<SuplrEvalSccrdStrucQnaire>
Original entity name from the Odata EDM: A_SuplrEvalSccrdStrucQnaireType
Modifier and Type | Class and Description |
---|---|
static class |
SuplrEvalSccrdStrucQnaire.SuplrEvalSccrdStrucQnaireBuilder
Helper class to allow for fluent creation of SuplrEvalSccrdStrucQnaire instances.
|
Modifier and Type | Field and Description |
---|---|
static SuplrEvalSccrdStrucQnaireSelectable |
ALL_FIELDS
Selector for all available fields of SuplrEvalSccrdStrucQnaire.
|
static SuplrEvalSccrdStrucQnaireField<Double> |
CALCULATED_SCORE
Use with available fluent helpers to apply the CalculatedScore field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<Short> |
MINIMAL_SCORE
Use with available fluent helpers to apply the MinimalScore field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<Integer> |
NUMBER_OF_RESPONSES
Use with available fluent helpers to apply the NumberOfResponses field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<String> |
QUESTIONNAIRE_NAME
Use with available fluent helpers to apply the QuestionnaireName field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<Integer> |
SUPLR_EVAL_ORDINAL_NUMBER
Use with available fluent helpers to apply the SuplrEvalOrdinalNumber field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<UUID> |
SUPLR_EVAL_SCORECARD_QNAIRE_UUID
Use with available fluent helpers to apply the SuplrEvalScorecardQnaireUUID field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<UUID> |
SUPLR_EVAL_SCORECARD_RT_QNAIRE_UUID
Use with available fluent helpers to apply the SuplrEvalScorecardRtQnaireUUID field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<String> |
SUPPLIER_EVAL_SCORECARD_QNAIRE
Use with available fluent helpers to apply the SupplierEvalScorecardQnaire field to query operations.
|
static SuplrEvalSccrdStrucQnaireField<Short> |
TARGET_SCORE
Use with available fluent helpers to apply the TargetScore field to query operations.
|
static SuplrEvalSccrdStrucQnaireLink<SuplrEvalSccrdSection> |
TO_SUPLR_EVAL_SCCRD_SECTION
Use with available fluent helpers to apply the to_SuplrEvalSccrdSection navigation property to query
operations.
|
static SuplrEvalSccrdStrucQnaireOneToOneLink<SuplrEvalScorecardRootQnaire> |
TO_SUPLR_EVAL_SCORECARD_ROOT_QNAIRE
Use with available fluent helpers to apply the to_SuplrEvalScorecardRootQnaire navigation property to
query operations.
|
static SuplrEvalSccrdStrucQnaireField<Short> |
WEIGHTING_FACTOR
Use with available fluent helpers to apply the WeightingFactor field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SuplrEvalSccrdStrucQnaire() |
SuplrEvalSccrdStrucQnaire(UUID suplrEvalScorecardQnaireUUID,
String questionnaireName,
String supplierEvalScorecardQnaire,
UUID suplrEvalScorecardRtQnaireUUID,
Short minimalScore,
Short targetScore,
Double calculatedScore,
Integer numberOfResponses,
Short weightingFactor,
Integer suplrEvalOrdinalNumber,
List<SuplrEvalSccrdSection> toSuplrEvalSccrdSection,
SuplrEvalScorecardRootQnaire toSuplrEvalScorecardRootQnaire) |
Modifier and Type | Method and Description |
---|---|
void |
addSuplrEvalSccrdSection(SuplrEvalSccrdSection... entity)
Adds elements to the list of associated SuplrEvalSccrdSection entities.
|
void |
attachToService(String servicePath,
HttpDestinationProperties destination) |
static SuplrEvalSccrdStrucQnaire.SuplrEvalSccrdStrucQnaireBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SuplrEvalSccrdSection> |
fetchSuplrEvalSccrdSection()
Fetches the SuplrEvalSccrdSection entities (one to many) associated with this entity.
|
SuplrEvalScorecardRootQnaire |
fetchSuplrEvalScorecardRootQnaire()
Fetches the SuplrEvalScorecardRootQnaire entity (one to one) associated with this entity.
|
static <T> SuplrEvalSccrdStrucQnaireField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
Double |
getCalculatedScore()
Constraints: none
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
protected Map<String,Object> |
getKey() |
Short |
getMinimalScore()
Constraints: none
|
Integer |
getNumberOfResponses()
Constraints: none
|
String |
getQuestionnaireName()
Constraints: Not nullable, Maximum length: 60
|
Integer |
getSuplrEvalOrdinalNumber()
Constraints: none
|
io.vavr.control.Option<List<SuplrEvalSccrdSection>> |
getSuplrEvalSccrdSectionIfPresent()
Retrieval of associated SuplrEvalSccrdSection entities (one to many).
|
List<SuplrEvalSccrdSection> |
getSuplrEvalSccrdSectionOrFetch()
Retrieval of associated SuplrEvalSccrdSection entities (one to many).
|
UUID |
getSuplrEvalScorecardQnaireUUID()
(Key Field) Constraints: Not nullable
|
io.vavr.control.Option<SuplrEvalScorecardRootQnaire> |
getSuplrEvalScorecardRootQnaireIfPresent()
Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one).
|
SuplrEvalScorecardRootQnaire |
getSuplrEvalScorecardRootQnaireOrFetch()
Retrieval of associated SuplrEvalScorecardRootQnaire entity (one to one).
|
UUID |
getSuplrEvalScorecardRtQnaireUUID()
Constraints: none
|
String |
getSupplierEvalScorecardQnaire()
Constraints: Not nullable, Maximum length: 20
|
Short |
getTargetScore()
Constraints: none
|
Class<SuplrEvalSccrdStrucQnaire> |
getType() |
Short |
getWeightingFactor()
Constraints: none
|
int |
hashCode() |
void |
setCalculatedScore(Double calculatedScore)
Constraints: none
|
void |
setMinimalScore(Short minimalScore)
Constraints: none
|
void |
setNumberOfResponses(Integer numberOfResponses)
Constraints: none
|
void |
setQuestionnaireName(String questionnaireName)
Constraints: Not nullable, Maximum length: 60
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
void |
setSuplrEvalOrdinalNumber(Integer suplrEvalOrdinalNumber)
Constraints: none
|
void |
setSuplrEvalSccrdSection(List<SuplrEvalSccrdSection> value)
Overwrites the list of associated SuplrEvalSccrdSection entities for the loaded navigation property
to_SuplrEvalSccrdSection.
|
void |
setSuplrEvalScorecardQnaireUUID(UUID suplrEvalScorecardQnaireUUID)
(Key Field) Constraints: Not nullable
|
void |
setSuplrEvalScorecardRootQnaire(SuplrEvalScorecardRootQnaire value)
Overwrites the associated SuplrEvalScorecardRootQnaire entity for the loaded navigation property
to_SuplrEvalScorecardRootQnaire.
|
void |
setSuplrEvalScorecardRtQnaireUUID(UUID suplrEvalScorecardRtQnaireUUID)
Constraints: none
|
void |
setSupplierEvalScorecardQnaire(String supplierEvalScorecardQnaire)
Constraints: Not nullable, Maximum length: 20
|
void |
setTargetScore(Short targetScore)
Constraints: none
|
void |
setWeightingFactor(Short weightingFactor)
Constraints: none
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SuplrEvalSccrdStrucQnaireSelectable ALL_FIELDS
public static final SuplrEvalSccrdStrucQnaireField<UUID> SUPLR_EVAL_SCORECARD_QNAIRE_UUID
public static final SuplrEvalSccrdStrucQnaireField<String> QUESTIONNAIRE_NAME
public static final SuplrEvalSccrdStrucQnaireField<String> SUPPLIER_EVAL_SCORECARD_QNAIRE
public static final SuplrEvalSccrdStrucQnaireField<UUID> SUPLR_EVAL_SCORECARD_RT_QNAIRE_UUID
public static final SuplrEvalSccrdStrucQnaireField<Short> MINIMAL_SCORE
public static final SuplrEvalSccrdStrucQnaireField<Short> TARGET_SCORE
public static final SuplrEvalSccrdStrucQnaireField<Double> CALCULATED_SCORE
public static final SuplrEvalSccrdStrucQnaireField<Integer> NUMBER_OF_RESPONSES
public static final SuplrEvalSccrdStrucQnaireField<Short> WEIGHTING_FACTOR
public static final SuplrEvalSccrdStrucQnaireField<Integer> SUPLR_EVAL_ORDINAL_NUMBER
public static final SuplrEvalSccrdStrucQnaireLink<SuplrEvalSccrdSection> TO_SUPLR_EVAL_SCCRD_SECTION
public static final SuplrEvalSccrdStrucQnaireOneToOneLink<SuplrEvalScorecardRootQnaire> TO_SUPLR_EVAL_SCORECARD_ROOT_QNAIRE
public 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)
@Nonnull public Class<SuplrEvalSccrdStrucQnaire> getType()
getType
in class VdmObject<SuplrEvalSccrdStrucQnaire>
public void setSuplrEvalScorecardQnaireUUID(@Nullable UUID suplrEvalScorecardQnaireUUID)
Original property name from the Odata EDM: SuplrEvalScorecardQnaireUUID
suplrEvalScorecardQnaireUUID
- Evaluation Scorecard Questionnaire UUIDpublic void setQuestionnaireName(@Nullable String questionnaireName)
Original property name from the Odata EDM: QuestionnaireName
questionnaireName
- Medium-Size Namepublic void setSupplierEvalScorecardQnaire(@Nullable String supplierEvalScorecardQnaire)
Original property name from the Odata EDM: SupplierEvalScorecardQnaire
supplierEvalScorecardQnaire
- Supplier Evaluation Scorecard Questionnairepublic void setSuplrEvalScorecardRtQnaireUUID(@Nullable UUID suplrEvalScorecardRtQnaireUUID)
Original property name from the Odata EDM: SuplrEvalScorecardRtQnaireUUID
suplrEvalScorecardRtQnaireUUID
- Evaluation Scorecard Parent Hierarchy UUIDpublic void setMinimalScore(@Nullable Short minimalScore)
Original property name from the Odata EDM: MinimalScore
minimalScore
- Minimum Score Acceptedpublic void setTargetScore(@Nullable Short targetScore)
Original property name from the Odata EDM: TargetScore
targetScore
- Target Scorepublic void setCalculatedScore(@Nullable Double calculatedScore)
Original property name from the Odata EDM: CalculatedScore
calculatedScore
- Calculated Scorepublic void setNumberOfResponses(@Nullable Integer numberOfResponses)
Original property name from the Odata EDM: NumberOfResponses
numberOfResponses
- Number of Responsespublic void setWeightingFactor(@Nullable Short weightingFactor)
Original property name from the Odata EDM: WeightingFactor
weightingFactor
- Value of Weighting Factorpublic void setSuplrEvalOrdinalNumber(@Nullable Integer suplrEvalOrdinalNumber)
Original property name from the Odata EDM: SuplrEvalOrdinalNumber
suplrEvalOrdinalNumber
- Ordinal Number Valueprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<SuplrEvalSccrdStrucQnaire>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<SuplrEvalSccrdStrucQnaire>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SuplrEvalSccrdStrucQnaire>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SuplrEvalSccrdStrucQnaire>
@Nonnull public static <T> SuplrEvalSccrdStrucQnaireField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> SuplrEvalSccrdStrucQnaireField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<SuplrEvalSccrdStrucQnaire>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<SuplrEvalSccrdStrucQnaire>
public void attachToService(@Nullable String servicePath, @Nullable HttpDestinationProperties destination)
attachToService
in class VdmEntity<SuplrEvalSccrdStrucQnaire>
protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<SuplrEvalSccrdStrucQnaire>
@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SuplrEvalSccrdStrucQnaire>
@Nonnull public List<SuplrEvalSccrdSection> fetchSuplrEvalSccrdSection() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public List<SuplrEvalSccrdSection> getSuplrEvalSccrdSectionOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<List<SuplrEvalSccrdSection>> getSuplrEvalSccrdSectionIfPresent()
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
.
Option
with result state
empty
is returned.public void setSuplrEvalSccrdSection(@Nonnull List<SuplrEvalSccrdSection> value)
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.
value
- List of SuplrEvalSccrdSection entities.public void addSuplrEvalSccrdSection(SuplrEvalSccrdSection... entity)
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.
entity
- Array of SuplrEvalSccrdSection entities.@Nullable public SuplrEvalScorecardRootQnaire fetchSuplrEvalScorecardRootQnaire() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public SuplrEvalScorecardRootQnaire getSuplrEvalScorecardRootQnaireOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<SuplrEvalScorecardRootQnaire> getSuplrEvalScorecardRootQnaireIfPresent()
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
.
Option
with
result state empty
is returned.public void setSuplrEvalScorecardRootQnaire(SuplrEvalScorecardRootQnaire value)
value
- New SuplrEvalScorecardRootQnaire entity.public static SuplrEvalSccrdStrucQnaire.SuplrEvalSccrdStrucQnaireBuilder builder()
@Nullable public UUID getSuplrEvalScorecardQnaireUUID()
Original property name from the Odata EDM: SuplrEvalScorecardQnaireUUID
@Nullable public String getQuestionnaireName()
Original property name from the Odata EDM: QuestionnaireName
@Nullable public String getSupplierEvalScorecardQnaire()
Original property name from the Odata EDM: SupplierEvalScorecardQnaire
@Nullable public UUID getSuplrEvalScorecardRtQnaireUUID()
Original property name from the Odata EDM: SuplrEvalScorecardRtQnaireUUID
@Nullable public Short getMinimalScore()
Original property name from the Odata EDM: MinimalScore
@Nullable public Short getTargetScore()
Original property name from the Odata EDM: TargetScore
@Nullable public Double getCalculatedScore()
Original property name from the Odata EDM: CalculatedScore
@Nullable public Integer getNumberOfResponses()
Original property name from the Odata EDM: NumberOfResponses
@Nullable public Short getWeightingFactor()
Original property name from the Odata EDM: WeightingFactor
@Nullable public Integer getSuplrEvalOrdinalNumber()
Original property name from the Odata EDM: SuplrEvalOrdinalNumber
public String toString()
toString
in class VdmObject<SuplrEvalSccrdStrucQnaire>
public boolean equals(Object o)
equals
in class VdmObject<SuplrEvalSccrdStrucQnaire>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SuplrEvalSccrdStrucQnaire>
public int hashCode()
hashCode
in class VdmObject<SuplrEvalSccrdStrucQnaire>
Copyright © 2019 SAP SE. All rights reserved.