|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opcfoundation.ua.builtintypes.ServiceResult
public class ServiceResult
ServiceResult class.
| Constructor Summary | |
|---|---|
ServiceResult()
Constructor for ServiceResult. |
|
ServiceResult(StatusCode code)
Constructor for ServiceResult. |
|
ServiceResult(StatusCode code,
Throwable e)
Constructor for ServiceResult. |
|
ServiceResult(UnsignedInteger code)
Constructor for ServiceResult. |
|
ServiceResult(UnsignedInteger code,
Throwable e)
Constructor for ServiceResult. |
|
| Method Summary | |
|---|---|
static String |
buildExceptionTrace(Throwable e)
buildExceptionTrace. |
String |
getAdditionalInfo()
Getter for the field additionalInfo. |
StatusCode |
getCode()
Getter for the field code. |
ServiceResult |
getInnerResult()
Getter for the field innerResult. |
LocalizedText |
getLocalizedText()
Getter for the field localizedText. |
String |
getNamespaceUri()
Getter for the field namespaceUri. |
String |
getSymbolicId()
Getter for the field symbolicId. |
boolean |
isBad()
isBad. |
boolean |
isGood()
isGood. |
void |
setAdditionalInfo(String additionalInfo)
Setter for the field additionalInfo. |
void |
setCode(StatusCode code)
Setter for the field code. |
void |
setInnerResult(ServiceResult innerResult)
Setter for the field innerResult. |
void |
setLocalizedText(LocalizedText localizedText)
Setter for the field localizedText. |
void |
setNamespaceUri(String namespaceUri)
Setter for the field namespaceUri. |
void |
setSymbolicId(String symbolicId)
Setter for the field symbolicId. |
static ServiceResult |
toServiceResult(Throwable t)
Create service result with stack trace from an exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceResult()
Constructor for ServiceResult.
public ServiceResult(StatusCode code)
Constructor for ServiceResult.
code - a StatusCode object.
public ServiceResult(StatusCode code,
Throwable e)
Constructor for ServiceResult.
code - a StatusCode object.e - a Throwable object.
public ServiceResult(UnsignedInteger code,
Throwable e)
Constructor for ServiceResult.
code - a UnsignedInteger object.e - a Throwable object.public ServiceResult(UnsignedInteger code)
Constructor for ServiceResult.
code - a UnsignedInteger object.| Method Detail |
|---|
public static ServiceResult toServiceResult(Throwable t)
t - throwable
public boolean isBad()
isBad.
public static String buildExceptionTrace(Throwable e)
buildExceptionTrace.
e - a Throwable object.
String object.public boolean isGood()
isGood.
public String getAdditionalInfo()
Getter for the field additionalInfo.
String object.public void setAdditionalInfo(String additionalInfo)
Setter for the field additionalInfo.
additionalInfo - a String object.public StatusCode getCode()
Getter for the field code.
StatusCode object.public void setCode(StatusCode code)
Setter for the field code.
code - a StatusCode object.public ServiceResult getInnerResult()
Getter for the field innerResult.
ServiceResult object.public void setInnerResult(ServiceResult innerResult)
Setter for the field innerResult.
innerResult - a ServiceResult object.public LocalizedText getLocalizedText()
Getter for the field localizedText.
LocalizedText object.public void setLocalizedText(LocalizedText localizedText)
Setter for the field localizedText.
localizedText - a LocalizedText object.public String getNamespaceUri()
Getter for the field namespaceUri.
String object.public void setNamespaceUri(String namespaceUri)
Setter for the field namespaceUri.
namespaceUri - a String object.public String getSymbolicId()
Getter for the field symbolicId.
String object.public void setSymbolicId(String symbolicId)
Setter for the field symbolicId.
symbolicId - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||