|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.metadata.Declaration
public abstract class Declaration
Abstract base class for all declarations.
| Field Summary | |
|---|---|
static int |
ARGUMENT_CONSTRUCTOR
|
static int |
CLASS_NAME
|
static int |
DESCRIPTOR
|
static int |
GENERATED_CLASS_NAME
|
static int |
POINTER_TYPE
|
static int |
SQL_ARG_COLON
|
static int |
SQL_ARG_DOLLAR
|
static int |
SQL_ARG_NONE
|
static int |
SQL_ARG_QUESTION_MARK
|
| Constructor Summary | |
|---|---|
Declaration(java.lang.String name)
Creates a new declaration. |
|
| Method Summary | |
|---|---|
Description |
getDescription()
|
Module |
getModule()
Returns the module in which the declaration occurs. |
java.lang.String |
getName()
Returns the name of the declaration. |
abstract java.lang.String |
name(int variant)
Returns different names depending on variant for the code
generator. |
void |
setDescription(Description descr)
|
void |
setModule(Module module)
Sets the owning module of this declaration. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DESCRIPTOR
public static final int POINTER_TYPE
public static final int CLASS_NAME
public static final int GENERATED_CLASS_NAME
public static final int ARGUMENT_CONSTRUCTOR
public static final int SQL_ARG_NONE
public static final int SQL_ARG_DOLLAR
public static final int SQL_ARG_COLON
public static final int SQL_ARG_QUESTION_MARK
| Constructor Detail |
|---|
public Declaration(java.lang.String name)
java.lang.IllegalArgumentException - if name is null.| Method Detail |
|---|
public final java.lang.String getName()
public final Module getModule()
public void setModule(Module module)
public final Description getDescription()
public final void setDescription(Description descr)
public abstract java.lang.String name(int variant)
variant for the code
generator.
java.lang.IllegalArgumentException - if variant is unknown.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||