public class SpecValAssgmtInstanceWthComp extends VdmEntity<SpecValAssgmtInstanceWthComp>
Original entity name from the Odata EDM: A_SpecValAssgmtInstanceWthCompType
Modifier and Type | Class and Description |
---|---|
static class |
SpecValAssgmtInstanceWthComp.SpecValAssgmtInstanceWthCompBuilder |
Modifier and Type | Field and Description |
---|---|
static SpecValAssgmtInstanceWthCompSelectable |
ALL_FIELDS
Selector for all available fields of SpecValAssgmtInstanceWthComp.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_COMPONENT_TYPE
Use with available fluent helpers to apply the CompSpecComponentType field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_EXCEPTION_CODE
Use with available fluent helpers to apply the CompSpecExceptionCode field to query operations.
|
static SpecValAssgmtInstanceWthCompField<BigDecimal> |
COMP_SPEC_LOWER_LIMIT
Use with available fluent helpers to apply the CompSpecLowerLimit field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_LOWER_LIMIT_OPERATOR
Use with available fluent helpers to apply the CompSpecLowerLimitOperator field to query operations.
|
static SpecValAssgmtInstanceWthCompField<BigDecimal> |
COMP_SPEC_QUANTITY
Use with available fluent helpers to apply the CompSpecQuantity field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_SORT_SEQUENCE
Use with available fluent helpers to apply the CompSpecSortSequence field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_UNIT
Use with available fluent helpers to apply the CompSpecUnit field to query operations.
|
static SpecValAssgmtInstanceWthCompField<BigDecimal> |
COMP_SPEC_UPPER_LIMIT
Use with available fluent helpers to apply the CompSpecUpperLimit field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMP_SPEC_UPPER_LIMIT_OPERATOR
Use with available fluent helpers to apply the CompSpecUpperLimitOperator field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMPONENT_SPECIFICATION
Use with available fluent helpers to apply the ComponentSpecification field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
COMPONENT_SPECIFICATION_INT_ID
Use with available fluent helpers to apply the ComponentSpecificationIntID field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPEC_VAL_ASSGMT_TYPE
Use with available fluent helpers to apply the SpecValAssgmtType field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPECIFICATION_AUTHZN_GROUP
Use with available fluent helpers to apply the SpecificationAuthznGroup field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPECIFICATION_INTERNAL_ID
Use with available fluent helpers to apply the SpecificationInternalID field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPECIFICATION_RATING
Use with available fluent helpers to apply the SpecificationRating field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPECIFICATION_TYPE
Use with available fluent helpers to apply the SpecificationType field to query operations.
|
static SpecValAssgmtInstanceWthCompField<String> |
SPECIFICATION_VALIDITY_AREA
Use with available fluent helpers to apply the SpecificationValidityArea field to query operations.
|
static SpecValAssgmtInstanceWthCompLink<SpecIdentifier> |
TO_SUBSTANCE_IDENTIFIER
Use with available fluent helpers to apply the to_SubstanceIdentifier navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
SpecValAssgmtInstanceWthComp() |
SpecValAssgmtInstanceWthComp(String specificationInternalID,
String compSpecUpperLimitOperator,
BigDecimal compSpecUpperLimit,
BigDecimal compSpecQuantity,
String compSpecUnit,
String compSpecSortSequence,
String compSpecExceptionCode,
String specificationAuthznGroup,
String specificationType,
String specValAssgmtType,
String specificationRating,
String specificationValidityArea,
String componentSpecificationIntID,
String componentSpecification,
String compSpecComponentType,
String compSpecLowerLimitOperator,
BigDecimal compSpecLowerLimit,
ErpConfigContext erpConfigContext,
List<SpecIdentifier> toSubstanceIdentifier) |
Modifier and Type | Method and Description |
---|---|
void |
addSubstanceIdentifier(SpecIdentifier... entity)
Adds elements to the list of associated SpecIdentifier entities.
|
static SpecValAssgmtInstanceWthComp.SpecValAssgmtInstanceWthCompBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
List<SpecIdentifier> |
fetchSubstanceIdentifier()
Fetches the SpecIdentifier entities (one to many) associated with this entity.
|
static <T> SpecValAssgmtInstanceWthCompField<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) |
String |
getComponentSpecification()
Constraints: Not nullable, Maximum length: 12
|
String |
getComponentSpecificationIntID()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
String |
getCompSpecComponentType()
Constraints: Not nullable, Maximum length: 10
|
String |
getCompSpecExceptionCode()
Constraints: Not nullable, Maximum length: 2
|
BigDecimal |
getCompSpecLowerLimit()
Constraints: Not nullable, Precision: 10, Scale: 4
|
String |
getCompSpecLowerLimitOperator()
Constraints: Not nullable, Maximum length: 5
|
BigDecimal |
getCompSpecQuantity()
Constraints: Not nullable, Precision: 10, Scale: 4
|
String |
getCompSpecSortSequence()
Constraints: Not nullable, Maximum length: 4
|
String |
getCompSpecUnit()
Constraints: Not nullable, Maximum length: 3
|
BigDecimal |
getCompSpecUpperLimit()
Constraints: Not nullable, Precision: 10, Scale: 4
|
String |
getCompSpecUpperLimitOperator()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection() |
ErpConfigContext |
getErpConfigContext()
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
protected Map<String,Object> |
getKey() |
String |
getSpecificationAuthznGroup()
Constraints: Not nullable, Maximum length: 10
|
String |
getSpecificationInternalID()
(Key Field) Constraints: Not nullable, Maximum length: 20
|
String |
getSpecificationRating()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSpecificationType()
Constraints: Not nullable, Maximum length: 10
|
String |
getSpecificationValidityArea()
(Key Field) Constraints: Not nullable, Maximum length: 10
|
String |
getSpecValAssgmtType()
(Key Field) Constraints: Not nullable, Maximum length: 30
|
Optional<List<SpecIdentifier>> |
getSubstanceIdentifierIfPresent()
Retrieval of associated SpecIdentifier entities (one to many).
|
List<SpecIdentifier> |
getSubstanceIdentifierOrFetch()
Retrieval of associated SpecIdentifier entities (one to many).
|
Class<SpecValAssgmtInstanceWthComp> |
getType() |
int |
hashCode() |
void |
setComponentSpecification(String componentSpecification)
Constraints: Not nullable, Maximum length: 12
|
void |
setComponentSpecificationIntID(String componentSpecificationIntID)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setCompSpecComponentType(String compSpecComponentType)
Constraints: Not nullable, Maximum length: 10
|
void |
setCompSpecExceptionCode(String compSpecExceptionCode)
Constraints: Not nullable, Maximum length: 2
|
void |
setCompSpecLowerLimit(BigDecimal compSpecLowerLimit)
Constraints: Not nullable, Precision: 10, Scale: 4
|
void |
setCompSpecLowerLimitOperator(String compSpecLowerLimitOperator)
Constraints: Not nullable, Maximum length: 5
|
void |
setCompSpecQuantity(BigDecimal compSpecQuantity)
Constraints: Not nullable, Precision: 10, Scale: 4
|
void |
setCompSpecSortSequence(String compSpecSortSequence)
Constraints: Not nullable, Maximum length: 4
|
void |
setCompSpecUnit(String compSpecUnit)
Constraints: Not nullable, Maximum length: 3
|
void |
setCompSpecUpperLimit(BigDecimal compSpecUpperLimit)
Constraints: Not nullable, Precision: 10, Scale: 4
|
void |
setCompSpecUpperLimitOperator(String compSpecUpperLimitOperator)
Constraints: Not nullable, Maximum length: 5
|
void |
setErpConfigContext(ErpConfigContext erpConfigContext)
Convienence field for reusing the same ERP system context with multiple queries (e.g.
|
void |
setSpecificationAuthznGroup(String specificationAuthznGroup)
Constraints: Not nullable, Maximum length: 10
|
void |
setSpecificationInternalID(String specificationInternalID)
(Key Field) Constraints: Not nullable, Maximum length: 20
|
void |
setSpecificationRating(String specificationRating)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSpecificationType(String specificationType)
Constraints: Not nullable, Maximum length: 10
|
void |
setSpecificationValidityArea(String specificationValidityArea)
(Key Field) Constraints: Not nullable, Maximum length: 10
|
void |
setSpecValAssgmtType(String specValAssgmtType)
(Key Field) Constraints: Not nullable, Maximum length: 30
|
void |
setSubstanceIdentifier(List<SpecIdentifier> value)
Overwrites the list of associated SpecIdentifier entities for the loaded navigation property to_SubstanceIdentifier.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getEndpointUrl, getServicePathForFetch, getVersionIdentifier, setServicePathForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SpecValAssgmtInstanceWthCompSelectable ALL_FIELDS
public static final SpecValAssgmtInstanceWthCompField<String> SPECIFICATION_INTERNAL_ID
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_UPPER_LIMIT_OPERATOR
public static final SpecValAssgmtInstanceWthCompField<BigDecimal> COMP_SPEC_UPPER_LIMIT
public static final SpecValAssgmtInstanceWthCompField<BigDecimal> COMP_SPEC_QUANTITY
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_UNIT
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_SORT_SEQUENCE
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_EXCEPTION_CODE
public static final SpecValAssgmtInstanceWthCompField<String> SPECIFICATION_AUTHZN_GROUP
public static final SpecValAssgmtInstanceWthCompField<String> SPECIFICATION_TYPE
public static final SpecValAssgmtInstanceWthCompField<String> SPEC_VAL_ASSGMT_TYPE
public static final SpecValAssgmtInstanceWthCompField<String> SPECIFICATION_RATING
public static final SpecValAssgmtInstanceWthCompField<String> SPECIFICATION_VALIDITY_AREA
public static final SpecValAssgmtInstanceWthCompField<String> COMPONENT_SPECIFICATION_INT_ID
public static final SpecValAssgmtInstanceWthCompField<String> COMPONENT_SPECIFICATION
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_COMPONENT_TYPE
public static final SpecValAssgmtInstanceWthCompField<String> COMP_SPEC_LOWER_LIMIT_OPERATOR
public static final SpecValAssgmtInstanceWthCompField<BigDecimal> COMP_SPEC_LOWER_LIMIT
public static final SpecValAssgmtInstanceWthCompLink<SpecIdentifier> TO_SUBSTANCE_IDENTIFIER
public SpecValAssgmtInstanceWthComp()
public SpecValAssgmtInstanceWthComp(@Nullable String specificationInternalID, @Nullable String compSpecUpperLimitOperator, @Nullable BigDecimal compSpecUpperLimit, @Nullable BigDecimal compSpecQuantity, @Nullable String compSpecUnit, @Nullable String compSpecSortSequence, @Nullable String compSpecExceptionCode, @Nullable String specificationAuthznGroup, @Nullable String specificationType, @Nullable String specValAssgmtType, @Nullable String specificationRating, @Nullable String specificationValidityArea, @Nullable String componentSpecificationIntID, @Nullable String componentSpecification, @Nullable String compSpecComponentType, @Nullable String compSpecLowerLimitOperator, @Nullable BigDecimal compSpecLowerLimit, @Nullable ErpConfigContext erpConfigContext, List<SpecIdentifier> toSubstanceIdentifier)
public Class<SpecValAssgmtInstanceWthComp> getType()
getType
in class VdmObject<SpecValAssgmtInstanceWthComp>
public void setSpecificationInternalID(@Nullable String specificationInternalID)
Original property name from the Odata EDM: SpecificationInternalID
specificationInternalID
- Sequential Number of Data Recordpublic void setCompSpecUpperLimitOperator(@Nullable String compSpecUpperLimitOperator)
Original property name from the Odata EDM: CompSpecUpperLimitOperator
compSpecUpperLimitOperator
- Operator for Upper Limitpublic void setCompSpecUpperLimit(@Nullable BigDecimal compSpecUpperLimit)
Original property name from the Odata EDM: CompSpecUpperLimit
compSpecUpperLimit
- Upper limit of a component proportionpublic void setCompSpecQuantity(@Nullable BigDecimal compSpecQuantity)
Original property name from the Odata EDM: CompSpecQuantity
compSpecQuantity
- Target Value or Actual Value of a Componentpublic void setCompSpecUnit(@Nullable String compSpecUnit)
Original property name from the Odata EDM: CompSpecUnit
compSpecUnit
- Unit for Quantity Specificationpublic void setCompSpecSortSequence(@Nullable String compSpecSortSequence)
Original property name from the Odata EDM: CompSpecSortSequence
compSpecSortSequence
- Sort Orderpublic void setCompSpecExceptionCode(@Nullable String compSpecExceptionCode)
Original property name from the Odata EDM: CompSpecExceptionCode
compSpecExceptionCode
- Exception Value of a Componentpublic void setSpecificationAuthznGroup(@Nullable String specificationAuthznGroup)
Original property name from the Odata EDM: SpecificationAuthznGroup
specificationAuthznGroup
- Recipe Authorization Grouppublic void setSpecificationType(@Nullable String specificationType)
Original property name from the Odata EDM: SpecificationType
specificationType
- Specification Typepublic void setSpecValAssgmtType(@Nullable String specValAssgmtType)
Original property name from the Odata EDM: SpecValAssgmtType
specValAssgmtType
- Value Assignment Typepublic void setSpecificationRating(@Nullable String specificationRating)
Original property name from the Odata EDM: SpecificationRating
specificationRating
- Ratingpublic void setSpecificationValidityArea(@Nullable String specificationValidityArea)
Original property name from the Odata EDM: SpecificationValidityArea
specificationValidityArea
- Validity Areapublic void setComponentSpecificationIntID(@Nullable String componentSpecificationIntID)
Original property name from the Odata EDM: ComponentSpecificationIntID
componentSpecificationIntID
- Reference to Specification Header of a Componentpublic void setComponentSpecification(@Nullable String componentSpecification)
Original property name from the Odata EDM: ComponentSpecification
componentSpecification
- Specificationpublic void setCompSpecComponentType(@Nullable String compSpecComponentType)
Original property name from the Odata EDM: CompSpecComponentType
compSpecComponentType
- Component Typepublic void setCompSpecLowerLimitOperator(@Nullable String compSpecLowerLimitOperator)
Original property name from the Odata EDM: CompSpecLowerLimitOperator
compSpecLowerLimitOperator
- Operator for Lower Limitpublic void setCompSpecLowerLimit(@Nullable BigDecimal compSpecLowerLimit)
Original property name from the Odata EDM: CompSpecLowerLimit
compSpecLowerLimit
- Lower Limit of a Component Proportionprotected String getEntityCollection()
getEntityCollection
in class VdmEntity<SpecValAssgmtInstanceWthComp>
protected Map<String,Object> getKey()
getKey
in class VdmObject<SpecValAssgmtInstanceWthComp>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<SpecValAssgmtInstanceWthComp>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<SpecValAssgmtInstanceWthComp>
@Nonnull public static <T> SpecValAssgmtInstanceWthCompField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
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> SpecValAssgmtInstanceWthCompField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<SpecValAssgmtInstanceWthComp>
public List<SpecIdentifier> fetchSubstanceIdentifier() 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.public List<SpecIdentifier> getSubstanceIdentifierOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_SubstanceIdentifier of a queried SpecValAssgmtInstanceWthComp 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.public Optional<List<SpecIdentifier>> getSubstanceIdentifierIfPresent()
If the navigation property for an entity SpecValAssgmtInstanceWthComp has not been resolved yet, this method will not query further information. Instead its Optional
result state will be empty
.
Optional
with result state empty
is returned.public void setSubstanceIdentifier(@Nonnull List<SpecIdentifier> value)
If the navigation property to_SubstanceIdentifier of a queried SpecValAssgmtInstanceWthComp 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 SpecIdentifier entities.public void addSubstanceIdentifier(SpecIdentifier... entity)
If the navigation property to_SubstanceIdentifier of a queried SpecValAssgmtInstanceWthComp 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 SpecIdentifier entities.public static SpecValAssgmtInstanceWthComp.SpecValAssgmtInstanceWthCompBuilder builder()
@Nullable public String getSpecificationInternalID()
Original property name from the Odata EDM: SpecificationInternalID
@Nullable public String getCompSpecUpperLimitOperator()
Original property name from the Odata EDM: CompSpecUpperLimitOperator
@Nullable public BigDecimal getCompSpecUpperLimit()
Original property name from the Odata EDM: CompSpecUpperLimit
@Nullable public BigDecimal getCompSpecQuantity()
Original property name from the Odata EDM: CompSpecQuantity
@Nullable public String getCompSpecUnit()
Original property name from the Odata EDM: CompSpecUnit
@Nullable public String getCompSpecSortSequence()
Original property name from the Odata EDM: CompSpecSortSequence
@Nullable public String getCompSpecExceptionCode()
Original property name from the Odata EDM: CompSpecExceptionCode
@Nullable public String getSpecificationAuthznGroup()
Original property name from the Odata EDM: SpecificationAuthznGroup
@Nullable public String getSpecificationType()
Original property name from the Odata EDM: SpecificationType
@Nullable public String getSpecValAssgmtType()
Original property name from the Odata EDM: SpecValAssgmtType
@Nullable public String getSpecificationRating()
Original property name from the Odata EDM: SpecificationRating
@Nullable public String getSpecificationValidityArea()
Original property name from the Odata EDM: SpecificationValidityArea
@Nullable public String getComponentSpecificationIntID()
Original property name from the Odata EDM: ComponentSpecificationIntID
@Nullable public String getComponentSpecification()
Original property name from the Odata EDM: ComponentSpecification
@Nullable public String getCompSpecComponentType()
Original property name from the Odata EDM: CompSpecComponentType
@Nullable public String getCompSpecLowerLimitOperator()
Original property name from the Odata EDM: CompSpecLowerLimitOperator
@Nullable public BigDecimal getCompSpecLowerLimit()
Original property name from the Odata EDM: CompSpecLowerLimit
@Nullable public ErpConfigContext getErpConfigContext()
public void setErpConfigContext(@Nullable ErpConfigContext erpConfigContext)
setErpConfigContext
in class VdmEntity<SpecValAssgmtInstanceWthComp>
erpConfigContext
- public String toString()
toString
in class VdmObject<SpecValAssgmtInstanceWthComp>
public boolean equals(Object o)
equals
in class VdmObject<SpecValAssgmtInstanceWthComp>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<SpecValAssgmtInstanceWthComp>
public int hashCode()
hashCode
in class VdmObject<SpecValAssgmtInstanceWthComp>
Copyright © 2018 SAP SE. All rights reserved.