org.openmobileis.synchro.openmsp.protocol
Class Result
java.lang.Object
org.openmobileis.synchro.openmsp.protocol.AbstractCommand
org.openmobileis.synchro.openmsp.protocol.ResponseCommand
org.openmobileis.synchro.openmsp.protocol.Result
- All Implemented Interfaces:
- Element, OpenMISSerializable, java.io.Serializable
- public class Result
- extends ResponseCommand
- implements Element
Title: OpenMobileIS project source
Description: Result command. Contains a list of data items.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
meta
|
protected java.lang.String |
sourceRef
|
protected java.lang.String |
targetRef
|
Fields inherited from interface org.openmobileis.synchro.openmsp.protocol.Element |
ADD, DELETE, FINAL, GET, HEADER, ITEM, MAP, MAP_ITEM, REPLACE, RESULT, SEQUENCE, STATUS, SYNC |
Constructor Summary |
protected |
Result()
|
|
Result(int cmdRef,
java.lang.String sourceRef,
java.lang.String targetRef)
|
Methods inherited from class org.openmobileis.synchro.openmsp.protocol.AbstractCommand |
getCmdId, getElementType, hasCommandId, hasCommmandId, setCmdId, setCredentialData, setCredentialMeta, setData, setElementType, setSource, setSourceSessionID, setTarget, writeBeginTag, writeEndTag |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.openmobileis.synchro.openmsp.protocol.Element |
getCmdId, getElementType, hasCommmandId, setCmdId, setCmdRef, setCredentialData, setCredentialMeta, setData, setElementType, setSource, setSourceSessionID, setTarget, writeBeginTag, writeEndTag |
meta
protected java.lang.String meta
targetRef
protected java.lang.String targetRef
sourceRef
protected java.lang.String sourceRef
Result
protected Result()
Result
public Result(int cmdRef,
java.lang.String sourceRef,
java.lang.String targetRef)
getMetaInformation
public java.lang.String getMetaInformation()
getTargetRef
public java.lang.String getTargetRef()
getSourceRef
public java.lang.String getSourceRef()
toString
public java.lang.String toString()
- Overrides:
toString
in class ResponseCommand
setSourceRef
public void setSourceRef(java.lang.String source)
- Implements Element interface
- Specified by:
setSourceRef
in interface Element
- Overrides:
setSourceRef
in class AbstractCommand
setTargetRef
public void setTargetRef(java.lang.String target)
- Specified by:
setTargetRef
in interface Element
- Overrides:
setTargetRef
in class AbstractCommand
setMetaInformation
public void setMetaInformation(java.lang.String meta)
- Specified by:
setMetaInformation
in interface Element
- Overrides:
setMetaInformation
in class AbstractCommand
writeContent
public void writeContent(java.lang.StringBuffer buffer)
- Specified by:
writeContent
in interface Element
- Overrides:
writeContent
in class ResponseCommand
Copyright 2006 OpenMobileIS. All Rights Reserved.