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 ResourceBundlemessagesI18N supportprotected intscopeScope level of the definitionprotected TypetypeType 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 StringgetName()Returns the name of the definition.intgetScope()Returns the scope of the identifier's definition.TypegetType()Returns the type of the identifiers's definition.voidsetScope(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.
-
-