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 TypeMethodDescriptionvoidAdds avoidvoidaddResponse(CIMResponse response) voidvoidVerify the status code for this CIMResponse.getId()booleanbooleanbooleanvoidsetCIMVersion(String pCimVersion) voidsetDTDVersion(String pDtdVersion) voidsetError(CIMException error) voidsetIsRequest(boolean pValue) voidvoidsetParamValue(Vector paramValue) voidsetReturnValue(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
-