public class MaintNotificationItemCause extends VdmEntity<MaintNotificationItemCause>
Original entity name from the Odata EDM: MaintNotificationItemCauseType
Modifier and Type | Class and Description |
---|---|
static class |
MaintNotificationItemCause.MaintNotificationItemCauseBuilder
Helper class to allow for fluent creation of MaintNotificationItemCause instances.
|
Modifier and Type | Field and Description |
---|---|
static MaintNotificationItemCauseSelectable |
ALL_FIELDS
Selector for all available fields of MaintNotificationItemCause.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIF_CAUSE_CODE_GROUP
Use with available fluent helpers to apply the MaintNotifCauseCodeGroup field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIF_CAUSE_CODE_GROUP_NAME
Use with available fluent helpers to apply the MaintNotifCauseCodeGroupName field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIF_CAUSE_TEXT
Use with available fluent helpers to apply the MaintNotifCauseText field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIFICATION_CAUSE_CODE
Use with available fluent helpers to apply the MaintNotificationCauseCode field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIFICATION_CAUSE_CODE_NAME
Use with available fluent helpers to apply the MaintNotificationCauseCodeName field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIFICATION_ROOT_CAUSE
Use with available fluent helpers to apply the MaintNotificationRootCause field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINT_NOTIFICATION_ROOT_CAUSE_TEXT
Use with available fluent helpers to apply the MaintNotificationRootCauseText field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINTENANCE_NOTIFICATION
Use with available fluent helpers to apply the MaintenanceNotification field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINTENANCE_NOTIFICATION_CAUSE
Use with available fluent helpers to apply the MaintenanceNotificationCause field to query operations.
|
static MaintNotificationItemCauseField<String> |
MAINTENANCE_NOTIFICATION_ITEM
Use with available fluent helpers to apply the MaintenanceNotificationItem field to query operations.
|
static MaintNotificationItemCauseOneToOneLink<MaintenanceNotificationItem> |
TO_ITEM
Use with available fluent helpers to apply the to_Item navigation property to query operations.
|
static MaintNotificationItemCauseOneToOneLink<MaintenanceNotification> |
TO_NOTIF
Use with available fluent helpers to apply the to_Notif navigation property to query operations.
|
changedOriginalFields
Constructor and Description |
---|
MaintNotificationItemCause() |
MaintNotificationItemCause(String maintenanceNotification,
String maintenanceNotificationItem,
String maintenanceNotificationCause,
String maintNotifCauseText,
String maintNotifCauseCodeGroup,
String maintNotifCauseCodeGroupName,
String maintNotificationCauseCode,
String maintNotificationCauseCodeName,
String maintNotificationRootCause,
String maintNotificationRootCauseText,
MaintenanceNotificationItem toItem,
MaintenanceNotification toNotif) |
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 MaintNotificationItemCause.MaintNotificationItemCauseBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
MaintenanceNotificationItem |
fetchItem()
Fetches the MaintenanceNotificationItem entity (one to one) associated with this entity.
|
MaintenanceNotification |
fetchNotif()
Fetches the MaintenanceNotification entity (one to one) associated with this entity.
|
static <T> MaintNotificationItemCauseField<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) |
protected String |
getDefaultServicePath()
Used by fluent helpers and navigation property methods to construct OData queries.
|
HttpDestinationProperties |
getDestinationForFetch()
Convienence field for reusing the same destination with multiple queries (e.g.
|
protected String |
getEntityCollection()
Used by fluent helpers and navigation property methods to construct OData queries.
|
io.vavr.control.Option<MaintenanceNotificationItem> |
getItemIfPresent()
Retrieval of associated MaintenanceNotificationItem entity (one to one).
|
MaintenanceNotificationItem |
getItemOrFetch()
Retrieval of associated MaintenanceNotificationItem entity (one to one).
|
protected Map<String,Object> |
getKey() |
String |
getMaintenanceNotification()
(Key Field) Constraints: Not nullable, Maximum length: 12
|
String |
getMaintenanceNotificationCause()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getMaintenanceNotificationItem()
(Key Field) Constraints: Not nullable, Maximum length: 4
|
String |
getMaintNotifCauseCodeGroup()
Constraints: Not nullable, Maximum length: 8
|
String |
getMaintNotifCauseCodeGroupName()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaintNotifCauseText()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaintNotificationCauseCode()
Constraints: Not nullable, Maximum length: 4
|
String |
getMaintNotificationCauseCodeName()
Constraints: Not nullable, Maximum length: 40
|
String |
getMaintNotificationRootCause()
Constraints: Not nullable, Maximum length: 1
|
String |
getMaintNotificationRootCauseText()
Constraints: Not nullable, Maximum length: 60
|
io.vavr.control.Option<MaintenanceNotification> |
getNotifIfPresent()
Retrieval of associated MaintenanceNotification entity (one to one).
|
MaintenanceNotification |
getNotifOrFetch()
Retrieval of associated MaintenanceNotification entity (one to one).
|
Class<MaintNotificationItemCause> |
getType() |
int |
hashCode() |
void |
setItem(MaintenanceNotificationItem value)
Overwrites the associated MaintenanceNotificationItem entity for the loaded navigation property
to_Item.
|
void |
setMaintenanceNotification(String maintenanceNotification)
(Key Field) Constraints: Not nullable, Maximum length: 12
|
void |
setMaintenanceNotificationCause(String maintenanceNotificationCause)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setMaintenanceNotificationItem(String maintenanceNotificationItem)
(Key Field) Constraints: Not nullable, Maximum length: 4
|
void |
setMaintNotifCauseCodeGroup(String maintNotifCauseCodeGroup)
Constraints: Not nullable, Maximum length: 8
|
void |
setMaintNotifCauseCodeGroupName(String maintNotifCauseCodeGroupName)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaintNotifCauseText(String maintNotifCauseText)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaintNotificationCauseCode(String maintNotificationCauseCode)
Constraints: Not nullable, Maximum length: 4
|
void |
setMaintNotificationCauseCodeName(String maintNotificationCauseCodeName)
Constraints: Not nullable, Maximum length: 40
|
void |
setMaintNotificationRootCause(String maintNotificationRootCause)
Constraints: Not nullable, Maximum length: 1
|
void |
setMaintNotificationRootCauseText(String maintNotificationRootCauseText)
Constraints: Not nullable, Maximum length: 60
|
void |
setNotif(MaintenanceNotification value)
Overwrites the associated MaintenanceNotification entity for the loaded navigation property
to_Notif.
|
protected void |
setServicePathForFetch(String servicePathForFetch)
The service path only used for the fetch commands of this entity.
|
protected Map<String,Object> |
toMapOfFields() |
protected Map<String,Object> |
toMapOfNavigationProperties() |
String |
toString() |
getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifier
getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final MaintNotificationItemCauseSelectable ALL_FIELDS
public static final MaintNotificationItemCauseField<String> MAINTENANCE_NOTIFICATION
public static final MaintNotificationItemCauseField<String> MAINTENANCE_NOTIFICATION_ITEM
public static final MaintNotificationItemCauseField<String> MAINTENANCE_NOTIFICATION_CAUSE
public static final MaintNotificationItemCauseField<String> MAINT_NOTIF_CAUSE_TEXT
public static final MaintNotificationItemCauseField<String> MAINT_NOTIF_CAUSE_CODE_GROUP
public static final MaintNotificationItemCauseField<String> MAINT_NOTIF_CAUSE_CODE_GROUP_NAME
public static final MaintNotificationItemCauseField<String> MAINT_NOTIFICATION_CAUSE_CODE
public static final MaintNotificationItemCauseField<String> MAINT_NOTIFICATION_CAUSE_CODE_NAME
public static final MaintNotificationItemCauseField<String> MAINT_NOTIFICATION_ROOT_CAUSE
public static final MaintNotificationItemCauseField<String> MAINT_NOTIFICATION_ROOT_CAUSE_TEXT
public static final MaintNotificationItemCauseOneToOneLink<MaintenanceNotificationItem> TO_ITEM
public static final MaintNotificationItemCauseOneToOneLink<MaintenanceNotification> TO_NOTIF
public MaintNotificationItemCause()
public MaintNotificationItemCause(@Nullable String maintenanceNotification, @Nullable String maintenanceNotificationItem, @Nullable String maintenanceNotificationCause, @Nullable String maintNotifCauseText, @Nullable String maintNotifCauseCodeGroup, @Nullable String maintNotifCauseCodeGroupName, @Nullable String maintNotificationCauseCode, @Nullable String maintNotificationCauseCodeName, @Nullable String maintNotificationRootCause, @Nullable String maintNotificationRootCauseText, @Nullable MaintenanceNotificationItem toItem, @Nullable MaintenanceNotification toNotif)
@Nonnull public Class<MaintNotificationItemCause> getType()
getType
in class VdmObject<MaintNotificationItemCause>
public void setMaintenanceNotification(@Nullable String maintenanceNotification)
Original property name from the Odata EDM: MaintenanceNotification
maintenanceNotification
- Number that identifies the notification.public void setMaintenanceNotificationItem(@Nullable String maintenanceNotificationItem)
Original property name from the Odata EDM: MaintenanceNotificationItem
maintenanceNotificationItem
- Item Number in Item Recordpublic void setMaintenanceNotificationCause(@Nullable String maintenanceNotificationCause)
Original property name from the Odata EDM: MaintenanceNotificationCause
maintenanceNotificationCause
- Sequential Number for Causepublic void setMaintNotifCauseText(@Nullable String maintNotifCauseText)
Original property name from the Odata EDM: MaintNotifCauseText
maintNotifCauseText
- Short description of the cause of the problem or malfunction that was determined.public void setMaintNotifCauseCodeGroup(@Nullable String maintNotifCauseCodeGroup)
Original property name from the Odata EDM: MaintNotifCauseCodeGroup
maintNotifCauseCodeGroup
- Cause Code Grouppublic void setMaintNotifCauseCodeGroupName(@Nullable String maintNotifCauseCodeGroupName)
Original property name from the Odata EDM: MaintNotifCauseCodeGroupName
maintNotifCauseCodeGroupName
- Short Description of the Code Grouppublic void setMaintNotificationCauseCode(@Nullable String maintNotificationCauseCode)
Original property name from the Odata EDM: MaintNotificationCauseCode
maintNotificationCauseCode
- Cause Codepublic void setMaintNotificationCauseCodeName(@Nullable String maintNotificationCauseCodeName)
Original property name from the Odata EDM: MaintNotificationCauseCodeName
maintNotificationCauseCodeName
- Short Text for Codepublic void setMaintNotificationRootCause(@Nullable String maintNotificationRootCause)
Original property name from the Odata EDM: MaintNotificationRootCause
maintNotificationRootCause
- Root Causepublic void setMaintNotificationRootCauseText(@Nullable String maintNotificationRootCauseText)
Original property name from the Odata EDM: MaintNotificationRootCauseText
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
maintNotificationRootCauseText
- This text appears when fixed values are displayed in the F4 help. It explains the possible input
values.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<MaintNotificationItemCause>
@Nonnull protected Map<String,Object> getKey()
getKey
in class VdmObject<MaintNotificationItemCause>
@Nonnull protected Map<String,Object> toMapOfFields()
toMapOfFields
in class VdmObject<MaintNotificationItemCause>
protected void fromMap(Map<String,Object> inputValues)
fromMap
in class VdmObject<MaintNotificationItemCause>
@Nonnull public static <T> MaintNotificationItemCauseField<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> MaintNotificationItemCauseField<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<MaintNotificationItemCause>
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<MaintNotificationItemCause>
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<MaintNotificationItemCause>
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()
VdmEntity
getDefaultServicePath
in class VdmEntity<MaintNotificationItemCause>
protocol://hostname:port
and the OData resource name (entity set, $metadata
, etc.)@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
toMapOfNavigationProperties
in class VdmObject<MaintNotificationItemCause>
@Nullable public MaintenanceNotificationItem fetchItem() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public MaintenanceNotificationItem getItemOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Item of a queried MaintNotificationItemCause 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<MaintenanceNotificationItem> getItemIfPresent()
If the navigation property for an entity MaintNotificationItemCause has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setItem(MaintenanceNotificationItem value)
value
- New MaintenanceNotificationItem entity.@Nullable public MaintenanceNotification fetchNotif() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
Please note: This method will not cache or persist the query results.
null
if an entity is not
associated.com.sap.cloud.sdk.odatav2.connectivity.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.@Nullable public MaintenanceNotification getNotifOrFetch() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException
If the navigation property to_Notif of a queried MaintNotificationItemCause 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.
com.sap.cloud.sdk.odatav2.connectivity.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.@Nonnull public io.vavr.control.Option<MaintenanceNotification> getNotifIfPresent()
If the navigation property for an entity MaintNotificationItemCause has not been resolved yet, this method
will not query further information. Instead its Option
result state will be
empty
.
Option
with result state
empty
is returned.public void setNotif(MaintenanceNotification value)
value
- New MaintenanceNotification entity.@Nonnull public static MaintNotificationItemCause.MaintNotificationItemCauseBuilder builder()
@Nullable public String getMaintenanceNotification()
Original property name from the Odata EDM: MaintenanceNotification
@Nullable public String getMaintenanceNotificationItem()
Original property name from the Odata EDM: MaintenanceNotificationItem
@Nullable public String getMaintenanceNotificationCause()
Original property name from the Odata EDM: MaintenanceNotificationCause
@Nullable public String getMaintNotifCauseText()
Original property name from the Odata EDM: MaintNotifCauseText
@Nullable public String getMaintNotifCauseCodeGroup()
Original property name from the Odata EDM: MaintNotifCauseCodeGroup
@Nullable public String getMaintNotifCauseCodeGroupName()
Original property name from the Odata EDM: MaintNotifCauseCodeGroupName
@Nullable public String getMaintNotificationCauseCode()
Original property name from the Odata EDM: MaintNotificationCauseCode
@Nullable public String getMaintNotificationCauseCodeName()
Original property name from the Odata EDM: MaintNotificationCauseCodeName
@Nullable public String getMaintNotificationRootCause()
Original property name from the Odata EDM: MaintNotificationRootCause
@Nullable public String getMaintNotificationRootCauseText()
Original property name from the Odata EDM: MaintNotificationRootCauseText
SeeTask-Oriented InstructionsReference Documentation for Semantic Properties of Domains
@Nonnull public String toString()
toString
in class VdmObject<MaintNotificationItemCause>
public boolean equals(@Nullable Object o)
equals
in class VdmObject<MaintNotificationItemCause>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmObject<MaintNotificationItemCause>
public int hashCode()
hashCode
in class VdmObject<MaintNotificationItemCause>
Copyright © 2021 SAP SE. All rights reserved.