Class Definition
- java.lang.Object
-
- com.sun.jdo.spi.persistence.support.sqlstore.query.util.scope.Definition
-
-
Field Summary
Fields Modifier and Type Field Description protected static ResourceBundle
messages
I18N supportprotected int
scope
Scope level of the definitionprotected Type
type
Type of the identifier
-
Constructor Summary
Constructors Constructor Description Definition(Type type)
Creates a new definition.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract String
getName()
Returns the name of the definition.int
getScope()
Returns the scope of the identifier's definition.Type
getType()
Returns the type of the identifiers's definition.void
setScope(int scope)
Set the scope of the identifier's definition.
-
-
-
Field Detail
-
messages
protected static final ResourceBundle messages
I18N support
-
scope
protected int scope
Scope level of the definition
-
type
protected Type type
Type of the identifier
-
-
Constructor Detail
-
Definition
public Definition(Type type)
Creates a new definition. A definition contains at least the type of the identifier.- Parameters:
type
- type of the declared identifier
-
-
Method Detail
-
setScope
public void setScope(int scope)
Set the scope of the identifier's definition.
-
getScope
public int getScope()
Returns the scope of the identifier's definition.
-
getType
public Type getType()
Returns the type of the identifiers's definition.
-
getName
public abstract String getName()
Returns the name of the definition.
-
-