Package com.uc4.api.servicefulfillment
Class ServiceFulfillmentItem
- java.lang.Object
-
- com.uc4.api.servicefulfillment.ServiceFulfillmentItem
-
public class ServiceFulfillmentItem extends java.lang.ObjectThis class represents a item of the service fulfillments list.
-
-
Constructor Summary
Constructors Constructor Description ServiceFulfillmentItem(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row, ConnectionAttributes session)Constructs aServiceFulfillmentItemusing the specifiedElement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)DateTimegetDetectionTime()Returns the detection time.java.lang.StringgetImportance()Returns the business importance value.intgetRunID()Returns the Run ID of the service execution.ServiceFulfillmentStatusgetServiceFulfillmentStatus()Returns the service fulfillment status.java.lang.StringgetServiceFulfillmentStatusAsTranslatedText()Returns the service fulfillment status as translated message text.java.lang.StringgetServiceLevelObjective()Returns the name of the service level objective (SLO) object.java.lang.StringgetServiceName()Returns the name of the service object.java.lang.StringgetServiceType()Returns the type of the service object.ViolationReasongetViolationReason()Returns the reason for the violation.inthashCode()
-
-
-
Constructor Detail
-
ServiceFulfillmentItem
public ServiceFulfillmentItem(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row, ConnectionAttributes session)Constructs aServiceFulfillmentItemusing the specifiedElement. Internal use only.- Parameters:
doc- XML documentrow- Elementsession- Session info
-
-
Method Detail
-
getServiceLevelObjective
public java.lang.String getServiceLevelObjective()
Returns the name of the service level objective (SLO) object.- Returns:
- String containing the name or null
-
getServiceName
public java.lang.String getServiceName()
Returns the name of the service object.- Returns:
- String containing the name or null
-
getServiceType
public java.lang.String getServiceType()
Returns the type of the service object.- Returns:
- String containing the type or null
-
getRunID
public int getRunID()
Returns the Run ID of the service execution.- Returns:
- Integer containing the runID or 0
-
getServiceFulfillmentStatus
public ServiceFulfillmentStatus getServiceFulfillmentStatus()
Returns the service fulfillment status.- Returns:
- ServiceFulfillmentStatus or null
-
getServiceFulfillmentStatusAsTranslatedText
public java.lang.String getServiceFulfillmentStatusAsTranslatedText()
Returns the service fulfillment status as translated message text. The message is translated using the logon language.- Returns:
- text or null
-
getViolationReason
public ViolationReason getViolationReason()
Returns the reason for the violation. When there was no violation, null will be returned.- Returns:
- ViolationReason or null
-
getDetectionTime
public DateTime getDetectionTime()
Returns the detection time.- Returns:
- detection time or null
-
getImportance
public java.lang.String getImportance()
Returns the business importance value.- Returns:
- Importance or null
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-