Class InspLotMatlDocItem
Original entity name from the Odata EDM: A_InspLotMatlDocItemType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of InspLotMatlDocItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final InspLotMatlDocItemSelectableSelector for all available fields of InspLotMatlDocItem.static final InspLotMatlDocItemField<ZonedDateTime>Use with available fluent helpers to apply the ChangedDateTime field to query operations.static final InspLotMatlDocItemField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspLotBatchTransferredTo field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspLotMaterialPostedTo field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspLotMatlDocItem field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspLotMatlDocItemType field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspLotMatlDocItmQtyUnit field to query operations.static final InspLotMatlDocItemField<BigDecimal>Use with available fluent helpers to apply the InspLotQtyPosted field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the InspectionLot field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the MaterialDocument field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the MaterialDocumentItem field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the MaterialDocumentItemText field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the MaterialDocumentYear field to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the StorageLocation field to query operations.static final InspLotMatlDocItemLink<InspLotMatlDocItmSrlNmbr>Use with available fluent helpers to apply the to_InspLotMatlDocItmSrlNmbr navigation property to query operations.static final InspLotMatlDocItemField<String>Use with available fluent helpers to apply the UsageDecisionStockType field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionInspLotMatlDocItem(String inspectionLot, String inspLotMatlDocItem, BigDecimal inspLotQtyPosted, String inspLotMatlDocItmQtyUnit, String usageDecisionStockType, String storageLocation, String inspLotMaterialPostedTo, String inspLotBatchTransferredTo, String materialDocumentItemText, String inspLotMatlDocItemType, String materialDocument, String materialDocumentYear, String materialDocumentItem, LocalDateTime creationDate, ZonedDateTime changedDateTime, List<InspLotMatlDocItmSrlNmbr> toInspLotMatlDocItmSrlNmbr) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated InspLotMatlDocItmSrlNmbr entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the InspLotMatlDocItmSrlNmbr entities (one to many) associated with this entity.static <T,DomainT>
InspLotMatlDocItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> InspLotMatlDocItemField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0protected Stringprotected String(Key Field) Constraints: Not nullable, Maximum length: 12Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 40(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<List<InspLotMatlDocItmSrlNmbr>>Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many).Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many).Constraints: Not nullable, Precision: 13, Scale: 3getKey()Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Maximum length: 4getType()Constraints: Not nullable, Maximum length: 10inthashCode()voidsetChangedDateTime(ZonedDateTime changedDateTime) Constraints: Not nullable, Precision: 0voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetInspectionLot(String inspectionLot) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetInspLotBatchTransferredTo(String inspLotBatchTransferredTo) Constraints: Not nullable, Maximum length: 10voidsetInspLotMaterialPostedTo(String inspLotMaterialPostedTo) Constraints: Not nullable, Maximum length: 40voidsetInspLotMatlDocItem(String inspLotMatlDocItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetInspLotMatlDocItemType(String inspLotMatlDocItemType) Constraints: Not nullable, Maximum length: 1voidsetInspLotMatlDocItmQtyUnit(String inspLotMatlDocItmQtyUnit) Constraints: Not nullable, Maximum length: 3voidOverwrites the list of associated InspLotMatlDocItmSrlNmbr entities for the loaded navigation property to_InspLotMatlDocItmSrlNmbr.voidsetInspLotQtyPosted(BigDecimal inspLotQtyPosted) Constraints: Not nullable, Precision: 13, Scale: 3voidsetMaterialDocument(String materialDocument) Constraints: Not nullable, Maximum length: 10voidsetMaterialDocumentItem(String materialDocumentItem) Constraints: Not nullable, Maximum length: 4voidsetMaterialDocumentItemText(String materialDocumentItemText) Constraints: Not nullable, Maximum length: 50voidsetMaterialDocumentYear(String materialDocumentYear) Constraints: Not nullable, Maximum length: 4protected voidsetServicePathForFetch(String servicePathForFetch) voidsetStorageLocation(String storageLocation) Constraints: Not nullable, Maximum length: 4voidsetUsageDecisionStockType(String usageDecisionStockType) Constraints: Not nullable, Maximum length: 10toString()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 InspLotMatlDocItem. -
INSPECTION_LOT
Use with available fluent helpers to apply the InspectionLot field to query operations. -
INSP_LOT_MATL_DOC_ITEM
Use with available fluent helpers to apply the InspLotMatlDocItem field to query operations. -
INSP_LOT_QTY_POSTED
Use with available fluent helpers to apply the InspLotQtyPosted field to query operations. -
INSP_LOT_MATL_DOC_ITM_QTY_UNIT
Use with available fluent helpers to apply the InspLotMatlDocItmQtyUnit field to query operations. -
USAGE_DECISION_STOCK_TYPE
Use with available fluent helpers to apply the UsageDecisionStockType field to query operations. -
STORAGE_LOCATION
Use with available fluent helpers to apply the StorageLocation field to query operations. -
INSP_LOT_MATERIAL_POSTED_TO
Use with available fluent helpers to apply the InspLotMaterialPostedTo field to query operations. -
INSP_LOT_BATCH_TRANSFERRED_TO
Use with available fluent helpers to apply the InspLotBatchTransferredTo field to query operations. -
MATERIAL_DOCUMENT_ITEM_TEXT
Use with available fluent helpers to apply the MaterialDocumentItemText field to query operations. -
INSP_LOT_MATL_DOC_ITEM_TYPE
Use with available fluent helpers to apply the InspLotMatlDocItemType field to query operations. -
MATERIAL_DOCUMENT
Use with available fluent helpers to apply the MaterialDocument field to query operations. -
MATERIAL_DOCUMENT_YEAR
Use with available fluent helpers to apply the MaterialDocumentYear field to query operations. -
MATERIAL_DOCUMENT_ITEM
Use with available fluent helpers to apply the MaterialDocumentItem field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
CHANGED_DATE_TIME
Use with available fluent helpers to apply the ChangedDateTime field to query operations. -
TO_INSP_LOT_MATL_DOC_ITM_SRL_NMBR
public static final InspLotMatlDocItemLink<InspLotMatlDocItmSrlNmbr> TO_INSP_LOT_MATL_DOC_ITM_SRL_NMBRUse with available fluent helpers to apply the to_InspLotMatlDocItmSrlNmbr navigation property to query operations.
-
-
Constructor Details
-
InspLotMatlDocItem
public InspLotMatlDocItem() -
InspLotMatlDocItem
public InspLotMatlDocItem(@Nullable String inspectionLot, @Nullable String inspLotMatlDocItem, @Nullable BigDecimal inspLotQtyPosted, @Nullable String inspLotMatlDocItmQtyUnit, @Nullable String usageDecisionStockType, @Nullable String storageLocation, @Nullable String inspLotMaterialPostedTo, @Nullable String inspLotBatchTransferredTo, @Nullable String materialDocumentItemText, @Nullable String inspLotMatlDocItemType, @Nullable String materialDocument, @Nullable String materialDocumentYear, @Nullable String materialDocumentItem, @Nullable LocalDateTime creationDate, @Nullable ZonedDateTime changedDateTime, List<InspLotMatlDocItmSrlNmbr> toInspLotMatlDocItmSrlNmbr)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<InspLotMatlDocItem>
-
setInspectionLot
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: InspectionLot
- Parameters:
inspectionLot- Inspection Lot Number
-
setInspLotMatlDocItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InspLotMatlDocItem
- Parameters:
inspLotMatlDocItem- Internal Counter for DB Objects
-
setInspLotQtyPosted
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: InspLotQtyPosted
- Parameters:
inspLotQtyPosted- Quantity in unit of entry
-
setInspLotMatlDocItmQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: InspLotMatlDocItmQtyUnit
- Parameters:
inspLotMatlDocItmQtyUnit- Unit of entry
-
setUsageDecisionStockType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: UsageDecisionStockType
- Parameters:
usageDecisionStockType- Posting Proposal in Usage Decision
-
setStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Parameters:
storageLocation- Storage Location
-
setInspLotMaterialPostedTo
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspLotMaterialPostedTo
- Parameters:
inspLotMaterialPostedTo- Transfer Material
-
setInspLotBatchTransferredTo
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InspLotBatchTransferredTo
- Parameters:
inspLotBatchTransferredTo- Transfer Batch
-
setMaterialDocumentItemText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: MaterialDocumentItemText
- Parameters:
materialDocumentItemText- Item Text
-
setInspLotMatlDocItemType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspLotMatlDocItemType
- Parameters:
inspLotMatlDocItemType- Type of Reference Between Inspection Lot and Material Doc.
-
setMaterialDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaterialDocument
- Parameters:
materialDocument- Number of Material Document
-
setMaterialDocumentYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentYear
- Parameters:
materialDocumentYear- Material Document Year
-
setMaterialDocumentItem
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentItem
- Parameters:
materialDocumentItem- Item in Material Document
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Day On Which Accounting Document Was Entered
-
setChangedDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ChangedDateTime
- Parameters:
changedDateTime- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<InspLotMatlDocItem>
-
getKey
- Overrides:
getKeyin classVdmObject<InspLotMatlDocItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<InspLotMatlDocItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<InspLotMatlDocItem>
-
field
@Nonnull public static <T> InspLotMatlDocItemField<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> InspLotMatlDocItemField<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<InspLotMatlDocItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<InspLotMatlDocItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<InspLotMatlDocItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<InspLotMatlDocItem>
-
fetchInspLotMatlDocItmSrlNmbr
Fetches the InspLotMatlDocItmSrlNmbr entities (one to many) associated with this entity. This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated InspLotMatlDocItmSrlNmbr 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.
-
getInspLotMatlDocItmSrlNmbrOrFetch
Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many). This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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 InspLotMatlDocItmSrlNmbr 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.
-
getInspLotMatlDocItmSrlNmbrIfPresent
@Nonnull public io.vavr.control.Option<List<InspLotMatlDocItmSrlNmbr>> getInspLotMatlDocItmSrlNmbrIfPresent()Retrieval of associated InspLotMatlDocItmSrlNmbr entities (one to many). This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.If the navigation property for an entity InspLotMatlDocItem 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_InspLotMatlDocItmSrlNmbr is already loaded, the
result will contain the InspLotMatlDocItmSrlNmbr entities. If not, an
Optionwith result stateemptyis returned.
-
setInspLotMatlDocItmSrlNmbr
Overwrites the list of associated InspLotMatlDocItmSrlNmbr entities for the loaded navigation property to_InspLotMatlDocItmSrlNmbr.If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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 InspLotMatlDocItmSrlNmbr entities.
-
addInspLotMatlDocItmSrlNmbr
Adds elements to the list of associated InspLotMatlDocItmSrlNmbr entities. This corresponds to the OData navigation property to_InspLotMatlDocItmSrlNmbr.If the navigation property to_InspLotMatlDocItmSrlNmbr of a queried InspLotMatlDocItem 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 InspLotMatlDocItmSrlNmbr entities.
-
builder
-
getInspectionLot
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: InspectionLot
- Returns:
- Inspection Lot Number
-
getInspLotMatlDocItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: InspLotMatlDocItem
- Returns:
- Internal Counter for DB Objects
-
getInspLotQtyPosted
Constraints: Not nullable, Precision: 13, Scale: 3Original property name from the Odata EDM: InspLotQtyPosted
- Returns:
- Quantity in unit of entry
-
getInspLotMatlDocItmQtyUnit
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: InspLotMatlDocItmQtyUnit
- Returns:
- Unit of entry
-
getUsageDecisionStockType
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: UsageDecisionStockType
- Returns:
- Posting Proposal in Usage Decision
-
getStorageLocation
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: StorageLocation
- Returns:
- Storage Location
-
getInspLotMaterialPostedTo
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: InspLotMaterialPostedTo
- Returns:
- Transfer Material
-
getInspLotBatchTransferredTo
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: InspLotBatchTransferredTo
- Returns:
- Transfer Batch
-
getMaterialDocumentItemText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: MaterialDocumentItemText
- Returns:
- Item Text
-
getInspLotMatlDocItemType
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: InspLotMatlDocItemType
- Returns:
- Type of Reference Between Inspection Lot and Material Doc.
-
getMaterialDocument
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: MaterialDocument
- Returns:
- Number of Material Document
-
getMaterialDocumentYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentYear
- Returns:
- Material Document Year
-
getMaterialDocumentItem
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: MaterialDocumentItem
- Returns:
- Item in Material Document
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Day On Which Accounting Document Was Entered
-
getChangedDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ChangedDateTime
- Returns:
- UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
-
toString
- Overrides:
toStringin classVdmObject<InspLotMatlDocItem>
-
equals
- Overrides:
equalsin classVdmEntity<InspLotMatlDocItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<InspLotMatlDocItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<InspLotMatlDocItem>
-