org.ow2.jonas.lib.ejb21.jorm
Class CollectionElement

java.lang.Object
  extended by org.ow2.jonas.lib.ejb21.jorm.GenClassElement
      extended by org.ow2.jonas.lib.ejb21.jorm.CollectionElement
All Implemented Interfaces:
org.objectweb.jorm.api.PIndexedElem

public class CollectionElement
extends GenClassElement

This class is a specialization of the GenClassElement with an index to distinguish the dupicated element.

Author:
S.Chassande-Barrioz

Field Summary
 
Fields inherited from class org.ow2.jonas.lib.ejb21.jorm.GenClassElement
gc, hasBeenCreated, pname, status, value
 
Fields inherited from interface org.objectweb.jorm.api.PIndexedElem
ELEM_CREATED, ELEM_DELETED, ELEM_MODIFIED, ELEM_UNMODIFIED
 
Constructor Summary
CollectionElement(GenClassImpl gc, int idx)
          It builds a CollectionElement with the specified index.
 
Method Summary
 int pieGetIntIndexField(String fn)
          There is a single index, then the index field name is not used
 void pieSetIntIndexField(String fn, int value)
          There is a single index, then the index field name is not used
 
Methods inherited from class org.ow2.jonas.lib.ejb21.jorm.GenClassElement
getElemStatus, pieGetBigDecimalElem, pieGetBigIntegerElem, pieGetBooleanElem, pieGetByteArrayElem, pieGetByteElem, pieGetByteIndexField, pieGetCharArrayElem, pieGetCharElem, pieGetCharIndexField, pieGetDateElem, pieGetDateIndexField, pieGetDoubleElem, pieGetFloatElem, pieGetIntElem, pieGetLongElem, pieGetLongIndexField, pieGetObooleanElem, pieGetObyteElem, pieGetObyteIndexField, pieGetOcharElem, pieGetOcharIndexField, pieGetOdoubleElem, pieGetOfloatElem, pieGetOintElem, pieGetOintIndexField, pieGetOlongElem, pieGetOlongIndexField, pieGetOshortElem, pieGetOshortIndexField, pieGetRefElem, pieGetSerializedElem, pieGetShortElem, pieGetShortIndexField, pieGetStringElem, pieGetStringIndexField, pieSetBigDecimalElem, pieSetBigIntegerElem, pieSetBooleanElem, pieSetByteArrayElem, pieSetByteElem, pieSetByteIndexField, pieSetCharArrayElem, pieSetCharElem, pieSetCharIndexField, pieSetDateElem, pieSetDateIndexField, pieSetDoubleElem, pieSetFloatElem, pieSetIntElem, pieSetLongElem, pieSetLongIndexField, pieSetObooleanElem, pieSetObyteElem, pieSetObyteIndexField, pieSetOcharElem, pieSetOcharIndexField, pieSetOdoubleElem, pieSetOfloatElem, pieSetOintElem, pieSetOintIndexField, pieSetOlongElem, pieSetOlongIndexField, pieSetOshortElem, pieSetOshortIndexField, pieSetRefElem, pieSetSerializedElem, pieSetShortElem, pieSetShortIndexField, pieSetStringElem, pieSetStringIndexField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionElement

public CollectionElement(GenClassImpl gc,
                         int idx)
It builds a CollectionElement with the specified index.

Method Detail

pieGetIntIndexField

public int pieGetIntIndexField(String fn)
                        throws org.objectweb.jorm.api.PException
There is a single index, then the index field name is not used

Specified by:
pieGetIntIndexField in interface org.objectweb.jorm.api.PIndexedElem
Overrides:
pieGetIntIndexField in class GenClassElement
Throws:
org.objectweb.jorm.api.PException

pieSetIntIndexField

public void pieSetIntIndexField(String fn,
                                int value)
                         throws org.objectweb.jorm.api.PException
There is a single index, then the index field name is not used

Specified by:
pieSetIntIndexField in interface org.objectweb.jorm.api.PIndexedElem
Overrides:
pieSetIntIndexField in class GenClassElement
Throws:
org.objectweb.jorm.api.PException


Copyright © 2010 OW2 Consortium. All Rights Reserved.