4 public class TempDescriptor extends Descriptor {
5 static int currentid=0;
10 public TempDescriptor(String name) {
15 public TempDescriptor(String name, TypeDescriptor td) {
20 public static TempDescriptor tempFactory() {
21 return new TempDescriptor("temp_"+currentid);
24 public static TempDescriptor tempFactory(String name) {
25 return new TempDescriptor(name+currentid);
28 public static TempDescriptor tempFactory(String name, TypeDescriptor td) {
29 return new TempDescriptor(name+currentid,td);
33 public String toString() {
37 public void setType(TypeDescriptor td) {
41 public TypeDescriptor getType() {