|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.naming.lib.MapPNameGetter
Constructor Summary | |
MapPNameGetter()
|
|
MapPNameGetter(java.util.Map field2value)
|
|
MapPNameGetter(java.lang.String[] fieldNames,
java.lang.Object[] fieldValues)
|
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. |
void |
set(java.lang.String fn,
byte b)
|
void |
set(java.lang.String fn,
char c)
|
void |
set(java.lang.String fn,
int n)
|
void |
set(java.lang.String fn,
long l)
|
void |
set(java.lang.String fn,
java.lang.Object o)
|
void |
set(java.lang.String fn,
short s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MapPNameGetter(java.lang.String[] fieldNames, java.lang.Object[] fieldValues)
public MapPNameGetter(java.util.Map field2value)
public MapPNameGetter()
Method Detail |
public void set(java.lang.String fn, byte b)
public void set(java.lang.String fn, char c)
public void set(java.lang.String fn, short s)
public void set(java.lang.String fn, int n)
public void set(java.lang.String fn, long l)
public void set(java.lang.String fn, java.lang.Object o)
public byte pngetByteField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetByteField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Byte pngetObyteField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetObyteField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public char pngetCharField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetCharField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Character pngetOcharField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetOcharField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public short pngetShortField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetShortField
in interface PNameGetter
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.
PException
public java.lang.Short pngetOshortField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetOshortField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public int pngetIntField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetIntField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Integer pngetOintField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetOintField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public long pngetLongField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetLongField
in interface PNameGetter
ctxt
- A context used by PNameGetter to extract the related data.fn
- A String containing the name of the field.
PException
public java.lang.Long pngetOlongField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetOlongField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.lang.String pngetStringField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetStringField
in interface PNameGetter
ctxt
- A context used by PNameGetter to extract the related data.fn
- A String containing the name of the field.
PException
public byte[] pngetByteArrayField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetByteArrayField
in interface PNameGetter
ctxt
- A context used by PNameGetter to extract the related data.fn
- A String containing the name of the field.
PException
public char[] pngetCharArrayField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetCharArrayField
in interface PNameGetter
ctxt
- A context used by PNameGetter to extract the related data.fn
- A String containing the name of the field.
PException
public java.util.Date pngetDateField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetDateField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.math.BigInteger pngetBigIntegerField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetBigIntegerField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
public java.math.BigDecimal pngetBigDecimalField(java.lang.String fn, java.lang.Object ctxt) throws PException
PNameGetter
pngetBigDecimalField
in interface PNameGetter
fn
- A String containing the name of the field.ctxt
- A context used by PNameGetter to extract the related data.
PException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |