org.objectweb.jonas_ejb.container.jorm
Class GenClassElement
java.lang.Object
|
+--org.objectweb.jonas_ejb.container.jorm.GenClassElement
- All Implemented Interfaces:
- org.objectweb.jorm.api.PIndexedElem
- Direct Known Subclasses:
- CollectionElement
- public class GenClassElement
- extends java.lang.Object
- implements org.objectweb.jorm.api.PIndexedElem
This class is a basic implementation of the PIndexedElem interface used by
the GenClassImpl class. This implementation manages only references (no
primitive elements).
- Author:
- S.Chassande-Barrioz
Field Summary |
GenClassImpl |
gc
This fields references the GenClass inside which the PIndexedElem is
store. |
boolean |
hasBeenCreated
|
org.objectweb.jorm.naming.api.PName |
pname
This fields references the associated pname. |
byte |
status
This fields describes the status of the PIndexedElem in according to the
constant defined in the PIndexedElem interface. |
PObject |
value
This fields references the user object. |
Fields inherited from interface org.objectweb.jorm.api.PIndexedElem |
ELEM_CREATED, ELEM_DELETED, ELEM_MODIFIED, ELEM_UNMODIFIED |
Method Summary |
byte |
getElemStatus()
|
java.math.BigDecimal |
pieGetBigDecimalElem()
|
boolean |
pieGetBooleanElem()
|
byte[] |
pieGetByteArrayElem()
|
byte |
pieGetByteElem()
|
byte |
pieGetByteIndexField(java.lang.String fn)
|
char[] |
pieGetCharArrayElem()
|
char |
pieGetCharElem()
|
char |
pieGetCharIndexField(java.lang.String fn)
|
java.util.Date |
pieGetDateElem()
|
java.util.Date |
pieGetDateIndexField(java.lang.String fn)
|
double |
pieGetDoubleElem()
|
float |
pieGetFloatElem()
|
int |
pieGetIntElem()
|
int |
pieGetIntIndexField(java.lang.String fn)
|
long |
pieGetLongElem()
|
long |
pieGetLongIndexField(java.lang.String fn)
|
java.lang.Boolean |
pieGetObooleanElem()
|
java.lang.Byte |
pieGetObyteElem()
|
java.lang.Byte |
pieGetObyteIndexField(java.lang.String fn)
|
java.lang.Character |
pieGetOcharElem()
|
java.lang.Character |
pieGetOcharIndexField(java.lang.String fn)
|
java.lang.Double |
pieGetOdoubleElem()
|
java.lang.Float |
pieGetOfloatElem()
|
java.lang.Integer |
pieGetOintElem()
|
java.lang.Integer |
pieGetOintIndexField(java.lang.String fn)
|
java.lang.Long |
pieGetOlongElem()
|
java.lang.Long |
pieGetOlongIndexField(java.lang.String fn)
|
java.lang.Short |
pieGetOshortElem()
|
java.lang.Short |
pieGetOshortIndexField(java.lang.String fn)
|
java.lang.Object |
pieGetRefElem()
|
java.io.Serializable |
pieGetSerializedElem()
|
short |
pieGetShortElem()
|
short |
pieGetShortIndexField(java.lang.String fn)
|
java.lang.String |
pieGetStringElem()
|
java.lang.String |
pieGetStringIndexField(java.lang.String fn)
|
void |
pieSetBigDecimalElem(java.math.BigDecimal value)
|
void |
pieSetBooleanElem(boolean value)
|
void |
pieSetByteArrayElem(byte[] value)
|
void |
pieSetByteElem(byte value)
|
void |
pieSetByteIndexField(java.lang.String fn,
byte value)
|
void |
pieSetCharArrayElem(char[] value)
|
void |
pieSetCharElem(char value)
|
void |
pieSetCharIndexField(java.lang.String fn,
char value)
|
void |
pieSetDateElem(java.util.Date value)
|
void |
pieSetDateIndexField(java.lang.String fn,
java.util.Date value)
|
void |
pieSetDoubleElem(double value)
|
void |
pieSetFloatElem(float value)
|
void |
pieSetIntElem(int value)
|
void |
pieSetIntIndexField(java.lang.String fn,
int value)
|
void |
pieSetLongElem(long value)
|
void |
pieSetLongIndexField(java.lang.String fn,
long value)
|
void |
pieSetObooleanElem(java.lang.Boolean value)
|
void |
pieSetObyteElem(java.lang.Byte value)
|
void |
pieSetObyteIndexField(java.lang.String fn,
java.lang.Byte value)
|
void |
pieSetOcharElem(java.lang.Character value)
|
void |
pieSetOcharIndexField(java.lang.String fn,
java.lang.Character value)
|
void |
pieSetOdoubleElem(java.lang.Double value)
|
void |
pieSetOfloatElem(java.lang.Float value)
|
void |
pieSetOintElem(java.lang.Integer value)
|
void |
pieSetOintIndexField(java.lang.String fn,
java.lang.Integer value)
|
void |
pieSetOlongElem(java.lang.Long value)
|
void |
pieSetOlongIndexField(java.lang.String fn,
java.lang.Long value)
|
void |
pieSetOshortElem(java.lang.Short value)
|
void |
pieSetOshortIndexField(java.lang.String fn,
java.lang.Short value)
|
void |
pieSetRefElem(java.lang.Object pn)
The jorm assignes the PName of the referenced object |
void |
pieSetSerializedElem(java.io.Serializable value)
|
void |
pieSetShortElem(short value)
|
void |
pieSetShortIndexField(java.lang.String fn,
short value)
|
void |
pieSetStringElem(java.lang.String value)
|
void |
pieSetStringIndexField(java.lang.String fn,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
status
public byte status
- This fields describes the status of the PIndexedElem in according to the
constant defined in the PIndexedElem interface.
hasBeenCreated
public boolean hasBeenCreated
pname
public org.objectweb.jorm.naming.api.PName pname
- This fields references the associated pname. This field is never null
after that the data been load.
value
public PObject value
- This fields references the user object. This is a PObject which permits
to reach its PName.
gc
public GenClassImpl gc
- This fields references the GenClass inside which the PIndexedElem is
store.
GenClassElement
public GenClassElement(GenClassImpl gc)
getElemStatus
public byte getElemStatus()
- Specified by:
getElemStatus
in interface org.objectweb.jorm.api.PIndexedElem
pieGetRefElem
public java.lang.Object pieGetRefElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetRefElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetRefElem
public void pieSetRefElem(java.lang.Object pn)
throws org.objectweb.jorm.api.PException
- The jorm assignes the PName of the referenced object
- Specified by:
pieSetRefElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetBooleanElem
public boolean pieGetBooleanElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetBooleanElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetObooleanElem
public java.lang.Boolean pieGetObooleanElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetObooleanElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetByteElem
public byte pieGetByteElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetByteElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetObyteElem
public java.lang.Byte pieGetObyteElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetObyteElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetByteIndexField
public byte pieGetByteIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetByteIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetObyteIndexField
public java.lang.Byte pieGetObyteIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetObyteIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetCharElem
public char pieGetCharElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetCharElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOcharElem
public java.lang.Character pieGetOcharElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOcharElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetCharIndexField
public char pieGetCharIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetCharIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOcharIndexField
public java.lang.Character pieGetOcharIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOcharIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetShortElem
public short pieGetShortElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetShortElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOshortElem
public java.lang.Short pieGetOshortElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOshortElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetShortIndexField
public short pieGetShortIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetShortIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOshortIndexField
public java.lang.Short pieGetOshortIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOshortIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetIntElem
public int pieGetIntElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetIntElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOintElem
public java.lang.Integer pieGetOintElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOintElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetIntIndexField
public int pieGetIntIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetIntIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOintIndexField
public java.lang.Integer pieGetOintIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOintIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetLongElem
public long pieGetLongElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetLongElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOlongElem
public java.lang.Long pieGetOlongElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOlongElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetLongIndexField
public long pieGetLongIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetLongIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOlongIndexField
public java.lang.Long pieGetOlongIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOlongIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetFloatElem
public float pieGetFloatElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetFloatElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOfloatElem
public java.lang.Float pieGetOfloatElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOfloatElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetDoubleElem
public double pieGetDoubleElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetDoubleElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetOdoubleElem
public java.lang.Double pieGetOdoubleElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetOdoubleElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetStringElem
public java.lang.String pieGetStringElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetStringElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetStringIndexField
public java.lang.String pieGetStringIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetStringIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetDateElem
public java.util.Date pieGetDateElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetDateElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetDateIndexField
public java.util.Date pieGetDateIndexField(java.lang.String fn)
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetDateIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieGetCharArrayElem
public char[] pieGetCharArrayElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetCharArrayElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetByteArrayElem
public byte[] pieGetByteArrayElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetByteArrayElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetSerializedElem
public java.io.Serializable pieGetSerializedElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetSerializedElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetBooleanElem
public void pieSetBooleanElem(boolean value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetBooleanElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetObooleanElem
public void pieSetObooleanElem(java.lang.Boolean value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetObooleanElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetByteElem
public void pieSetByteElem(byte value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetByteElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetObyteElem
public void pieSetObyteElem(java.lang.Byte value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetObyteElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetByteIndexField
public void pieSetByteIndexField(java.lang.String fn,
byte value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetByteIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetObyteIndexField
public void pieSetObyteIndexField(java.lang.String fn,
java.lang.Byte value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetObyteIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetCharElem
public void pieSetCharElem(char value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetCharElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOcharElem
public void pieSetOcharElem(java.lang.Character value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOcharElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetCharIndexField
public void pieSetCharIndexField(java.lang.String fn,
char value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetCharIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOcharIndexField
public void pieSetOcharIndexField(java.lang.String fn,
java.lang.Character value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOcharIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetShortElem
public void pieSetShortElem(short value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetShortElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOshortElem
public void pieSetOshortElem(java.lang.Short value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOshortElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetShortIndexField
public void pieSetShortIndexField(java.lang.String fn,
short value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetShortIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOshortIndexField
public void pieSetOshortIndexField(java.lang.String fn,
java.lang.Short value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOshortIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetIntElem
public void pieSetIntElem(int value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetIntElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOintElem
public void pieSetOintElem(java.lang.Integer value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOintElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetIntIndexField
public void pieSetIntIndexField(java.lang.String fn,
int value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetIntIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOintIndexField
public void pieSetOintIndexField(java.lang.String fn,
java.lang.Integer value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOintIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetLongElem
public void pieSetLongElem(long value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetLongElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOlongElem
public void pieSetOlongElem(java.lang.Long value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOlongElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetLongIndexField
public void pieSetLongIndexField(java.lang.String fn,
long value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetLongIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOlongIndexField
public void pieSetOlongIndexField(java.lang.String fn,
java.lang.Long value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOlongIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetFloatElem
public void pieSetFloatElem(float value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetFloatElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOfloatElem
public void pieSetOfloatElem(java.lang.Float value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOfloatElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetDoubleElem
public void pieSetDoubleElem(double value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetDoubleElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetOdoubleElem
public void pieSetOdoubleElem(java.lang.Double value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetOdoubleElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetStringElem
public void pieSetStringElem(java.lang.String value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetStringElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetStringIndexField
public void pieSetStringIndexField(java.lang.String fn,
java.lang.String value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetStringIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetDateElem
public void pieSetDateElem(java.util.Date value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetDateElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetDateIndexField
public void pieSetDateIndexField(java.lang.String fn,
java.util.Date value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetDateIndexField
in interface org.objectweb.jorm.api.PIndexedElem
pieSetCharArrayElem
public void pieSetCharArrayElem(char[] value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetCharArrayElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetByteArrayElem
public void pieSetByteArrayElem(byte[] value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetByteArrayElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetSerializedElem
public void pieSetSerializedElem(java.io.Serializable value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetSerializedElem
in interface org.objectweb.jorm.api.PIndexedElem
pieGetBigDecimalElem
public java.math.BigDecimal pieGetBigDecimalElem()
throws org.objectweb.jorm.api.PException
- Specified by:
pieGetBigDecimalElem
in interface org.objectweb.jorm.api.PIndexedElem
pieSetBigDecimalElem
public void pieSetBigDecimalElem(java.math.BigDecimal value)
throws org.objectweb.jorm.api.PException
- Specified by:
pieSetBigDecimalElem
in interface org.objectweb.jorm.api.PIndexedElem