org.objectweb.speedo.genclass.collection
Class CollectionElem

java.lang.Object
  extended byorg.objectweb.speedo.genclass.collection.CollectionElem
All Implemented Interfaces:
GenClassElement, org.objectweb.jorm.api.PIndexedElem
Direct Known Subclasses:
ListElem, MapElem, SetElem

public class CollectionElem
extends java.lang.Object
implements org.objectweb.jorm.api.PIndexedElem, GenClassElement

Author:
P. D?chamboux

Field Summary
protected  java.lang.Object element
          This field is the element (or its PName for a reference).
static java.lang.String ERROR_MESSAGE_BAD_FIELD_NAME
          The error message thrown when an accessor method associated to a primitive element type is called.
static java.lang.String ERROR_MESSAGE_NO_NULL_INDEX
          The error message thrown when an accessor method associated to a primitive element type is called.
protected  GenClassAccessor gca
           
protected  java.lang.Object index
          This field can be the index.
static java.lang.String INDEX_FIELD_NAME
          This constant is the name of the index field.
protected  byte status
          This field represents the satus of the PIndexedEleme.
 
Fields inherited from interface org.objectweb.jorm.api.PIndexedElem
ELEM_CREATED, ELEM_DELETED, ELEM_MODIFIED, ELEM_UNMODIFIED
 
Constructor Summary
CollectionElem(GenClassAccessor gca)
           
 
Method Summary
 void cleanStatusForMerge()
          Forget the retained status.
 GenClassElement cloneGCE()
           
 GenClassElement cloneGCE(GenClassElement gce)
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object getElement()
           
 java.lang.Object getElement(javax.jdo.PersistenceManager pm)
           
 byte getElemStatus()
           
 java.lang.Object getIndex()
           
 SpeedoAccessor getSpeedoAccessor()
          Retrieves the Speedo accessor associated to this gen class element.
 byte getStatusForMerge()
           
 java.math.BigDecimal pieGetBigDecimalElem()
           
 java.math.BigInteger pieGetBigIntegerElem()
           
 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)
           
 org.objectweb.jorm.naming.api.PName 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 bigDecimal)
           
 void pieSetBigIntegerElem(java.math.BigInteger 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(org.objectweb.jorm.naming.api.PName value)
           
 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)
           
 byte retainStatusForMerge()
          When thin lock is enabled (locking managed at genclass element level instead of at genclass level), this method store the current status of the genclass element into another variable.
 void setElement(java.lang.Object element)
          Assignes the element of the gen class.
 void setIndex(java.lang.Object index)
          Assignes the index of the element of the gen class.
 void setStatus(byte s)
          Assignes the jorm status of the PIndexedElement
 void unSwizzle()
          In case of the element of the generic class is a persistent class.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR_MESSAGE_BAD_FIELD_NAME

public static final java.lang.String ERROR_MESSAGE_BAD_FIELD_NAME
The error message thrown when an accessor method associated to a primitive element type is called. Indeed this implementation supports only object elements.

See Also:
Constant Field Values

ERROR_MESSAGE_NO_NULL_INDEX

public static final java.lang.String ERROR_MESSAGE_NO_NULL_INDEX
The error message thrown when an accessor method associated to a primitive element type is called. Indeed this implementation supports only object elements.

See Also:
Constant Field Values

INDEX_FIELD_NAME

public static final java.lang.String INDEX_FIELD_NAME
This constant is the name of the index field. This value must be use with the methods associated to the management of the index.

See Also:
Constant Field Values

element

protected java.lang.Object element
This field is the element (or its PName for a reference).


index

protected java.lang.Object index
This field can be the index. The index type is known at instanciation time.


status

protected byte status
This field represents the satus of the PIndexedEleme. The possible value are ELEM_CREATED, ELEM_DELETED, ELEM_MODIFIED, ELEM_UNMODIFIED


gca

protected GenClassAccessor gca
Constructor Detail

CollectionElem

public CollectionElem(GenClassAccessor gca)
Method Detail

cloneGCE

public GenClassElement cloneGCE()
Specified by:
cloneGCE in interface GenClassElement
Returns:
a clone of the current gen class element.

cloneGCE

public GenClassElement cloneGCE(GenClassElement gce)

getIndex

public java.lang.Object getIndex()
Specified by:
getIndex in interface GenClassElement
Returns:
the index of this gen class element, possibly wrapped in an object.

setIndex

public void setIndex(java.lang.Object index)
Description copied from interface: GenClassElement
Assignes the index of the element of the gen class. It is a user object.

Specified by:
setIndex in interface GenClassElement
Parameters:
index - to add, it cannot be null.

getElement

public java.lang.Object getElement()
Specified by:
getElement in interface GenClassElement
Returns:
the element of the gen class. It is a user object.

setElement

public void setElement(java.lang.Object element)
Assignes the element of the gen class. It is a user object.

Specified by:
setElement in interface GenClassElement
Parameters:
element - to add

getElement

public java.lang.Object getElement(javax.jdo.PersistenceManager pm)
Specified by:
getElement in interface GenClassElement
Parameters:
pm - is the persistence manager which permits to resolve the PName into a java reference.
Returns:
the element of the gen class. The element is a reference (SpeedoProxy).

getSpeedoAccessor

public SpeedoAccessor getSpeedoAccessor()
Description copied from interface: GenClassElement
Retrieves the Speedo accessor associated to this gen class element.

Specified by:
getSpeedoAccessor in interface GenClassElement

unSwizzle

public void unSwizzle()
Description copied from interface: GenClassElement
In case of the element of the generic class is a persistent class. The implementation of this method should replace the direct reference to the persistent object by its identifier (PName). The aim of the unswizzling feature is to permit to the cache to garbage unused instance. This unswizzling is done at commit time usualy.

Specified by:
unSwizzle in interface GenClassElement

cleanStatusForMerge

public void cleanStatusForMerge()
Description copied from interface: GenClassElement
Forget the retained status.

Specified by:
cleanStatusForMerge in interface GenClassElement
See Also:
GenClassElement.retainStatusForMerge()

getStatusForMerge

public byte getStatusForMerge()
Specified by:
getStatusForMerge in interface GenClassElement
Returns:
the retained status
See Also:
GenClassElement.retainStatusForMerge()

retainStatusForMerge

public byte retainStatusForMerge()
Description copied from interface: GenClassElement
When thin lock is enabled (locking managed at genclass element level instead of at genclass level), this method store the current status of the genclass element into another variable. This status is in fact the status of the genclass element during the working set. If the element is modified, the change(delta) has to be report on the reference state (cache) at commit time.

Specified by:
retainStatusForMerge in interface GenClassElement
Returns:
a byte indicating the retained status

getElemStatus

public byte getElemStatus()
Specified by:
getElemStatus in interface org.objectweb.jorm.api.PIndexedElem

pieGetStringElem

public java.lang.String pieGetStringElem()
                                  throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetStringElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetDateElem

public java.util.Date pieGetDateElem()
                              throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetDateElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetCharArrayElem

public char[] pieGetCharArrayElem()
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetCharArrayElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetByteArrayElem

public byte[] pieGetByteArrayElem()
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetByteArrayElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetSerializedElem

public java.io.Serializable pieGetSerializedElem()
                                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetSerializedElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetRefElem

public org.objectweb.jorm.naming.api.PName pieGetRefElem()
Specified by:
pieGetRefElem in interface org.objectweb.jorm.api.PIndexedElem

pieGetBooleanElem

public boolean pieGetBooleanElem()
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetBooleanElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetObooleanElem

public java.lang.Boolean pieGetObooleanElem()
                                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetObooleanElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetByteElem

public byte pieGetByteElem()
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetByteElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetObyteElem

public java.lang.Byte pieGetObyteElem()
                               throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetObyteElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetCharElem

public char pieGetCharElem()
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetCharElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOcharElem

public java.lang.Character pieGetOcharElem()
                                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOcharElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetShortElem

public short pieGetShortElem()
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetShortElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOshortElem

public java.lang.Short pieGetOshortElem()
                                 throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOshortElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetIntElem

public int pieGetIntElem()
                  throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetIntElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOintElem

public java.lang.Integer pieGetOintElem()
                                 throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOintElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetLongElem

public long pieGetLongElem()
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetLongElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOlongElem

public java.lang.Long pieGetOlongElem()
                               throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOlongElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetFloatElem

public float pieGetFloatElem()
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetFloatElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOfloatElem

public java.lang.Float pieGetOfloatElem()
                                 throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOfloatElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetDoubleElem

public double pieGetDoubleElem()
                        throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetDoubleElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOdoubleElem

public java.lang.Double pieGetOdoubleElem()
                                   throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOdoubleElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetBigDecimalElem

public java.math.BigDecimal pieGetBigDecimalElem()
                                          throws org.objectweb.jorm.api.PException
Specified by:
pieGetBigDecimalElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.api.PException

pieGetBigIntegerElem

public java.math.BigInteger pieGetBigIntegerElem()
                                          throws org.objectweb.jorm.api.PException
Specified by:
pieGetBigIntegerElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.api.PException

pieSetStringElem

public void pieSetStringElem(java.lang.String value)
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetStringElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetDateElem

public void pieSetDateElem(java.util.Date value)
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetDateElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetCharArrayElem

public void pieSetCharArrayElem(char[] value)
                         throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetCharArrayElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetByteArrayElem

public void pieSetByteArrayElem(byte[] value)
                         throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetByteArrayElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetSerializedElem

public void pieSetSerializedElem(java.io.Serializable value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetSerializedElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetRefElem

public void pieSetRefElem(org.objectweb.jorm.naming.api.PName value)
                   throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetRefElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetBooleanElem

public void pieSetBooleanElem(boolean value)
                       throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetBooleanElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetObooleanElem

public void pieSetObooleanElem(java.lang.Boolean value)
                        throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetObooleanElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetByteElem

public void pieSetByteElem(byte value)
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetByteElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetObyteElem

public void pieSetObyteElem(java.lang.Byte value)
                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetObyteElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetCharElem

public void pieSetCharElem(char value)
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetCharElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOcharElem

public void pieSetOcharElem(java.lang.Character value)
                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOcharElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetShortElem

public void pieSetShortElem(short value)
                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetShortElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOshortElem

public void pieSetOshortElem(java.lang.Short value)
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOshortElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetIntElem

public void pieSetIntElem(int value)
                   throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetIntElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOintElem

public void pieSetOintElem(java.lang.Integer value)
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOintElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetLongElem

public void pieSetLongElem(long value)
                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetLongElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOlongElem

public void pieSetOlongElem(java.lang.Long value)
                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOlongElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetFloatElem

public void pieSetFloatElem(float value)
                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetFloatElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOfloatElem

public void pieSetOfloatElem(java.lang.Float value)
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOfloatElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetDoubleElem

public void pieSetDoubleElem(double value)
                      throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetDoubleElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOdoubleElem

public void pieSetOdoubleElem(java.lang.Double value)
                       throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOdoubleElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetBigDecimalElem

public void pieSetBigDecimalElem(java.math.BigDecimal bigDecimal)
                          throws org.objectweb.jorm.api.PException
Specified by:
pieSetBigDecimalElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.api.PException

pieSetBigIntegerElem

public void pieSetBigIntegerElem(java.math.BigInteger value)
                          throws org.objectweb.jorm.api.PException
Specified by:
pieSetBigIntegerElem in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.api.PException

pieSetByteIndexField

public void pieSetByteIndexField(java.lang.String fn,
                                 byte value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetByteIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetObyteIndexField

public void pieSetObyteIndexField(java.lang.String fn,
                                  java.lang.Byte value)
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetObyteIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetCharIndexField

public void pieSetCharIndexField(java.lang.String fn,
                                 char value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetCharIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOcharIndexField

public void pieSetOcharIndexField(java.lang.String fn,
                                  java.lang.Character value)
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOcharIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetShortIndexField

public void pieSetShortIndexField(java.lang.String fn,
                                  short value)
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetShortIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOshortIndexField

public void pieSetOshortIndexField(java.lang.String fn,
                                   java.lang.Short value)
                            throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOshortIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetIntIndexField

public void pieSetIntIndexField(java.lang.String fn,
                                int value)
                         throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetIntIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOintIndexField

public void pieSetOintIndexField(java.lang.String fn,
                                 java.lang.Integer value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOintIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetLongIndexField

public void pieSetLongIndexField(java.lang.String fn,
                                 long value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetLongIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetOlongIndexField

public void pieSetOlongIndexField(java.lang.String fn,
                                  java.lang.Long value)
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetOlongIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetStringIndexField

public void pieSetStringIndexField(java.lang.String fn,
                                   java.lang.String value)
                            throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetStringIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieSetDateIndexField

public void pieSetDateIndexField(java.lang.String fn,
                                 java.util.Date value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieSetDateIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetShortIndexField

public short pieGetShortIndexField(java.lang.String fn)
                            throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetShortIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOshortIndexField

public java.lang.Short pieGetOshortIndexField(java.lang.String fn)
                                       throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOshortIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetLongIndexField

public long pieGetLongIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetLongIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOlongIndexField

public java.lang.Long pieGetOlongIndexField(java.lang.String fn)
                                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOlongIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetIntIndexField

public int pieGetIntIndexField(java.lang.String fn)
                        throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetIntIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOintIndexField

public java.lang.Integer pieGetOintIndexField(java.lang.String fn)
                                       throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOintIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetStringIndexField

public java.lang.String pieGetStringIndexField(java.lang.String fn)
                                        throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetStringIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetDateIndexField

public java.util.Date pieGetDateIndexField(java.lang.String fn)
                                    throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetDateIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetByteIndexField

public byte pieGetByteIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetByteIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetObyteIndexField

public java.lang.Byte pieGetObyteIndexField(java.lang.String fn)
                                     throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetObyteIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetCharIndexField

public char pieGetCharIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetCharIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

pieGetOcharIndexField

public java.lang.Character pieGetOcharIndexField(java.lang.String fn)
                                          throws org.objectweb.jorm.type.api.PExceptionTyping
Specified by:
pieGetOcharIndexField in interface org.objectweb.jorm.api.PIndexedElem
Throws:
org.objectweb.jorm.type.api.PExceptionTyping

setStatus

public void setStatus(byte s)
Description copied from interface: GenClassElement
Assignes the jorm status of the PIndexedElement

Specified by:
setStatus in interface GenClassElement
Parameters:
s - the new status

equals

public boolean equals(java.lang.Object o)