|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
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 ResultDefinition
public String getField()
ResultDefinition
getField
in interface ResultDefinition
public int getConstructorParameter()
ResultDefinition
getConstructorParameter
in interface ResultDefinition
public int[] getIndexes()
ResultDefinition
getIndexes
in interface ResultDefinition
public String getType()
Definition
getType
in interface Definition
public 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 Object
public boolean isMapKey()
ResultDefinition
isMapKey
in interface ResultDefinition
public String getPartialDefinitionGroup()
Definition
getPartialDefinitionGroup
in interface Definition
public void setPartialDefinitionGroup(String partialDefinitionGroup)
public int getPartialDefinitionPart()
Definition
getPartialDefinitionPart
in interface Definition
public void setPartialDefinitionPart(int partialDefinitionPart)
public boolean isPartialDefinition()
Definition
isPartialDefinition
in interface Definition
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |