|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lapetus_ltd._2009.xml.types.XLptsXmlRowSetRowObjectType
com.lapetus_ltd.api.db.xml.types.TLptsXmlRowSetRowObjectType
public class TLptsXmlRowSetRowObjectType
Class Description : This class initiates the XML row object.
TLptsXmlRowSetType
for a full example of how to use this and the other related
Field Summary |
---|
Fields inherited from class com.lapetus_ltd._2009.xml.types.XLptsXmlRowSetRowObjectType |
---|
dataBytes, sqlType, string |
Constructor Summary | |
---|---|
TLptsXmlRowSetRowObjectType()
The constructor for new XLptsXmlRowSetRowObjectType objects. |
|
TLptsXmlRowSetRowObjectType(java.lang.String str,
int sqlType,
byte[] data)
The constructor for new XLptsXmlRowSetRowObjectType objects. |
|
TLptsXmlRowSetRowObjectType(XLptsXmlRowSetRowObjectType type)
Copies an existing XLptsXmlRowSetRowObjectType object and instantiates a new one. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Checks for equality of all three parts of the row object. |
Methods inherited from class com.lapetus_ltd._2009.xml.types.XLptsXmlRowSetRowObjectType |
---|
getDataBytes, getSqlType, getString, setDataBytes, setSqlType, setString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TLptsXmlRowSetRowObjectType()
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : N/A
Notes : Initiates a new empty string, with a sql type of "java.sql.Types.VARCHAR".
public TLptsXmlRowSetRowObjectType(java.lang.String str, int sqlType, byte[] data)
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : N/A
Notes : Initiates from the data supplied.
str
- The string to use for initiating this objectsqlType
- The java.sql.Types value to be used for initiatingdata
- The byte data for the objectpublic TLptsXmlRowSetRowObjectType(XLptsXmlRowSetRowObjectType type)
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : N/A
Notes :
type
- The existing XLptsXmlRowSetRowObjectType object.Method Detail |
---|
public boolean equals(java.lang.Object obj)
Thread Safe : Yes
Spawns its own Thread : No
May Return NULL : N/A
Notes : All the data needs to be exactly the same for an equal match.
Example :
TLptsXmlRowSetRowObjectType object1 = new TLptsXmlRowSetRowObjectType("1", java.sql.Types.INTEGER, TLptsBytesUtil.int2Bytes(1)); TLptsXmlRowSetRowObjectType object2 = new TLptsXmlRowSetRowObjectType("2", java.sql.Types.INTEGER, TLptsBytesUtil.int2Bytes(2)); if (object1.equals(object2)) System.out.println("New mathematical theory : 1 = 2");
equals
in class java.lang.Object
obj
- The object of type XLptsXmlRowSetRowObjectType to be compared.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |