Class MaintItemObjectListItem
Original entity name from the Odata EDM: MaintItemObjectListItemType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MaintItemObjectListItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaintItemObjectListItemSelectableSelector for all available fields of MaintItemObjectListItem.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the Assembly field to query operations.static final MaintItemObjectListItemField<LocalDateTime>Use with available fluent helpers to apply the CreationDate field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the Equipment field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations.static final MaintItemObjectListItemField<Boolean>Use with available fluent helpers to apply the MaintObjListEntryIsProcessed field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the MaintObjectListItemSequence field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the MaintenanceItem field to query operations.static final MaintItemObjectListItemField<Long>Use with available fluent helpers to apply the MaintenanceItemObjectList field to query operations.static final MaintItemObjectListItemField<Integer>Use with available fluent helpers to apply the MaintenanceObjectListItem field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the Material field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the SerialNumber field to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the ServiceReferenceProduct field to query operations.static final MaintItemObjectListItemOneToOneLink<MaintenanceItem>Use with available fluent helpers to apply the to_MaintenanceItemTP navigation property to query operations.static final MaintItemObjectListItemField<String>Use with available fluent helpers to apply the UniqueItemIdentifier field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionMaintItemObjectListItem(String maintenanceItem, Long maintenanceItemObjectList, Integer maintenanceObjectListItem, String maintObjectListItemSequence, String equipment, String functionalLocationLabelName, String assembly, String material, String serialNumber, String uniqueItemIdentifier, String serviceReferenceProduct, Boolean maintObjListEntryIsProcessed, LocalDateTime creationDate, MaintenanceItem toMaintenanceItemTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the MaintenanceItem entity (one to one) associated with this entity.static <T,DomainT>
MaintItemObjectListItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> MaintItemObjectListItemField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Precision: 0protected Stringprotected StringConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 40getKey()(Key Field) Constraints: Not nullable, Maximum length: 16(Key Field) Constraints: Not nullableio.vavr.control.Option<MaintenanceItem>Retrieval of associated MaintenanceItem entity (one to one).Retrieval of associated MaintenanceItem entity (one to one).(Key Field) Constraints: Not nullableConstraints: Not nullable, Maximum length: 20Constraints: noneConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 18getType()Constraints: Not nullable, Maximum length: 72inthashCode()voidsetAssembly(String assembly) Constraints: Not nullable, Maximum length: 18voidsetCreationDate(LocalDateTime creationDate) Constraints: Not nullable, Precision: 0voidsetEquipment(String equipment) Constraints: Not nullable, Maximum length: 18voidsetFunctionalLocationLabelName(String functionalLocationLabelName) Constraints: Not nullable, Maximum length: 40voidsetMaintenanceItem(String maintenanceItem) (Key Field) Constraints: Not nullable, Maximum length: 16voidsetMaintenanceItemObjectList(Long maintenanceItemObjectList) (Key Field) Constraints: Not nullablevoidOverwrites the associated MaintenanceItem entity for the loaded navigation property to_MaintenanceItemTP.voidsetMaintenanceObjectListItem(Integer maintenanceObjectListItem) (Key Field) Constraints: Not nullablevoidsetMaintObjectListItemSequence(String maintObjectListItemSequence) Constraints: Not nullable, Maximum length: 20voidsetMaintObjListEntryIsProcessed(Boolean maintObjListEntryIsProcessed) Constraints: nonevoidsetMaterial(String material) Constraints: Not nullable, Maximum length: 18voidsetSerialNumber(String serialNumber) Constraints: Not nullable, Maximum length: 18protected voidsetServicePathForFetch(String servicePathForFetch) voidsetServiceReferenceProduct(String serviceReferenceProduct) Constraints: Not nullable, Maximum length: 18voidsetUniqueItemIdentifier(String uniqueItemIdentifier) Constraints: Not nullable, Maximum length: 72toString()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 MaintItemObjectListItem. -
MAINTENANCE_ITEM
Use with available fluent helpers to apply the MaintenanceItem field to query operations. -
MAINTENANCE_ITEM_OBJECT_LIST
Use with available fluent helpers to apply the MaintenanceItemObjectList field to query operations. -
MAINTENANCE_OBJECT_LIST_ITEM
Use with available fluent helpers to apply the MaintenanceObjectListItem field to query operations. -
MAINT_OBJECT_LIST_ITEM_SEQUENCE
Use with available fluent helpers to apply the MaintObjectListItemSequence field to query operations. -
EQUIPMENT
Use with available fluent helpers to apply the Equipment field to query operations. -
FUNCTIONAL_LOCATION_LABEL_NAME
Use with available fluent helpers to apply the FunctionalLocationLabelName field to query operations. -
ASSEMBLY
Use with available fluent helpers to apply the Assembly field to query operations. -
MATERIAL
Use with available fluent helpers to apply the Material field to query operations. -
SERIAL_NUMBER
Use with available fluent helpers to apply the SerialNumber field to query operations. -
UNIQUE_ITEM_IDENTIFIER
Use with available fluent helpers to apply the UniqueItemIdentifier field to query operations. -
SERVICE_REFERENCE_PRODUCT
Use with available fluent helpers to apply the ServiceReferenceProduct field to query operations. -
MAINT_OBJ_LIST_ENTRY_IS_PROCESSED
Use with available fluent helpers to apply the MaintObjListEntryIsProcessed field to query operations. -
CREATION_DATE
Use with available fluent helpers to apply the CreationDate field to query operations. -
TO_MAINTENANCE_ITEM_TP
Use with available fluent helpers to apply the to_MaintenanceItemTP navigation property to query operations.
-
-
Constructor Details
-
MaintItemObjectListItem
public MaintItemObjectListItem() -
MaintItemObjectListItem
public MaintItemObjectListItem(@Nullable String maintenanceItem, @Nullable Long maintenanceItemObjectList, @Nullable Integer maintenanceObjectListItem, @Nullable String maintObjectListItemSequence, @Nullable String equipment, @Nullable String functionalLocationLabelName, @Nullable String assembly, @Nullable String material, @Nullable String serialNumber, @Nullable String uniqueItemIdentifier, @Nullable String serviceReferenceProduct, @Nullable Boolean maintObjListEntryIsProcessed, @Nullable LocalDateTime creationDate, @Nullable MaintenanceItem toMaintenanceItemTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MaintItemObjectListItem>
-
setMaintenanceItem
(Key Field) Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: MaintenanceItem
- Parameters:
maintenanceItem- Maintenance Item
-
setMaintenanceItemObjectList
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceItemObjectList
- Parameters:
maintenanceItemObjectList- Object list number
-
setMaintenanceObjectListItem
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceObjectListItem
- Parameters:
maintenanceObjectListItem- Object list counters
-
setMaintObjectListItemSequence
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintObjectListItemSequence
- Parameters:
maintObjectListItemSequence- Object list sort field
-
setEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Parameters:
equipment- Equipment Number
-
setFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Parameters:
functionalLocationLabelName- Functional Location Label
-
setAssembly
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Assembly
- Parameters:
assembly- Assembly
-
setMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Parameters:
material- Material Number
-
setSerialNumber
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Parameters:
serialNumber- Serial Number
-
setUniqueItemIdentifier
Constraints: Not nullable, Maximum length: 72Original property name from the Odata EDM: UniqueItemIdentifier
- Parameters:
uniqueItemIdentifier- Unique Item Identifier
-
setServiceReferenceProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceProduct
- Parameters:
serviceReferenceProduct- Product Number
-
setMaintObjListEntryIsProcessed
Constraints: noneOriginal property name from the Odata EDM: MaintObjListEntryIsProcessed
- Parameters:
maintObjListEntryIsProcessed- Checkbox
-
setCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Date
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MaintItemObjectListItem>
-
getKey
- Overrides:
getKeyin classVdmObject<MaintItemObjectListItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MaintItemObjectListItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<MaintItemObjectListItem>
-
field
@Nonnull public static <T> MaintItemObjectListItemField<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> MaintItemObjectListItemField<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<MaintItemObjectListItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<MaintItemObjectListItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<MaintItemObjectListItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MaintItemObjectListItem>
-
fetchMaintenanceItemTP
Fetches the MaintenanceItem entity (one to one) associated with this entity. This corresponds to the OData navigation property to_MaintenanceItemTP.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated MaintenanceItem 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.
-
getMaintenanceItemTPOrFetch
Retrieval of associated MaintenanceItem entity (one to one). This corresponds to the OData navigation property to_MaintenanceItemTP.If the navigation property to_MaintenanceItemTP of a queried MaintItemObjectListItem 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 MaintenanceItem 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.
-
getMaintenanceItemTPIfPresent
Retrieval of associated MaintenanceItem entity (one to one). This corresponds to the OData navigation property to_MaintenanceItemTP.If the navigation property for an entity MaintItemObjectListItem 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_MaintenanceItemTP is already loaded, the result will
contain the MaintenanceItem entity. If not, an
Optionwith result stateemptyis returned.
-
setMaintenanceItemTP
Overwrites the associated MaintenanceItem entity for the loaded navigation property to_MaintenanceItemTP.- Parameters:
value- New MaintenanceItem entity.
-
builder
-
getMaintenanceItem
(Key Field) Constraints: Not nullable, Maximum length: 16Original property name from the Odata EDM: MaintenanceItem
- Returns:
- Maintenance Item
-
getMaintenanceItemObjectList
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceItemObjectList
- Returns:
- Object list number
-
getMaintenanceObjectListItem
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceObjectListItem
- Returns:
- Object list counters
-
getMaintObjectListItemSequence
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintObjectListItemSequence
- Returns:
- Object list sort field
-
getEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Returns:
- Equipment Number
-
getFunctionalLocationLabelName
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: FunctionalLocationLabelName
- Returns:
- Functional Location Label
-
getAssembly
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Assembly
- Returns:
- Assembly
-
getMaterial
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Material
- Returns:
- Material Number
-
getSerialNumber
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: SerialNumber
- Returns:
- Serial Number
-
getUniqueItemIdentifier
Constraints: Not nullable, Maximum length: 72Original property name from the Odata EDM: UniqueItemIdentifier
- Returns:
- Unique Item Identifier
-
getServiceReferenceProduct
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: ServiceReferenceProduct
- Returns:
- Product Number
-
getMaintObjListEntryIsProcessed
Constraints: noneOriginal property name from the Odata EDM: MaintObjListEntryIsProcessed
- Returns:
- Checkbox
-
getCreationDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreationDate
- Returns:
- Date
-
toString
- Overrides:
toStringin classVdmObject<MaintItemObjectListItem>
-
equals
- Overrides:
equalsin classVdmEntity<MaintItemObjectListItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MaintItemObjectListItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MaintItemObjectListItem>
-