1 18 package org.objectweb.speedo.genclass.collection; 19 20 import org.objectweb.jorm.type.api.PExceptionTyping; 21 import org.objectweb.speedo.genclass.GenClassAccessor; 22 import org.objectweb.speedo.genclass.GenClassElement; 23 24 28 public class SetElem extends CollectionElem { 29 30 public SetElem(GenClassAccessor gca) { 31 super(gca); 32 } 33 public GenClassElement cloneGCE() { 34 return cloneGCE(new SetElem(gca)); 35 } 36 37 42 public final static String ERROR_MESSAGE_NO_INDEX = 43 "A set has no index"; 44 45 49 public void pieSetByteIndexField(String fn, byte value) throws PExceptionTyping { 50 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 51 } 52 53 public void pieSetCharIndexField(String fn, char value) throws PExceptionTyping { 54 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 55 } 56 57 public void pieSetShortIndexField(String fn, short value) throws PExceptionTyping { 58 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 59 } 60 61 public void pieSetIntIndexField(String fn, int value) throws PExceptionTyping { 62 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 63 } 64 65 public void pieSetLongIndexField(String fn, long value) throws PExceptionTyping { 66 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 67 } 68 69 public void pieSetStringIndexField(String fn, String value) throws PExceptionTyping { 70 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 71 } 72 73 public short pieGetShortIndexField(String fn) throws PExceptionTyping { 74 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 75 } 76 77 public long pieGetLongIndexField(String fn) throws PExceptionTyping { 78 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 79 } 80 81 public int pieGetIntIndexField(String fn) throws PExceptionTyping { 82 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 83 } 84 85 public String pieGetStringIndexField(String fn) throws PExceptionTyping { 86 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 87 } 88 89 public byte pieGetByteIndexField(String fn) throws PExceptionTyping { 90 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 91 } 92 93 public char pieGetCharIndexField(String fn) throws PExceptionTyping { 94 throw new PExceptionTyping(ERROR_MESSAGE_NO_INDEX); 95 } 96 } 97
| Popular Tags
|