public class PdxQueryTestObject extends java.lang.Object implements PdxSerializable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
id |
Constructor and Description |
---|
PdxQueryTestObject() |
PdxQueryTestObject(int id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
fromData(PdxReader reader)
Deserializes the PDX fields using the given reader.
|
int |
getAge() |
java.lang.String |
getName() |
void |
toData(PdxWriter writer)
Serializes the PDX fields using the given writer.
|
java.lang.String |
toString() |
public PdxQueryTestObject()
public PdxQueryTestObject(int id, java.lang.String name)
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object
public int getAge()
public void toData(PdxWriter writer)
PdxSerializable
toData
in interface PdxSerializable
writer
- the PdxWriter
to use to write the PDX fields.public void fromData(PdxReader reader)
PdxSerializable
fromData
in interface PdxSerializable
reader
- the PdxReader
to use to read the PDX fields.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object