Class SpecAssignedMatlForKeyDate
Original entity name from the Odata EDM: A_SpecAssignedMatlForKeyDateType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SpecAssignedMatlForKeyDate instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SpecAssignedMatlForKeyDateSelectableSelector for all available fields of SpecAssignedMatlForKeyDate.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the Material field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the Plant field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the PlantName field to query operations.static final SpecAssignedMatlForKeyDateField<LocalDateTime>Use with available fluent helpers to apply the SpecMaterialAssgmtChangeDate field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecMaterialAssgmtChangeNumber field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecMaterialAssgmtChangeState field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecMaterialAssgmtCreatedByUsr field to query operations.static final SpecAssignedMatlForKeyDateField<LocalDateTime>Use with available fluent helpers to apply the SpecMaterialAssgmtCreationDate field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecMaterialAssgmtInternalID field to query operations.static final SpecAssignedMatlForKeyDateField<Boolean>Use with available fluent helpers to apply the SpecMaterialAssgmtIsDeleted field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecMatlAssgmtLastChangedByUsr field to query operations.static final SpecAssignedMatlForKeyDateField<LocalDateTime>Use with available fluent helpers to apply the SpecMatlAssgmtValdtyEndDate field to query operations.static final SpecAssignedMatlForKeyDateField<LocalDateTime>Use with available fluent helpers to apply the SpecMatlAssgmtValdtyStartDate field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecificationAuthznGroup field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecificationInternalID field to query operations.static final SpecAssignedMatlForKeyDateField<String>Use with available fluent helpers to apply the SpecificationType field to query operations.static final SpecAssignedMatlForKeyDateLink<ProductDescription>Use with available fluent helpers to apply the to_Description navigation property to query operations.static final SpecAssignedMatlForKeyDateOneToOneLink<Product>Use with available fluent helpers to apply the to_Product navigation property to query operations.static final SpecAssignedMatlForKeyDateOneToOneLink<ProductPlant>Use with available fluent helpers to apply the to_ProductPlant navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSpecAssignedMatlForKeyDate(String specMaterialAssgmtInternalID, String specMaterialAssgmtChangeState, String material, String plant, String plantName, LocalDateTime specMaterialAssgmtChangeDate, String specMaterialAssgmtChangeNumber, String specMaterialAssgmtCreatedByUsr, LocalDateTime specMaterialAssgmtCreationDate, Boolean specMaterialAssgmtIsDeleted, String specMatlAssgmtLastChangedByUsr, LocalDateTime specMatlAssgmtValdtyEndDate, LocalDateTime specMatlAssgmtValdtyStartDate, String specificationInternalID, String specificationAuthznGroup, String specificationType, List<ProductDescription> toDescription, Product toProduct, ProductPlant toProductPlant) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDescription(ProductDescription... entity) Adds elements to the list of associated ProductDescription entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the ProductDescription entities (one to many) associated with this entity.Fetches the Product entity (one to one) associated with this entity.Fetches the ProductPlant entity (one to one) associated with this entity.static <T,DomainT>
SpecAssignedMatlForKeyDateField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SpecAssignedMatlForKeyDateField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidprotected Stringio.vavr.control.Option<List<ProductDescription>>Retrieval of associated ProductDescription entities (one to many).Retrieval of associated ProductDescription entities (one to many).protected StringgetKey()Constraints: Not nullable, Maximum length: 40getPlant()Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 30io.vavr.control.Option<Product>Retrieval of associated Product entity (one to one).Retrieval of associated Product entity (one to one).io.vavr.control.Option<ProductPlant>Retrieval of associated ProductPlant entity (one to one).Retrieval of associated ProductPlant entity (one to one).Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0(Key Field) Constraints: Not nullable, Maximum length: 20Constraints: noneConstraints: Not nullable, Maximum length: 12Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0getType()inthashCode()voidsetDescription(List<ProductDescription> value) Overwrites the list of associated ProductDescription entities for the loaded navigation property to_Description.voidsetMaterial(String material) Constraints: Not nullable, Maximum length: 40voidConstraints: Not nullable, Maximum length: 4voidsetPlantName(String plantName) Constraints: Not nullable, Maximum length: 30voidsetProduct(Product value) Overwrites the associated Product entity for the loaded navigation property to_Product.voidsetProductPlant(ProductPlant value) Overwrites the associated ProductPlant entity for the loaded navigation property to_ProductPlant.protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSpecificationAuthznGroup(String specificationAuthznGroup) Constraints: Not nullable, Maximum length: 10voidsetSpecificationInternalID(String specificationInternalID) Constraints: Not nullable, Maximum length: 20voidsetSpecificationType(String specificationType) Constraints: Not nullable, Maximum length: 10voidsetSpecMaterialAssgmtChangeDate(LocalDateTime specMaterialAssgmtChangeDate) Constraints: Not nullable, Precision: 0voidsetSpecMaterialAssgmtChangeNumber(String specMaterialAssgmtChangeNumber) Constraints: Not nullable, Maximum length: 12voidsetSpecMaterialAssgmtChangeState(String specMaterialAssgmtChangeState) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetSpecMaterialAssgmtCreatedByUsr(String specMaterialAssgmtCreatedByUsr) Constraints: Not nullable, Maximum length: 12voidsetSpecMaterialAssgmtCreationDate(LocalDateTime specMaterialAssgmtCreationDate) Constraints: Not nullable, Precision: 0voidsetSpecMaterialAssgmtInternalID(String specMaterialAssgmtInternalID) (Key Field) Constraints: Not nullable, Maximum length: 20voidsetSpecMaterialAssgmtIsDeleted(Boolean specMaterialAssgmtIsDeleted) Constraints: nonevoidsetSpecMatlAssgmtLastChangedByUsr(String specMatlAssgmtLastChangedByUsr) Constraints: Not nullable, Maximum length: 12voidsetSpecMatlAssgmtValdtyEndDate(LocalDateTime specMatlAssgmtValdtyEndDate) Constraints: Not nullable, Precision: 0voidsetSpecMatlAssgmtValdtyStartDate(LocalDateTime specMatlAssgmtValdtyStartDate) Constraints: Not nullable, Precision: 0toString()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 SpecAssignedMatlForKeyDate. -
SPEC_MATERIAL_ASSGMT_INTERNAL_ID
Use with available fluent helpers to apply the SpecMaterialAssgmtInternalID field to query operations. -
SPEC_MATERIAL_ASSGMT_CHANGE_STATE
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeState field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
PLANT
Use with available fluent helpers to apply the Plant field to query operations. -
PLANT_NAME
Use with available fluent helpers to apply the PlantName field to query operations. -
SPEC_MATERIAL_ASSGMT_CHANGE_DATE
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeDate field to query operations. -
SPEC_MATERIAL_ASSGMT_CHANGE_NUMBER
Use with available fluent helpers to apply the SpecMaterialAssgmtChangeNumber field to query operations. -
SPEC_MATERIAL_ASSGMT_CREATED_BY_USR
Use with available fluent helpers to apply the SpecMaterialAssgmtCreatedByUsr field to query operations. -
SPEC_MATERIAL_ASSGMT_CREATION_DATE
public static final SpecAssignedMatlForKeyDateField<LocalDateTime> SPEC_MATERIAL_ASSGMT_CREATION_DATEUse with available fluent helpers to apply the SpecMaterialAssgmtCreationDate field to query operations. -
SPEC_MATERIAL_ASSGMT_IS_DELETED
Use with available fluent helpers to apply the SpecMaterialAssgmtIsDeleted field to query operations. -
SPEC_MATL_ASSGMT_LAST_CHANGED_BY_USR
Use with available fluent helpers to apply the SpecMatlAssgmtLastChangedByUsr field to query operations. -
SPEC_MATL_ASSGMT_VALDTY_END_DATE
Use with available fluent helpers to apply the SpecMatlAssgmtValdtyEndDate field to query operations. -
SPEC_MATL_ASSGMT_VALDTY_START_DATE
public static final SpecAssignedMatlForKeyDateField<LocalDateTime> SPEC_MATL_ASSGMT_VALDTY_START_DATEUse with available fluent helpers to apply the SpecMatlAssgmtValdtyStartDate field to query operations. -
SPECIFICATION_INTERNAL_ID
Use with available fluent helpers to apply the SpecificationInternalID 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_DESCRIPTION
Use with available fluent helpers to apply the to_Description navigation property to query operations. -
TO_PRODUCT
Use with available fluent helpers to apply the to_Product navigation property to query operations. -
TO_PRODUCT_PLANT
Use with available fluent helpers to apply the to_ProductPlant navigation property to query operations.
-
-
Constructor Details
-
SpecAssignedMatlForKeyDate
public SpecAssignedMatlForKeyDate() -
SpecAssignedMatlForKeyDate
public SpecAssignedMatlForKeyDate(@Nullable String specMaterialAssgmtInternalID, @Nullable String specMaterialAssgmtChangeState, @Nullable String material, @Nullable String plant, @Nullable String plantName, @Nullable LocalDateTime specMaterialAssgmtChangeDate, @Nullable String specMaterialAssgmtChangeNumber, @Nullable String specMaterialAssgmtCreatedByUsr, @Nullable LocalDateTime specMaterialAssgmtCreationDate, @Nullable Boolean specMaterialAssgmtIsDeleted, @Nullable String specMatlAssgmtLastChangedByUsr, @Nullable LocalDateTime specMatlAssgmtValdtyEndDate, @Nullable LocalDateTime specMatlAssgmtValdtyStartDate, @Nullable String specificationInternalID, @Nullable String specificationAuthznGroup, @Nullable String specificationType, List<ProductDescription> toDescription, @Nullable Product toProduct, @Nullable ProductPlant toProductPlant)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SpecAssignedMatlForKeyDate>
-
setSpecMaterialAssgmtInternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
- Parameters:
specMaterialAssgmtInternalID- Sequential Number of Data Record
-
setSpecMaterialAssgmtChangeState
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
- Parameters:
specMaterialAssgmtChangeState- Sequential Number of the Change State
-
setMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Parameters:
plant- Plant
-
setPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PlantName
- Parameters:
plantName- Plant Name
-
setSpecMaterialAssgmtChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
- Parameters:
specMaterialAssgmtChangeDate- Last Changed On
-
setSpecMaterialAssgmtChangeNumber
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
- Parameters:
specMaterialAssgmtChangeNumber- Change Number
-
setSpecMaterialAssgmtCreatedByUsr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
- Parameters:
specMaterialAssgmtCreatedByUsr- Created By
-
setSpecMaterialAssgmtCreationDate
public void setSpecMaterialAssgmtCreationDate(@Nullable LocalDateTime specMaterialAssgmtCreationDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
- Parameters:
specMaterialAssgmtCreationDate- Created On
-
setSpecMaterialAssgmtIsDeleted
Constraints: noneOriginal property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
- Parameters:
specMaterialAssgmtIsDeleted- Deletion Indicator
-
setSpecMatlAssgmtLastChangedByUsr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
- Parameters:
specMatlAssgmtLastChangedByUsr- Last Changed By
-
setSpecMatlAssgmtValdtyEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
- Parameters:
specMatlAssgmtValdtyEndDate- Valid-To Date
-
setSpecMatlAssgmtValdtyStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
- Parameters:
specMatlAssgmtValdtyStartDate- Valid-From Date
-
setSpecificationInternalID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecificationInternalID
- Parameters:
specificationInternalID- Sequential Number of Data Record
-
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<SpecAssignedMatlForKeyDate>
-
getKey
- Overrides:
getKeyin classVdmObject<SpecAssignedMatlForKeyDate>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SpecAssignedMatlForKeyDate>
-
fromMap
- Overrides:
fromMapin classVdmObject<SpecAssignedMatlForKeyDate>
-
field
@Nonnull public static <T> SpecAssignedMatlForKeyDateField<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> SpecAssignedMatlForKeyDateField<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<SpecAssignedMatlForKeyDate>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SpecAssignedMatlForKeyDate>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SpecAssignedMatlForKeyDate>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SpecAssignedMatlForKeyDate>
-
fetchDescription
Fetches the ProductDescription entities (one to many) associated with this entity. This corresponds to the OData navigation property to_Description.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated ProductDescription 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.
-
getDescriptionOrFetch
Retrieval of associated ProductDescription entities (one to many). This corresponds to the OData navigation property to_Description.If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate 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 ProductDescription 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.
-
getDescriptionIfPresent
Retrieval of associated ProductDescription entities (one to many). This corresponds to the OData navigation property to_Description.If the navigation property for an entity SpecAssignedMatlForKeyDate 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_Description is already loaded, the result will
contain the ProductDescription entities. If not, an
Optionwith result stateemptyis returned.
-
setDescription
Overwrites the list of associated ProductDescription entities for the loaded navigation property to_Description.If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate 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 ProductDescription entities.
-
addDescription
Adds elements to the list of associated ProductDescription entities. This corresponds to the OData navigation property to_Description.If the navigation property to_Description of a queried SpecAssignedMatlForKeyDate 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 ProductDescription entities.
-
fetchProduct
Fetches the Product entity (one to one) associated with this entity. This corresponds to the OData navigation property to_Product.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated Product 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.
-
getProductOrFetch
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property to_Product.If the navigation property to_Product of a queried SpecAssignedMatlForKeyDate 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 Product 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.
-
getProductIfPresent
Retrieval of associated Product entity (one to one). This corresponds to the OData navigation property to_Product.If the navigation property for an entity SpecAssignedMatlForKeyDate 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_Product is already loaded, the result will contain
the Product entity. If not, an
Optionwith result stateemptyis returned.
-
setProduct
Overwrites the associated Product entity for the loaded navigation property to_Product.- Parameters:
value- New Product entity.
-
fetchProductPlant
Fetches the ProductPlant entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ProductPlant.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated ProductPlant 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.
-
getProductPlantOrFetch
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property to_ProductPlant.If the navigation property to_ProductPlant of a queried SpecAssignedMatlForKeyDate 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 ProductPlant 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.
-
getProductPlantIfPresent
Retrieval of associated ProductPlant entity (one to one). This corresponds to the OData navigation property to_ProductPlant.If the navigation property for an entity SpecAssignedMatlForKeyDate 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_ProductPlant is already loaded, the result will
contain the ProductPlant entity. If not, an
Optionwith result stateemptyis returned.
-
setProductPlant
Overwrites the associated ProductPlant entity for the loaded navigation property to_ProductPlant.- Parameters:
value- New ProductPlant entity.
-
builder
-
getSpecMaterialAssgmtInternalID
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecMaterialAssgmtInternalID
- Returns:
- Sequential Number of Data Record
-
getSpecMaterialAssgmtChangeState
(Key Field) Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecMaterialAssgmtChangeState
- Returns:
- Sequential Number of the Change State
-
getMaterial
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getPlant
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: Plant
- Returns:
- Plant
-
getPlantName
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: PlantName
- Returns:
- Plant Name
-
getSpecMaterialAssgmtChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMaterialAssgmtChangeDate
- Returns:
- Last Changed On
-
getSpecMaterialAssgmtChangeNumber
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMaterialAssgmtChangeNumber
- Returns:
- Change Number
-
getSpecMaterialAssgmtCreatedByUsr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMaterialAssgmtCreatedByUsr
- Returns:
- Created By
-
getSpecMaterialAssgmtCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMaterialAssgmtCreationDate
- Returns:
- Created On
-
getSpecMaterialAssgmtIsDeleted
Constraints: noneOriginal property name from the Odata EDM: SpecMaterialAssgmtIsDeleted
- Returns:
- Deletion Indicator
-
getSpecMatlAssgmtLastChangedByUsr
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: SpecMatlAssgmtLastChangedByUsr
- Returns:
- Last Changed By
-
getSpecMatlAssgmtValdtyEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMatlAssgmtValdtyEndDate
- Returns:
- Valid-To Date
-
getSpecMatlAssgmtValdtyStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SpecMatlAssgmtValdtyStartDate
- Returns:
- Valid-From Date
-
getSpecificationInternalID
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: SpecificationInternalID
- Returns:
- Sequential Number of Data Record
-
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<SpecAssignedMatlForKeyDate>
-
equals
- Overrides:
equalsin classVdmEntity<SpecAssignedMatlForKeyDate>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SpecAssignedMatlForKeyDate>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SpecAssignedMatlForKeyDate>
-