org.objectweb.speedo.runtime.genclass.collection
Class SetElem

org.objectweb.speedo.runtime.genclass.collection.CollectionElem
  |
  +--org.objectweb.speedo.runtime.genclass.collection.SetElem
All Implemented Interfaces:
GenClassElement

public class SetElem
extends CollectionElem

Author:
Sebastien Chassande-Barrioz

Field Summary
static java.lang.String ERROR_MESSAGE_NO_INDEX
          The error message thrown when an accessor method associated to an index is called.
 
Fields inherited from class org.objectweb.speedo.runtime.genclass.collection.CollectionElem
element, ERROR_MESSAGE_BAD_FIELD_NAME, ERROR_MESSAGE_NO_NULL_INDEX, index, INDEX_FIELD_NAME, status
 
Constructor Summary
SetElem()
           
 
Method Summary
 byte pieGetByteIndexField(java.lang.String fn)
           
 char pieGetCharIndexField(java.lang.String fn)
           
 int pieGetIntIndexField(java.lang.String fn)
           
 long pieGetLongIndexField(java.lang.String fn)
           
 short pieGetShortIndexField(java.lang.String fn)
           
 java.lang.String pieGetStringIndexField(java.lang.String fn)
           
 void pieSetByteIndexField(java.lang.String fn, byte value)
           
 void pieSetCharIndexField(java.lang.String fn, char value)
           
 void pieSetIntIndexField(java.lang.String fn, int value)
           
 void pieSetLongIndexField(java.lang.String fn, long value)
           
 void pieSetShortIndexField(java.lang.String fn, short value)
           
 void pieSetStringIndexField(java.lang.String fn, java.lang.String value)
           
 
Methods inherited from class org.objectweb.speedo.runtime.genclass.collection.CollectionElem
equals, getElement, getElemStatus, getIndex, getRefElement, hashCode, pieGetBigDecimalElem, pieGetBooleanElem, pieGetByteArrayElem, pieGetByteElem, pieGetCharArrayElem, pieGetCharElem, pieGetDateElem, pieGetDateIndexField, pieGetDoubleElem, pieGetFloatElem, pieGetIntElem, pieGetLongElem, pieGetObooleanElem, pieGetObyteElem, pieGetObyteIndexField, pieGetOcharElem, pieGetOcharIndexField, pieGetOdoubleElem, pieGetOfloatElem, pieGetOintElem, pieGetOintIndexField, pieGetOlongElem, pieGetOlongIndexField, pieGetOshortElem, pieGetOshortIndexField, pieGetRefElem, pieGetSerializedElem, pieGetShortElem, pieGetStringElem, pieSetBigDecimalElem, pieSetBooleanElem, pieSetByteArrayElem, pieSetByteElem, pieSetCharArrayElem, pieSetCharElem, pieSetDateElem, pieSetDateIndexField, pieSetDoubleElem, pieSetFloatElem, pieSetIntElem, pieSetLongElem, pieSetObooleanElem, pieSetObyteElem, pieSetObyteIndexField, pieSetOcharElem, pieSetOcharIndexField, pieSetOdoubleElem, pieSetOfloatElem, pieSetOintElem, pieSetOintIndexField, pieSetOlongElem, pieSetOlongIndexField, pieSetOshortElem, pieSetOshortIndexField, pieSetRefElem, pieSetSerializedElem, pieSetShortElem, pieSetStringElem, setElement, setIndex, setStatus
 

Field Detail

ERROR_MESSAGE_NO_INDEX

public static final java.lang.String ERROR_MESSAGE_NO_INDEX
The error message thrown when an accessor method associated to an index is called. Indeed a set does not need index because all element must be unique and they are not ordered.
Constructor Detail

SetElem

public SetElem()
Method Detail

pieSetByteIndexField

public void pieSetByteIndexField(java.lang.String fn,
                                 byte value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetByteIndexField in class CollectionElem

pieSetCharIndexField

public void pieSetCharIndexField(java.lang.String fn,
                                 char value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetCharIndexField in class CollectionElem

pieSetShortIndexField

public void pieSetShortIndexField(java.lang.String fn,
                                  short value)
                           throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetShortIndexField in class CollectionElem

pieSetIntIndexField

public void pieSetIntIndexField(java.lang.String fn,
                                int value)
                         throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetIntIndexField in class CollectionElem

pieSetLongIndexField

public void pieSetLongIndexField(java.lang.String fn,
                                 long value)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetLongIndexField in class CollectionElem

pieSetStringIndexField

public void pieSetStringIndexField(java.lang.String fn,
                                   java.lang.String value)
                            throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieSetStringIndexField in class CollectionElem

pieGetShortIndexField

public short pieGetShortIndexField(java.lang.String fn)
                            throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetShortIndexField in class CollectionElem

pieGetLongIndexField

public long pieGetLongIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetLongIndexField in class CollectionElem

pieGetIntIndexField

public int pieGetIntIndexField(java.lang.String fn)
                        throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetIntIndexField in class CollectionElem

pieGetStringIndexField

public java.lang.String pieGetStringIndexField(java.lang.String fn)
                                        throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetStringIndexField in class CollectionElem

pieGetByteIndexField

public byte pieGetByteIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetByteIndexField in class CollectionElem

pieGetCharIndexField

public char pieGetCharIndexField(java.lang.String fn)
                          throws org.objectweb.jorm.type.api.PExceptionTyping
Overrides:
pieGetCharIndexField in class CollectionElem