Class SpecValAssgmtInstanceWthComp
Original entity name from the Odata EDM: A_SpecValAssgmtInstanceWthCompType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SpecValAssgmtInstanceWthComp instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpecValAssgmtInstanceWthCompSelectableSelector for all available fields of SpecValAssgmtInstanceWthComp.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecComponentType field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecExceptionCode field to query operations.static final SpecValAssgmtInstanceWthCompField<BigDecimal>Use with available fluent helpers to apply the CompSpecLowerLimit field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecLowerLimitOperator field to query operations.static final SpecValAssgmtInstanceWthCompField<BigDecimal>Use with available fluent helpers to apply the CompSpecQuantity field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecSortSequence field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecUnit field to query operations.static final SpecValAssgmtInstanceWthCompField<BigDecimal>Use with available fluent helpers to apply the CompSpecUpperLimit field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the CompSpecUpperLimitOperator field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the ComponentSpecification field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the ComponentSpecificationIntID field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecValAssgmtType field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecificationAuthznGroup field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecificationInternalID field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecificationRating field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecificationType field to query operations.static final SpecValAssgmtInstanceWthCompField<String>Use with available fluent helpers to apply the SpecificationValidityArea field to query operations.static final SpecValAssgmtInstanceWthCompLink<SpecIdentifier>Use with available fluent helpers to apply the to_SubstanceIdentifier navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSpecValAssgmtInstanceWthComp(String specificationInternalID, String specValAssgmtType, String specificationRating, String specificationValidityArea, String componentSpecificationIntID, String componentSpecification, String compSpecComponentType, String compSpecLowerLimitOperator, BigDecimal compSpecLowerLimit, String compSpecUpperLimitOperator, BigDecimal compSpecUpperLimit, BigDecimal compSpecQuantity, String compSpecUnit, String compSpecSortSequence, String compSpecExceptionCode, String specificationAuthznGroup, String specificationType, List<SpecIdentifier> toSubstanceIdentifier) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubstanceIdentifier(SpecIdentifier... entity) Adds elements to the list of associated SpecIdentifier entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SpecIdentifier entities (one to many) associated with this entity.static <T,DomainT>
SpecValAssgmtInstanceWthCompField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SpecValAssgmtInstanceWthCompField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Precision: 10, Scale: 4Constraints: Not nullable, Maximum length: 5Constraints: Not nullable, Precision: 10, Scale: 4Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 10, Scale: 4Constraints: Not nullable, Maximum length: 5protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 20(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<List<SpecIdentifier>>Retrieval of associated SpecIdentifier entities (one to many).Retrieval of associated SpecIdentifier entities (one to many).getType()inthashCode()voidsetComponentSpecification(String componentSpecification) Constraints: Not nullable, Maximum length: 12voidsetComponentSpecificationIntID(String componentSpecificationIntID) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetCompSpecComponentType(String compSpecComponentType) Constraints: Not nullable, Maximum length: 10voidsetCompSpecExceptionCode(String compSpecExceptionCode) Constraints: Not nullable, Maximum length: 2voidsetCompSpecLowerLimit(BigDecimal compSpecLowerLimit) Constraints: Not nullable, Precision: 10, Scale: 4voidsetCompSpecLowerLimitOperator(String compSpecLowerLimitOperator) Constraints: Not nullable, Maximum length: 5voidsetCompSpecQuantity(BigDecimal compSpecQuantity) Constraints: Not nullable, Precision: 10, Scale: 4voidsetCompSpecSortSequence(String compSpecSortSequence) Constraints: Not nullable, Maximum length: 4voidsetCompSpecUnit(String compSpecUnit) Constraints: Not nullable, Maximum length: 3voidsetCompSpecUpperLimit(BigDecimal compSpecUpperLimit) Constraints: Not nullable, Precision: 10, Scale: 4voidsetCompSpecUpperLimitOperator(String compSpecUpperLimitOperator) Constraints: Not nullable, Maximum length: 5protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSpecificationAuthznGroup(String specificationAuthznGroup) Constraints: Not nullable, Maximum length: 10voidsetSpecificationInternalID(String specificationInternalID) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetSpecificationRating(String specificationRating) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSpecificationType(String specificationType) Constraints: Not nullable, Maximum length: 10voidsetSpecificationValidityArea(String specificationValidityArea) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetSpecValAssgmtType(String specValAssgmtType) (Key Field) Constraints: Not nullable, Maximum length: 30voidsetSubstanceIdentifier(List<SpecIdentifier> value) Overwrites the list of associated SpecIdentifier entities for the loaded navigation property to_SubstanceIdentifier.toString()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 SpecValAssgmtInstanceWthComp. -
SPECIFICATION_INTERNAL_ID
Use with available fluent helpers to apply the SpecificationInternalID field to query operations. -
SPEC_VAL_ASSGMT_TYPE
Use with available fluent helpers to apply the SpecValAssgmtType field to query operations. -
SPECIFICATION_RATING
Use with available fluent helpers to apply the SpecificationRating field to query operations. -
SPECIFICATION_VALIDITY_AREA
Use with available fluent helpers to apply the SpecificationValidityArea field to query operations. -
COMPONENT_SPECIFICATION_INT_ID
Use with available fluent helpers to apply the ComponentSpecificationIntID field to query operations. -
COMPONENT_SPECIFICATION
Use with available fluent helpers to apply the ComponentSpecification field to query operations. -
COMP_SPEC_COMPONENT_TYPE
Use with available fluent helpers to apply the CompSpecComponentType field to query operations. -
COMP_SPEC_LOWER_LIMIT_OPERATOR
Use with available fluent helpers to apply the CompSpecLowerLimitOperator field to query operations. -
COMP_SPEC_LOWER_LIMIT
Use with available fluent helpers to apply the CompSpecLowerLimit field to query operations. -
COMP_SPEC_UPPER_LIMIT_OPERATOR
Use with available fluent helpers to apply the CompSpecUpperLimitOperator field to query operations. -
COMP_SPEC_UPPER_LIMIT
Use with available fluent helpers to apply the CompSpecUpperLimit field to query operations. -
COMP_SPEC_QUANTITY
Use with available fluent helpers to apply the CompSpecQuantity field to query operations. -
COMP_SPEC_UNIT
Use with available fluent helpers to apply the CompSpecUnit field to query operations. -
COMP_SPEC_SORT_SEQUENCE
Use with available fluent helpers to apply the CompSpecSortSequence field to query operations. -
COMP_SPEC_EXCEPTION_CODE
Use with available fluent helpers to apply the CompSpecExceptionCode field to query operations. -
SPECIFICATION_AUTHZN_GROUP
Use with available fluent helpers to apply the SpecificationAuthznGroup field to query operations. -
SPECIFICATION_TYPE
Use with available fluent helpers to apply the SpecificationType field to query operations. -
TO_SUBSTANCE_IDENTIFIER
Use with available fluent helpers to apply the to_SubstanceIdentifier navigation property to query operations.
-
-
Constructor Details
-
SpecValAssgmtInstanceWthComp
public SpecValAssgmtInstanceWthComp() -
SpecValAssgmtInstanceWthComp
public SpecValAssgmtInstanceWthComp(@Nullable String specificationInternalID, @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 String compSpecUpperLimitOperator, @Nullable BigDecimal compSpecUpperLimit, @Nullable BigDecimal compSpecQuantity, @Nullable String compSpecUnit, @Nullable String compSpecSortSequence, @Nullable String compSpecExceptionCode, @Nullable String specificationAuthznGroup, @Nullable String specificationType, List<SpecIdentifier> toSubstanceIdentifier)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SpecValAssgmtInstanceWthComp>
-
setSpecificationInternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecificationInternalID
- Parameters:
specificationInternalID- Sequential Number of Data Record
-
setSpecValAssgmtType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SpecValAssgmtType
- Parameters:
specValAssgmtType- Value Assignment Type
-
setSpecificationRating
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationRating
- Parameters:
specificationRating- Rating
-
setSpecificationValidityArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationValidityArea
- Parameters:
specificationValidityArea- Validity Area
-
setComponentSpecificationIntID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ComponentSpecificationIntID
- Parameters:
componentSpecificationIntID- Reference to Specification Header of a Component
-
setComponentSpecification
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ComponentSpecification
- Parameters:
componentSpecification- Specification
-
setCompSpecComponentType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CompSpecComponentType
- Parameters:
compSpecComponentType- Component Type
-
setCompSpecLowerLimitOperator
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CompSpecLowerLimitOperator
- Parameters:
compSpecLowerLimitOperator- Operator for Lower Limit
-
setCompSpecLowerLimit
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecLowerLimit
- Parameters:
compSpecLowerLimit- Lower Limit of a Component Proportion
-
setCompSpecUpperLimitOperator
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CompSpecUpperLimitOperator
- Parameters:
compSpecUpperLimitOperator- Operator for Upper Limit
-
setCompSpecUpperLimit
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecUpperLimit
- Parameters:
compSpecUpperLimit- Upper limit of a component proportion
-
setCompSpecQuantity
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecQuantity
- Parameters:
compSpecQuantity- Target Value or Actual Value of a Component
-
setCompSpecUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CompSpecUnit
- Parameters:
compSpecUnit- Unit for Quantity Specification
-
setCompSpecSortSequence
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompSpecSortSequence
- Parameters:
compSpecSortSequence- Sort Order
-
setCompSpecExceptionCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CompSpecExceptionCode
- Parameters:
compSpecExceptionCode- Exception Value of a Component
-
setSpecificationAuthznGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationAuthznGroup
- Parameters:
specificationAuthznGroup- Recipe Authorization Group
-
setSpecificationType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationType
- Parameters:
specificationType- Specification Type
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SpecValAssgmtInstanceWthComp>
-
getKey
- Overrides:
getKeyin classVdmObject<SpecValAssgmtInstanceWthComp>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SpecValAssgmtInstanceWthComp>
-
fromMap
- Overrides:
fromMapin classVdmObject<SpecValAssgmtInstanceWthComp>
-
field
@Nonnull public static <T> SpecValAssgmtInstanceWthCompField<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> SpecValAssgmtInstanceWthCompField<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<SpecValAssgmtInstanceWthComp>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SpecValAssgmtInstanceWthComp>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SpecValAssgmtInstanceWthComp>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SpecValAssgmtInstanceWthComp>
-
fetchSubstanceIdentifier
Fetches the SpecIdentifier entities (one to many) associated with this entity. This corresponds to the OData navigation property to_SubstanceIdentifier.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SpecIdentifier 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.
-
getSubstanceIdentifierOrFetch
Retrieval of associated SpecIdentifier entities (one to many). This corresponds to the OData navigation property to_SubstanceIdentifier.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.
- Returns:
- List of associated SpecIdentifier 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.
-
getSubstanceIdentifierIfPresent
Retrieval of associated SpecIdentifier entities (one to many). This corresponds to the OData navigation property to_SubstanceIdentifier.If the navigation property for an entity SpecValAssgmtInstanceWthComp 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_SubstanceIdentifier is already loaded, the result
will contain the SpecIdentifier entities. If not, an
Optionwith result stateemptyis returned.
-
setSubstanceIdentifier
Overwrites the list of associated SpecIdentifier entities for the loaded navigation property to_SubstanceIdentifier.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.
- Parameters:
value- List of SpecIdentifier entities.
-
addSubstanceIdentifier
Adds elements to the list of associated SpecIdentifier entities. This corresponds to the OData navigation property to_SubstanceIdentifier.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.
- Parameters:
entity- Array of SpecIdentifier entities.
-
builder
-
getSpecificationInternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecificationInternalID
- Returns:
- Sequential Number of Data Record
-
getSpecValAssgmtType
(Key Field) Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: SpecValAssgmtType
- Returns:
- Value Assignment Type
-
getSpecificationRating
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationRating
- Returns:
- Rating
-
getSpecificationValidityArea
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationValidityArea
- Returns:
- Validity Area
-
getComponentSpecificationIntID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: ComponentSpecificationIntID
- Returns:
- Reference to Specification Header of a Component
-
getComponentSpecification
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: ComponentSpecification
- Returns:
- Specification
-
getCompSpecComponentType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CompSpecComponentType
- Returns:
- Component Type
-
getCompSpecLowerLimitOperator
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CompSpecLowerLimitOperator
- Returns:
- Operator for Lower Limit
-
getCompSpecLowerLimit
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecLowerLimit
- Returns:
- Lower Limit of a Component Proportion
-
getCompSpecUpperLimitOperator
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: CompSpecUpperLimitOperator
- Returns:
- Operator for Upper Limit
-
getCompSpecUpperLimit
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecUpperLimit
- Returns:
- Upper limit of a component proportion
-
getCompSpecQuantity
Constraints: Not nullable, Precision: 10, Scale: 4Original property name from the Odata EDM: CompSpecQuantity
- Returns:
- Target Value or Actual Value of a Component
-
getCompSpecUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CompSpecUnit
- Returns:
- Unit for Quantity Specification
-
getCompSpecSortSequence
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CompSpecSortSequence
- Returns:
- Sort Order
-
getCompSpecExceptionCode
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CompSpecExceptionCode
- Returns:
- Exception Value of a Component
-
getSpecificationAuthznGroup
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationAuthznGroup
- Returns:
- Recipe Authorization Group
-
getSpecificationType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SpecificationType
- Returns:
- Specification Type
-
toString
- Overrides:
toStringin classVdmObject<SpecValAssgmtInstanceWthComp>
-
equals
- Overrides:
equalsin classVdmEntity<SpecValAssgmtInstanceWthComp>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SpecValAssgmtInstanceWthComp>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SpecValAssgmtInstanceWthComp>
-