Package com.uc4.api.servicefulfillment
Class ServiceFulfillmentItem
- java.lang.Object
-
- com.uc4.api.servicefulfillment.ServiceFulfillmentItem
-
public class ServiceFulfillmentItem extends java.lang.Object
This 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 aServiceFulfillmentItem
using the specifiedElement
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
DateTime
getDetectionTime()
Returns the detection time.java.lang.String
getImportance()
Returns the business importance value.int
getRunID()
Returns the Run ID of the service execution.ServiceFulfillmentStatus
getServiceFulfillmentStatus()
Returns the service fulfillment status.java.lang.String
getServiceFulfillmentStatusAsTranslatedText()
Returns the service fulfillment status as translated message text.java.lang.String
getServiceLevelObjective()
Returns the name of the service level objective (SLO) object.java.lang.String
getServiceName()
Returns the name of the service object.java.lang.String
getServiceType()
Returns the type of the service object.ViolationReason
getViolationReason()
Returns the reason for the violation.int
hashCode()
-
-
-
Constructor Detail
-
ServiceFulfillmentItem
public ServiceFulfillmentItem(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row, ConnectionAttributes session)
Constructs aServiceFulfillmentItem
using 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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-