1 28 package org.objectweb.jonas_ejb.container.jorm; 29 30 import org.objectweb.jorm.api.PException; 31 32 38 public class CollectionElement extends GenClassElement { 39 40 private int index = -1; 41 42 45 public CollectionElement(GenClassImpl gc, int idx) { 46 super(gc); 47 index = idx; 48 } 49 50 53 public int pieGetIntIndexField(String fn) throws PException { 54 return index; 55 } 56 57 60 public void pieSetIntIndexField(String fn, int value) throws PException { 61 index = value; 62 } 63 } 64 | Popular Tags |