|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PNameGetter interface defines a generic accessor to be used by persistent bindings to access fields of composite names it manages.
Method Summary | |
---|---|
java.math.BigDecimal |
pngetBigDecimalField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a BigDecimal field. |
java.math.BigInteger |
pngetBigIntegerField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a BigInteger field. |
byte[] |
pngetByteArrayField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a byte[] field. |
byte |
pngetByteField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a byte field. |
char[] |
pngetCharArrayField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a char[] field. |
char |
pngetCharField(java.lang.String fn,
java.lang.Object ctxt)
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 ctxt)
It retrieves the value of an int field. |
long |
pngetLongField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a long field. |
java.lang.Byte |
pngetObyteField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a Byte field. |
java.lang.Character |
pngetOcharField(java.lang.String fn,
java.lang.Object ctxt)
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 ctxt)
It retrieves the value of a Short field. |
short |
pngetShortField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a short field. |
java.lang.String |
pngetStringField(java.lang.String fn,
java.lang.Object ctxt)
It retrieves the value of a string field. |
Method Detail |
public byte pngetByteField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.lang.Byte pngetObyteField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public char pngetCharField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.lang.Character pngetOcharField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public short pngetShortField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
In in the case of RDB, it can be the result set.
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.
PException
public java.lang.Short pngetOshortField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public int pngetIntField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.lang.Integer pngetOintField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public long pngetLongField(java.lang.String fn, java.lang.Object ctxt) throws PException
ctxt
- A context used by PNameGetter to extract the related data.fn
- 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.
PException
public java.lang.Long pngetOlongField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.lang.String pngetStringField(java.lang.String fn, java.lang.Object ctxt) throws PException
ctxt
- A context used by PNameGetter to extract the related data.fn
- 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.
PException
public byte[] pngetByteArrayField(java.lang.String fn, java.lang.Object ctxt) throws PException
ctxt
- A context used by PNameGetter to extract the related data.fn
- 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.
PException
public char[] pngetCharArrayField(java.lang.String fn, java.lang.Object ctxt) throws PException
ctxt
- A context used by PNameGetter to extract the related data.fn
- 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.
PException
public java.util.Date pngetDateField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.math.BigInteger pngetBigIntegerField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
public java.math.BigDecimal pngetBigDecimalField(java.lang.String fn, java.lang.Object ctxt) throws PException
fn
- A String containing the name of the field.ctxt
- 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.
PExceptionIO
- It is raised when a problem occurs while
potentially accessing the DSI.
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |