FileDocCategorySizeDatePackage
Definition.javaAPI DocGlassfish v2 API3431Fri May 04 22:35:08 BST 2007com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope

Definition

public abstract class Definition extends Object
Super class of all possible identifier definitions
author
Michael Bouschen
version
0.1

Fields Summary
protected static final ResourceBundle
messages
I18N support
protected int
scope
Scope level of the definition
protected com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type
type
Type of the identifier
Constructors Summary
public Definition(com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.Type type)
Creates a new definition. A definition contains at least the type of the identifier.

param
type type of the declared identifier


                              
       
    
        this.type = type;
    
Methods Summary
public abstract java.lang.StringgetName()
Returns the name of the definition.

public intgetScope()
Returns the scope of the identifier's definition.

        return scope;
    
public com.sun.jdo.spi.persistence.support.sqlstore.query.util.type.TypegetType()
Returns the type of the identifiers's definition.

        return type;
    
public voidsetScope(int scope)
Set the scope of the identifier's definition.

        this.scope = scope;