Class MaintOrderObjectListItem
Original entity name from the Odata EDM: MaintOrderObjectListItemType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of MaintOrderObjectListItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MaintOrderObjectListItemSelectableSelector for all available fields of MaintOrderObjectListItem.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the Assembly field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the Equipment field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the FunctionalLocation field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the MaintObjectListItemSequence field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the MaintenanceNotification field to query operations.static final MaintOrderObjectListItemField<Integer>Use with available fluent helpers to apply the MaintenanceObjectListItem field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the MaintenanceOrder field to query operations.static final MaintOrderObjectListItemField<Long>Use with available fluent helpers to apply the MaintenanceOrderObjectList field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the Material field to query operations.static final MaintOrderObjectListItemField<String>Use with available fluent helpers to apply the SerialNumber field to query operations.static final MaintOrderObjectListItemOneToOneLink<MaintenanceOrder>Use with available fluent helpers to apply the to_MaintenanceOrder navigation property to query operations.static final MaintOrderObjectListItemField<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
ConstructorsConstructorDescriptionMaintOrderObjectListItem(String maintenanceOrder, Long maintenanceOrderObjectList, Integer maintenanceObjectListItem, String equipment, String maintenanceNotification, String assembly, String material, String serialNumber, String uniqueItemIdentifier, String functionalLocation, String maintObjectListItemSequence, MaintenanceOrder toMaintenanceOrder) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the MaintenanceOrder entity (one to one) associated with this entity.static <T,DomainT>
MaintOrderObjectListItemField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> MaintOrderObjectListItemField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 18protected Stringprotected StringConstraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 30getKey()Constraints: Not nullable, Maximum length: 12(Key Field) Constraints: Not nullable(Key Field) Constraints: Not nullable, Maximum length: 12io.vavr.control.Option<MaintenanceOrder>Retrieval of associated MaintenanceOrder entity (one to one).(Key Field) Constraints: Not nullableRetrieval of associated MaintenanceOrder entity (one to one).Constraints: Not nullable, Maximum length: 20Constraints: Not nullable, Maximum length: 18Constraints: Not nullable, Maximum length: 18getType()Constraints: Not nullable, Maximum length: 72inthashCode()voidsetAssembly(String assembly) Constraints: Not nullable, Maximum length: 18voidsetEquipment(String equipment) Constraints: Not nullable, Maximum length: 18voidsetFunctionalLocation(String functionalLocation) Constraints: Not nullable, Maximum length: 30voidsetMaintenanceNotification(String maintenanceNotification) Constraints: Not nullable, Maximum length: 12voidsetMaintenanceObjectListItem(Integer maintenanceObjectListItem) (Key Field) Constraints: Not nullablevoidOverwrites the associated MaintenanceOrder entity for the loaded navigation property to_MaintenanceOrder.voidsetMaintenanceOrder(String maintenanceOrder) (Key Field) Constraints: Not nullable, Maximum length: 12voidsetMaintenanceOrderObjectList(Long maintenanceOrderObjectList) (Key Field) Constraints: Not nullablevoidsetMaintObjectListItemSequence(String maintObjectListItemSequence) Constraints: Not nullable, Maximum length: 20voidsetMaterial(String material) Constraints: Not nullable, Maximum length: 18voidsetSerialNumber(String serialNumber) Constraints: Not nullable, Maximum length: 18protected voidsetServicePathForFetch(String servicePathForFetch) voidsetUniqueItemIdentifier(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 MaintOrderObjectListItem. -
MAINTENANCE_ORDER
Use with available fluent helpers to apply the MaintenanceOrder field to query operations. -
MAINTENANCE_ORDER_OBJECT_LIST
Use with available fluent helpers to apply the MaintenanceOrderObjectList field to query operations. -
MAINTENANCE_OBJECT_LIST_ITEM
Use with available fluent helpers to apply the MaintenanceObjectListItem field to query operations. -
EQUIPMENT
Use with available fluent helpers to apply the Equipment field to query operations. -
MAINTENANCE_NOTIFICATION
Use with available fluent helpers to apply the MaintenanceNotification 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. -
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations. -
MAINT_OBJECT_LIST_ITEM_SEQUENCE
Use with available fluent helpers to apply the MaintObjectListItemSequence field to query operations. -
TO_MAINTENANCE_ORDER
Use with available fluent helpers to apply the to_MaintenanceOrder navigation property to query operations.
-
-
Constructor Details
-
MaintOrderObjectListItem
public MaintOrderObjectListItem() -
MaintOrderObjectListItem
public MaintOrderObjectListItem(@Nullable String maintenanceOrder, @Nullable Long maintenanceOrderObjectList, @Nullable Integer maintenanceObjectListItem, @Nullable String equipment, @Nullable String maintenanceNotification, @Nullable String assembly, @Nullable String material, @Nullable String serialNumber, @Nullable String uniqueItemIdentifier, @Nullable String functionalLocation, @Nullable String maintObjectListItemSequence, @Nullable MaintenanceOrder toMaintenanceOrder)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<MaintOrderObjectListItem>
-
setMaintenanceOrder
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenanceOrder
- Parameters:
maintenanceOrder- Order Number
-
setMaintenanceOrderObjectList
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceOrderObjectList
- Parameters:
maintenanceOrderObjectList- Object list number
-
setMaintenanceObjectListItem
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceObjectListItem
- Parameters:
maintenanceObjectListItem- Object list counters
-
setEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Parameters:
equipment- Equipment Number
-
setMaintenanceNotification
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenanceNotification
- Parameters:
maintenanceNotification- Notification Number
-
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
-
setFunctionalLocation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Parameters:
functionalLocation- Functional Location
-
setMaintObjectListItemSequence
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintObjectListItemSequence
- Parameters:
maintObjectListItemSequence- Object list sort field
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<MaintOrderObjectListItem>
-
getKey
- Overrides:
getKeyin classVdmObject<MaintOrderObjectListItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<MaintOrderObjectListItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<MaintOrderObjectListItem>
-
field
@Nonnull public static <T> MaintOrderObjectListItemField<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> MaintOrderObjectListItemField<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<MaintOrderObjectListItem>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<MaintOrderObjectListItem>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<MaintOrderObjectListItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<MaintOrderObjectListItem>
-
fetchMaintenanceOrder
Fetches the MaintenanceOrder entity (one to one) associated with this entity. This corresponds to the OData navigation property to_MaintenanceOrder.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated MaintenanceOrder 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.
-
getMaintenanceOrderOrFetch
Retrieval of associated MaintenanceOrder entity (one to one). This corresponds to the OData navigation property to_MaintenanceOrder.If the navigation property to_MaintenanceOrder of a queried MaintOrderObjectListItem 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 MaintenanceOrder 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.
-
getMaintenanceOrderIfPresent
Retrieval of associated MaintenanceOrder entity (one to one). This corresponds to the OData navigation property to_MaintenanceOrder.If the navigation property for an entity MaintOrderObjectListItem 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_MaintenanceOrder is already loaded, the result will
contain the MaintenanceOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setMaintenanceOrder
Overwrites the associated MaintenanceOrder entity for the loaded navigation property to_MaintenanceOrder.- Parameters:
value- New MaintenanceOrder entity.
-
builder
-
getMaintenanceOrder
(Key Field) Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenanceOrder
- Returns:
- Order Number
-
getMaintenanceOrderObjectList
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceOrderObjectList
- Returns:
- Object list number
-
getMaintenanceObjectListItem
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: MaintenanceObjectListItem
- Returns:
- Object list counters
-
getEquipment
Constraints: Not nullable, Maximum length: 18Original property name from the Odata EDM: Equipment
- Returns:
- Equipment Number
-
getMaintenanceNotification
Constraints: Not nullable, Maximum length: 12Original property name from the Odata EDM: MaintenanceNotification
- Returns:
- Notification Number
-
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
-
getFunctionalLocation
Constraints: Not nullable, Maximum length: 30Original property name from the Odata EDM: FunctionalLocation
- Returns:
- Functional Location
-
getMaintObjectListItemSequence
Constraints: Not nullable, Maximum length: 20Original property name from the Odata EDM: MaintObjectListItemSequence
- Returns:
- Object list sort field
-
toString
- Overrides:
toStringin classVdmObject<MaintOrderObjectListItem>
-
equals
- Overrides:
equalsin classVdmEntity<MaintOrderObjectListItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<MaintOrderObjectListItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<MaintOrderObjectListItem>
-