public class Transporter extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
Object |
object
Object(s) read from the server
|
boolean |
wasOperationSuccessful |
Constructor and Description |
---|
Transporter() |
Transporter(Object object) |
Modifier and Type | Method and Description |
---|---|
void |
expand(AbstractSession session)
Deserialize the object.
|
RuntimeException |
getException()
Return the exception which this Transporter is holding.
|
Object |
getObject()
Returns the read object(s) from the server side.
|
Map |
getObjectDescriptors()
Returns a hashtable of object descriptors.
|
DatabaseQuery |
getQuery()
Return the query associated with this transporter.
|
void |
prepare(AbstractSession session)
Serialize the object.
|
void |
setException(RuntimeException exception)
Set the exception associated with this Transporter
|
void |
setObject(Object object)
Set the read object(s) from the server side.
|
void |
setObjectDescriptors(Map objectDescriptors)
Get object to object descriptor
|
void |
setQuery(DatabaseQuery query)
Set the query associated with this transporter
|
void |
setWasOperationSuccessful(boolean wasOperationSuccessful)
Set whether the operation which caused this transporter to be returned was successful.
|
String |
toString() |
boolean |
wasOperationSuccessful()
Return whether the operation which caused this transporter to be returned was successful.
|
public Object object
public boolean wasOperationSuccessful
public Transporter()
public Transporter(Object object)
public RuntimeException getException()
public void prepare(AbstractSession session)
public void expand(AbstractSession session)
public Object getObject()
public Map getObjectDescriptors()
public DatabaseQuery getQuery()
public void setException(RuntimeException exception)
java.lang.RuntimeException
- public void setObject(Object object)
public void setObjectDescriptors(Map objectDescriptors)
public void setQuery(DatabaseQuery query)
org.eclipse.persistence.queries.DatabaseQuery
- public void setWasOperationSuccessful(boolean wasOperationSuccessful)
boolean
- public boolean wasOperationSuccessful()
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference