|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.statement.Statement
org.quattor.pan.statement.TypeStatement
public class TypeStatement
Associates a name with a FullType definition. A type can only be defined once per machine profile.
| Constructor Summary | |
|---|---|
TypeStatement(SourceRange sourceRange,
java.lang.String name,
FullType fullType)
Creates a TypeStatement which associates a name to a FullType. |
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context. |
java.lang.String |
getName()
Retrieve the name of the defined type. |
java.lang.String |
toString()
Return a reasonable string representation of this statement. |
| Methods inherited from class org.quattor.pan.statement.Statement |
|---|
getSourceRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypeStatement(SourceRange sourceRange,
java.lang.String name,
FullType fullType)
sourceRange - source location of this statementname - String giving the name of this typefullType - type definition| Method Detail |
|---|
public java.lang.String getName()
public void execute(Context context)
Statement
execute in class Statementcontext - DML context to use for the evalution of this statementpublic 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 | |||||||||