|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectsf.qof.parser.ResultDefinitionImpl
public class ResultDefinitionImpl
Default implementation of a result definition.
| Constructor Summary | |
|---|---|
ResultDefinitionImpl()
|
|
| Method Summary | |
|---|---|
String[] |
getColumns()
Returns an array of SQL column names. |
int |
getConstructorParameter()
Returns the index of a parameter in a constructor. |
String |
getField()
Returns the name a field if the result is a Java bean. |
int[] |
getIndexes()
Returns an array of SQL column indexes. |
String |
getPartialDefinitionGroup()
Returns group name of the partial definition or null. |
int |
getPartialDefinitionPart()
Returns the part number of the partial definition. |
String |
getType()
Returns the type of the parameter (string, int, etc.). |
boolean |
isMapKey()
Returns true if the result definition is for the key if the result is a map. |
boolean |
isPartialDefinition()
Returns true is the definition is a partial definition that needs to be combined. |
void |
setColumns(String[] columns)
|
void |
setConstructorParameter(int parameter)
|
void |
setField(String field)
|
void |
setIndexes(int[] indexes)
|
void |
setIsMapKey(boolean isMapKey)
|
void |
setPartialDefinitionGroup(String partialDefinitionGroup)
|
void |
setPartialDefinitionPart(int partialDefinitionPart)
|
void |
setType(String type)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResultDefinitionImpl()
| Method Detail |
|---|
public String[] getColumns()
ResultDefinition
getColumns in interface ResultDefinitionpublic String getField()
ResultDefinition
getField in interface ResultDefinitionpublic int getConstructorParameter()
ResultDefinition
getConstructorParameter in interface ResultDefinitionpublic int[] getIndexes()
ResultDefinition
getIndexes in interface ResultDefinitionpublic String getType()
Definition
getType in interface Definitionpublic void setColumns(String[] columns)
public void setField(String field)
public void setConstructorParameter(int parameter)
public void setIndexes(int[] indexes)
public void setType(String type)
public void setIsMapKey(boolean isMapKey)
public String toString()
toString in class Objectpublic boolean isMapKey()
ResultDefinition
isMapKey in interface ResultDefinitionpublic String getPartialDefinitionGroup()
Definition
getPartialDefinitionGroup in interface Definitionpublic void setPartialDefinitionGroup(String partialDefinitionGroup)
public int getPartialDefinitionPart()
Definition
getPartialDefinitionPart in interface Definitionpublic void setPartialDefinitionPart(int partialDefinitionPart)
public boolean isPartialDefinition()
Definition
isPartialDefinition in interface Definition
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||