LocatedPrototype.java
src/net/sourceforge/pain/data/prototype/LocatedPrototype.java · 750 B
From the archive pain_0_41.zip
Download the archive « Back to the archive contents
package net.sourceforge.pain.data.prototype;
import net.sourceforge.pain.data.*;
import net.sourceforge.pain.data.type.*;
import net.sourceforge.pain.db.*;
public final class LocatedPrototype extends Prototype {
public static final int NFIELDS = LAST_BASE_FIELD_INDEX + 1;
public LocatedPrototype(PainDB db) throws Exception {
super(db);
}
public LocatedPrototype() {
}
public DbClassSchema provideSchema() {
byte types[] = new byte[NFIELDS];
String names[] = new String[NFIELDS];
fillSuperSchema(types, names);
return new DbClassSchema(types, names);
}
public Class getPrototypedRoleClass() {
return Located.class;
}
public String toString() {
return "no fields to show";
}
}