1 23 24 29 30 package com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope; 31 32 import java.util.ResourceBundle ; 33 34 import com.sun.jdo.spi.persistence.utility.I18NHelper; 35 36 import com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type; 37 38 44 public abstract class Definition 45 { 46 49 protected final static ResourceBundle messages = 50 I18NHelper.loadBundle(Definition.class); 51 52 55 protected int scope; 56 57 60 protected Type type; 61 62 67 public Definition (Type type) 68 { 69 this.type = type; 70 } 71 72 75 public void setScope(int scope) 76 { 77 this.scope = scope; 78 } 79 80 83 public int getScope() 84 { 85 return scope; 86 } 87 88 91 public Type getType() 92 { 93 return type; 94 } 95 96 99 public abstract String getName(); 100 } 101 | Popular Tags |