|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.objectweb.jorm.interp.genclass.rdb.lib.RdbGenClassNameGetter
|
+--org.objectweb.jorm.interp.genclass.rdb.lib.RdbGenClassPNGIterator
It is an iterator over a resultset. The next() method returns the PName.
| Field Summary | |
protected FieldDesc[] |
elemFields
The description of the fields of a composite name. |
protected java.sql.PreparedStatement |
ps
|
protected java.sql.ResultSet |
resultSet
The ResultSet pointing to the row from which to fetch the value of the fields of a composite name. |
| Constructor Summary | |
RdbGenClassPNGIterator(java.sql.PreparedStatement ps,
java.sql.ResultSet rs,
FieldDesc[] rfds,
RdbGenClassMapping gcm)
|
|
| Method Summary | |
protected void |
finalize()
|
boolean |
hasNext()
|
java.lang.Object |
next()
|
byte |
pngetByteField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a byte field. |
char |
pngetCharField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a char field. |
java.util.Date |
pngetDateField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a date field. |
int |
pngetIntField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of an int field. |
long |
pngetLongField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a long field. |
java.lang.Byte |
pngetObyteField(java.lang.String fn,
java.lang.Object context)
It retrieves the value of a Byte field. |
java.lang.Character |
pngetOcharField(java.lang.String fn,
java.lang.Object context)
It retrieves the value of a Character field. |
java.lang.Integer |
pngetOintField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of an Integer field. |
java.lang.Long |
pngetOlongField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Long field. |
java.lang.Short |
pngetOshortField(java.lang.String fn,
java.lang.Object context)
It retrieves the value of a Short field. |
short |
pngetShortField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a short field. |
java.lang.String |
pngetStringField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a string field. |
void |
remove()
|
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.sql.ResultSet resultSet
protected FieldDesc[] elemFields
protected java.sql.PreparedStatement ps
| Constructor Detail |
public RdbGenClassPNGIterator(java.sql.PreparedStatement ps,
java.sql.ResultSet rs,
FieldDesc[] rfds,
RdbGenClassMapping gcm)
throws java.sql.SQLException
| Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iterator
public java.lang.Object next()
throws java.util.NoSuchElementException
next in interface java.util.Iterator
public void remove()
throws java.lang.UnsupportedOperationException
remove in interface java.util.Iterator
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Object
public byte pngetByteField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetByteField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.lang.Byte pngetObyteField(java.lang.String fn,
java.lang.Object context)
throws PExceptionTyping,
PExceptionIO
pngetObyteField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
public char pngetCharField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetCharField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.lang.Character pngetOcharField(java.lang.String fn,
java.lang.Object context)
throws PExceptionTyping,
PExceptionIO
pngetOcharField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
public short pngetShortField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetShortField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.lang.Short pngetOshortField(java.lang.String fn,
java.lang.Object context)
throws PExceptionTyping,
PExceptionIO
pngetOshortField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
public int pngetIntField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetIntField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.lang.Integer pngetOintField(java.lang.String fn,
java.lang.Object ctxt)
throws PExceptionTyping,
PExceptionIO
pngetOintField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
public long pngetLongField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetLongField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.lang.Long pngetOlongField(java.lang.String fn,
java.lang.Object ctxt)
throws PExceptionTyping,
PExceptionIO
pngetOlongField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
public java.lang.String pngetStringField(java.lang.String fn,
java.lang.Object ctx)
throws PExceptionTyping,
PExceptionIO
pngetStringField in interface PNameGetterfn - A String containing the name of the field.context - A context used by PNameGetter to extract the related data.PExceptionTyping - There is no field with this name and
this type within this composite name.
public java.util.Date pngetDateField(java.lang.String fn,
java.lang.Object ctxt)
throws PExceptionTyping,
PExceptionIO
pngetDateField in interface PNameGetterfn - A String containing the name of the field.PExceptionTyping - There is no field with this name and
this type within this composite name.PExceptionIO - It is raised when a problem occurs while
potentially accessing the DSI.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||