1 23 24 29 30 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope; 31 32 import com.sun.jdo.spi.persistence.utility.I18NHelper; 33 34 import com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type; 35 36 43 public class TypeName 44 extends Definition 45 { 46 49 protected String qualifiedName; 50 51 54 public TypeName(Type type, String qualifiedName) 55 { 56 super(type); 57 this.qualifiedName = qualifiedName; 58 } 59 60 63 public String getName() 64 { 65 return I18NHelper.getMessage(messages, "scope.classname.getname.name"); } 67 68 71 public String getQualifiedName() 72 { 73 return qualifiedName; 74 } 75 76 79 public String toString() 80 { 81 StringBuffer buf = new StringBuffer (); 82 buf.append("TypeName("); buf.append(scope); 84 buf.append(", "); buf.append(type); 86 buf.append(", "); buf.append(qualifiedName); 88 buf.append(")"); return buf.toString(); 90 } 91 } 92 | Popular Tags |