Class CIMResponse
java.lang.Object
org.sblim.wbem.xml.CIMResponse
Represent a CIMReponse message.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a CIMResponse object.CIMResponse
(String cimVersion, String dtdVersion, String method) Constructs a CIMResponse object with the specified CIMVersion, DTDVersion and method.CIMResponse
(CIMRequest request) Constructs a CIM Response message from a given CIM Request. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds avoid
void
addResponse
(CIMResponse response) void
void
Verify the status code for this CIMResponse.getId()
boolean
boolean
boolean
void
setCIMVersion
(String pCimVersion) void
setDTDVersion
(String pDtdVersion) void
setError
(CIMException error) void
setIsRequest
(boolean pValue) void
void
setParamValue
(Vector paramValue) void
setReturnValue
(Vector returnValue)
-
Field Details
-
iResponses
-
iError
-
iReturnValue
-
iParamValue
-
iDoc
-
iElements
-
iCimVersion
-
iDtdVersion
-
iId
-
iProtocolVersion
-
iMethod
-
iIsCIMExport
protected boolean iIsCIMExport -
iIsSimple
protected boolean iIsSimple -
iIsRequest
protected boolean iIsRequest
-
-
Constructor Details
-
CIMResponse
public CIMResponse()Constructs a CIMResponse object. -
CIMResponse
-
CIMResponse
Constructs a CIM Response message from a given CIM Request.- Parameters:
request
-
-
-
Method Details
-
addParamValue
-
addParamValue
-
addResponse
-
addReturnValue
-
checkError
Verify the status code for this CIMResponse.- Throws:
CIMException
- if the status code is other than success.
-
getAllResponses
-
getException
-
isSuccessul
public boolean isSuccessul() -
getFirstResponse
-
getParamValues
-
getFirstReturnValue
-
setError
-
setParamValue
-
setReturnValue
-
getCIMVersion
-
getDTDVersion
-
isCIMOperation
public boolean isCIMOperation() -
isCIMExport
public boolean isCIMExport() -
setMethod
-
setCIMVersion
-
setDTDVersion
-
setIsRequest
public void setIsRequest(boolean pValue) -
getId
-
getProtocolVersion
-