public RecordContainer getRecord(int typeId) {
   final int PRIMITIVE_TYPES_COUNT = 6;
   return (RecordContainer) records.elementAt(typeId - PRIMITIVE_TYPES_COUNT);
 }
 public void addRecord(RecordContainer record) {
   records.addElement(record);
 }