1 package de.webman.generator; 2 3 import com.teamkonzept.lib.*; 4 5 16 class ReferenceType 17 { 18 19 22 private GeneratorContext context; 23 24 25 private TKVector typeList; 26 27 30 ReferenceType(GeneratorContext context) 31 { 32 this.context = context != null ? context : GeneratorContext.setup (); 33 34 typeList = new TKVector(1); 35 } 36 37 40 public void addType( int type ) 41 { 42 typeList.addElement( new Integer ( type ) ); 43 } 44 45 49 public boolean contains( int type ) 50 { 51 return typeList.contains( new Integer ( type ) ); 52 } 53 54 public String toString() 55 { 56 return "presentations = "+typeList; 57 } 58 } 59 60 | Popular Tags |