public class MaintenanceItemObject extends VdmEntity<MaintenanceItemObject>
Original entity name from the Odata EDM: A_MaintenanceItemObjectType
Modifier and Type | Class and Description |
---|---|
static class |
MaintenanceItemObject.MaintenanceItemObjectBuilder |
Modifier and Type | Field and Description |
---|---|
static MaintenanceItemObjectSelectable |
ALL_FIELDS
Selector for all available fields of MaintenanceItemObject.
|
static MaintenanceItemObjectField<String> |
ASSEMBLY
Use with available fluent helpers to apply the Assembly field to query operations.
|
static MaintenanceItemObjectField<String> |
EQUIPMENT
Use with available fluent helpers to apply the Equipment field to query operations.
|
static MaintenanceItemObjectField<String> |
FUNCTIONAL_LOCATION
Use with available fluent helpers to apply the FunctionalLocation field to query operations.
|
static MaintenanceItemObjectField<String> |
MAINT_OBJECT_LOC_ACCT_ASSGMT_NMBR
Use with available fluent helpers to apply the MaintObjectLocAcctAssgmtNmbr field to query operations.
|
static MaintenanceItemObjectField<Integer> |
MAINTENANCE_ITEM_OBJECT
Use with available fluent helpers to apply the MaintenanceItemObject field to query operations.
|
static MaintenanceItemObjectField<Long> |
MAINTENANCE_ITEM_OBJECT_LIST
Use with available fluent helpers to apply the MaintenanceItemObjectList field to query operations.
|
static MaintenanceItemObjectField<String> |
MAINTENANCE_NOTIFICATION
Use with available fluent helpers to apply the MaintenanceNotification field to query operations.
|
static MaintenanceItemObjectField<String> |
MATERIAL
Use with available fluent helpers to apply the Material field to query operations.
|
static MaintenanceItemObjectField<String> |
SERIAL_NUMBER
Use with available fluent helpers to apply the SerialNumber field to query operations.
|
changedOriginalFields
Constructor and Description |
---|
MaintenanceItemObject() |
MaintenanceItemObject(String assembly,
String equipment,
String functionalLocation,
Integer maintenanceItemObject,
Long maintenanceItemObjectList,
String maintenanceNotification,
String maintObjectLocAcctAssgmtNmbr,
String material,
String serialNumber) |
Modifier and Type | Method and Description |
---|---|
void |
attachToService(String servicePath,
HttpDestinationProperties destination)
Sets the service path and destination for the fetch commands of this entity.
|
static MaintenanceItemObject.MaintenanceItemObjectBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static <T> MaintenanceItemObjectField<T> |
field(String fieldName,
Class<T> fieldType)
Use with available fluent helpers to apply an extension field to query operations.
|
static <T,DomainT> |
field(String fieldName,
TypeConverter<T,DomainT> typeConverter)
Use with available fluent helpers to apply an extension field to query operations.
|
protected void |
fromMap(Map<String,Object> inputValues) |
String |
getAssembly()
Constraints: Not nullable, Maximum length: 40
|
protected String |
getDefaultServicePath() |
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection() |
String |
getEquipment()
Constraints: Not nullable, Maximum length: 18
|
String |
getFunctionalLocation()
Constraints: Not nullable, Maximum length: 30
|
protected Map<String,Object> |
getKey() |
Integer |
getMaintenanceItemObject()
(Key Field) Constraints: Not nullable
|
Long |
getMaintenanceItemObjectList()
(Key Field) Constraints: Not nullable
|
String |
getMaintenanceNotification()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaintObjectLocAcctAssgmtNmbr()
Constraints: Not nullable, Maximum length: 12
|
String |
getMaterial()
Constraints: Not nullable, Maximum length: 40
|
String |
getSerialNumber()
Constraints: Not nullable, Maximum length: 18
|
Class<MaintenanceItemObject> |
getType() |
int |
hashCode() |
void |
setAssembly(String assembly)
Constraints: Not nullable, Maximum length: 40
|
void |
setEquipment(String equipment)
Constraints: Not nullable, Maximum length: 18
|
void |
setFunctionalLocation(String functionalLocation)
Constraints: Not nullable, Maximum length: 30
|
void |
setMaintenanceItemObject(Integer maintenanceItemObject)
(Key Field) Constraints: Not nullable
|
void |
setMaintenanceItemObjectList(Long maintenanceItemObjectList)
(Key Field) Constraints: Not nullable
|
void |
setMaintenanceNotification(String maintenanceNotification)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaintObjectLocAcctAssgmtNmbr(String maintObjectLocAcctAssgmtNmbr)
Constraints: Not nullable, Maximum length: 12
|
void |
setMaterial(String material)
Constraints: Not nullable, Maximum length: 40
|
void |
setSerialNumber(String serialNumber)
Constraints: Not nullable, Maximum length: 18
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields, toMapOfNavigationProperties
public static final MaintenanceItemObjectSelectable ALL_FIELDS
public static final MaintenanceItemObjectField<String> ASSEMBLY
public static final MaintenanceItemObjectField<String> EQUIPMENT
public static final MaintenanceItemObjectField<String> FUNCTIONAL_LOCATION
public static final MaintenanceItemObjectField<Integer> MAINTENANCE_ITEM_OBJECT
public static final MaintenanceItemObjectField<Long> MAINTENANCE_ITEM_OBJECT_LIST
public static final MaintenanceItemObjectField<String> MAINTENANCE_NOTIFICATION
public static final MaintenanceItemObjectField<String> MAINT_OBJECT_LOC_ACCT_ASSGMT_NMBR
public static final MaintenanceItemObjectField<String> MATERIAL
public static final MaintenanceItemObjectField<String> SERIAL_NUMBER
public MaintenanceItemObject()
public MaintenanceItemObject(@Nullable String assembly, @Nullable String equipment, @Nullable String functionalLocation, @Nullable Integer maintenanceItemObject, @Nullable Long maintenanceItemObjectList, @Nullable String maintenanceNotification, @Nullable String maintObjectLocAcctAssgmtNmbr, @Nullable String material, @Nullable String serialNumber)
@Nonnull public Class<MaintenanceItemObject> getType()
getType
in class VdmObject<MaintenanceItemObject>
public void setAssembly(@Nullable String assembly)
Original property name from the Odata EDM: Assembly
assembly
- The assembly to set.public void setEquipment(@Nullable String equipment)
Original property name from the Odata EDM: Equipment
equipment
- The equipment to set.public void setFunctionalLocation(@Nullable String functionalLocation)
Original property name from the Odata EDM: FunctionalLocation
functionalLocation
- The functionalLocation to set.public void setMaintenanceItemObject(@Nullable Integer maintenanceItemObject)
Original property name from the Odata EDM: MaintenanceItemObject
maintenanceItemObject
- The object counter is a consecutive number that identifies the objects in the object list.public void setMaintenanceItemObjectList(@Nullable Long maintenanceItemObjectList)
Original property name from the Odata EDM: MaintenanceItemObjectList
maintenanceItemObjectList
- Number identifying the object listpublic void setMaintenanceNotification(@Nullable String maintenanceNotification)
Original property name from the Odata EDM: MaintenanceNotification
maintenanceNotification
- Number that identifies the notification.public void setMaintObjectLocAcctAssgmtNmbr(@Nullable String maintObjectLocAcctAssgmtNmbr)
Original property name from the Odata EDM: MaintObjectLocAcctAssgmtNmbr
maintObjectLocAcctAssgmtNmbr
- Location and account assignment for technical objectpublic void setMaterial(@Nullable String material)
Original property name from the Odata EDM: Material
material
- Alphanumeric key uniquely identifying the material.public void setSerialNumber(@Nullable String serialNumber)
Original property name from the Odata EDM: SerialNumber
You can use the serial number to identify individual instances of a material for individual tracking purposes.A prerequisite for using a serial number in the logistical process is a serial number profile at material plant level.
serialNumber
- Specifies the serial number of a serialized material.protected String getEntityCollection()
getEntityCollection
in class VdmEntity<MaintenanceItemObject>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<MaintenanceItemObject>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MaintenanceItemObject>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MaintenanceItemObject>
@Nonnull public static <T> MaintenanceItemObjectField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType)
T
- The type of the extension field when performing value comparisons.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.@Nonnull public static <T,DomainT> MaintenanceItemObjectField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T,DomainT> typeConverter)
T
- The type of the extension field when performing value comparisons.DomainT
- The type of the extension field as returned by the OData service.typeConverter
- A TypeConverterfieldName
- The name of the extension field as returned by the OData service.@Nullable public HttpDestinationProperties getDestinationForFetch()
VdmEntity
getDestinationForFetch
in class VdmEntity<MaintenanceItemObject>
protected void setServicePathForFetch(@Nullable String servicePathForFetch)
VdmEntity
Note: Use with caution, as this can easily break the fetch call on this entity. See the interface of the corresponding service for the default service path.
setServicePathForFetch
in class VdmEntity<MaintenanceItemObject>
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination)
VdmEntity
Note: Use with caution, as this can easily break the fetch calls on this entity. See the interface of the corresponding service for the default service path.
attachToService
in class VdmEntity<MaintenanceItemObject>
servicePath
- Optional parameter. New service path to apply to this entity and any associated entities that were
previously fetched. If a null value is provided and the service path has never been set, then the
service path will be set to the default defined in the corresponding service interface.destination
- New destination to apply to this entity and any associated entities that were previously fetched.protected String getDefaultServicePath()
getDefaultServicePath
in class VdmEntity<MaintenanceItemObject>
public static MaintenanceItemObject.MaintenanceItemObjectBuilder builder()
@Nullable public String getAssembly()
Original property name from the Odata EDM: Assembly
@Nullable public String getEquipment()
Original property name from the Odata EDM: Equipment
@Nullable public String getFunctionalLocation()
Original property name from the Odata EDM: FunctionalLocation
@Nullable public Integer getMaintenanceItemObject()
Original property name from the Odata EDM: MaintenanceItemObject
@Nullable public Long getMaintenanceItemObjectList()
Original property name from the Odata EDM: MaintenanceItemObjectList
@Nullable public String getMaintenanceNotification()
Original property name from the Odata EDM: MaintenanceNotification
@Nullable public String getMaintObjectLocAcctAssgmtNmbr()
Original property name from the Odata EDM: MaintObjectLocAcctAssgmtNmbr
@Nullable public String getMaterial()
Original property name from the Odata EDM: Material
@Nullable public String getSerialNumber()
Original property name from the Odata EDM: SerialNumber
You can use the serial number to identify individual instances of a material for individual tracking purposes.A prerequisite for using a serial number in the logistical process is a serial number profile at material plant level.
public String toString()
toString
in class VdmObject<MaintenanceItemObject>
public boolean equals(Object o)
equals
in class VdmObject<MaintenanceItemObject>
protected boolean canEqual(Object other)
canEqual
in class VdmObject<MaintenanceItemObject>
public int hashCode()
hashCode
in class VdmObject<MaintenanceItemObject>
Copyright © 2019 SAP SE. All rights reserved.