|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jorm.naming.lib.BasicPName
org.objectweb.jorm.naming.lib.BasicPolymorphicPName
org.objectweb.jorm.naming.lib.BasicCompositePName
This abstract class helps the implementation of PName for composite name.
Field Summary |
Fields inherited from class org.objectweb.jorm.naming.lib.BasicPolymorphicPName |
polymorphic |
Fields inherited from class org.objectweb.jorm.naming.lib.BasicPName |
pnc |
Constructor Summary | |
BasicCompositePName()
|
Method Summary | |
protected abstract boolean |
checkPName(java.lang.Object obj)
|
boolean |
equal(byte[] ba1,
byte[] ba2)
|
boolean |
equal(char[] ba1,
char[] ba2)
|
boolean |
equals(java.lang.Object obj)
Overides the equals method. |
boolean |
isNull()
It tells if this name corresponds to "null" representation within a its naming context. |
java.math.BigDecimal |
pngetBigDecimalField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a BigDecimal field. |
java.math.BigInteger |
pngetBigIntegerField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a BigInteger field. |
byte[] |
pngetByteArrayField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a byte[] field. |
byte |
pngetByteField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a byte field. |
char[] |
pngetCharArrayField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a char[] 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 ctx)
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 ctx)
It retrieves the value of a Byte field. |
java.lang.Character |
pngetOcharField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a Character field. |
java.lang.Integer |
pngetOintField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of an Integer field. |
java.lang.Long |
pngetOlongField(java.lang.String fn,
java.lang.Object ctx)
It retrieves the value of a Long field. |
java.lang.Short |
pngetOshortField(java.lang.String fn,
java.lang.Object ctx)
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. |
protected abstract boolean |
valuesEqual(PName obj)
|
Methods inherited from class org.objectweb.jorm.naming.lib.BasicPolymorphicPName |
isPolymorphic, setPNameManager, setPolymorphic |
Methods inherited from class org.objectweb.jorm.naming.lib.BasicPName |
codingSupported, encode, encodeAbstract, encodeBigDecimal, encodeBigInteger, encodeByte, encodeChar, encodeCharArray, encodeDate, encodeInt, encodeLong, encodeObyte, encodeOchar, encodeOint, encodeOlong, encodeOshort, encodeShort, encodeString, export, export, getPNameManager, getPType, resolve, setPNamingContext, toString, unexport, unexport |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.jorm.naming.api.PName |
codingSupported, encode, encodeAbstract, encodeBigDecimal, encodeBigInteger, encodeByte, encodeChar, encodeCharArray, encodeDate, encodeInt, encodeLong, encodeObyte, encodeOchar, encodeOint, encodeOlong, encodeOshort, encodeShort, encodeString, export, export, getPNameManager, getPType, resolve, unexport, unexport |
Constructor Detail |
public BasicCompositePName()
Method Detail |
protected abstract boolean checkPName(java.lang.Object obj)
protected abstract boolean valuesEqual(PName obj)
public boolean isNull()
PName
isNull
in interface PName
public boolean equals(java.lang.Object obj)
public boolean equal(char[] ba1, char[] ba2)
public boolean equal(byte[] ba1, byte[] ba2)
public byte pngetByteField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetByteField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Byte pngetObyteField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetObyteField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public char pngetCharField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetCharField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Character pngetOcharField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetOcharField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public short pngetShortField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetShortField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- 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 ctx) throws PException
PNameGetter
pngetOshortField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public int pngetIntField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetIntField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.lang.Integer pngetOintField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetOintField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public long pngetLongField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetLongField
in interface PNameGetter
ctx
- 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 ctx) throws PException
PNameGetter
pngetOlongField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.lang.String pngetStringField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetStringField
in interface PNameGetter
ctx
- 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 ctx) throws PException
PNameGetter
pngetByteArrayField
in interface PNameGetter
ctx
- 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 ctx) throws PException
PNameGetter
pngetCharArrayField
in interface PNameGetter
ctx
- 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 ctx) throws PException
PNameGetter
pngetDateField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.math.BigInteger pngetBigIntegerField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetBigIntegerField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- A context used by PNameGetter to extract the related data.
PException
public java.math.BigDecimal pngetBigDecimalField(java.lang.String fn, java.lang.Object ctx) throws PException
PNameGetter
pngetBigDecimalField
in interface PNameGetter
fn
- A String containing the name of the field.ctx
- 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 |