public class SQLColumns extends Object implements SQLValueIF
Modifier and Type | Field and Description |
---|---|
protected String |
alias |
protected String[] |
cols |
protected static FieldHandlerIF |
DEFAULT_FIELD_HANDLER |
protected static Class |
DEFAULT_VALUE_TYPE |
protected FieldHandlerIF |
fhandler |
protected SQLTable |
table |
protected Class |
vtype |
Constructor and Description |
---|
SQLColumns(SQLTable table,
String col) |
SQLColumns(SQLTable table,
String[] cols) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAlias()
INTERNAL: The column alias to use if this value is
included in the projection.
|
int |
getArity()
INTERNAL: Returns the [column] arity of the value.
|
String[] |
getColumns() |
FieldHandlerIF |
getFieldHandler()
INTERNAL: Returns the field handler for the columns.
|
SQLValueIF |
getReference()
INTERNAL: Returns the referenced value if one exists.
|
SQLTable |
getTable() |
int |
getType()
INTERNAL: Returns the value class type.
|
int |
getValueArity()
INTERNAL: Returns the value arity of the value.
|
Class |
getValueType()
INTERNAL: Returns the value type.
|
int |
hashCode() |
boolean |
isReference()
INTERNAL: Returns true if this value is a reference to another.
|
void |
setAlias(String alias)
INTERNAL: Sets the column alias.
|
void |
setFieldHandler(FieldHandlerIF fhandler)
INTERNAL: Sets the field handler for the value.
|
void |
setValueType(Class vtype)
INTERNAL: Sets the value type.
|
String |
toString() |
protected static final Class DEFAULT_VALUE_TYPE
protected static final FieldHandlerIF DEFAULT_FIELD_HANDLER
protected SQLTable table
protected String[] cols
protected String alias
protected Class vtype
protected FieldHandlerIF fhandler
public int getType()
SQLValueIF
SQLValueIF
interface.getType
in interface SQLValueIF
public int getArity()
SQLValueIF
getArity
in interface SQLValueIF
public int getValueArity()
SQLValueIF
getValueArity
in interface SQLValueIF
public String getAlias()
SQLValueIF
getAlias
in interface SQLValueIF
public void setAlias(String alias)
SQLValueIF
setAlias
in interface SQLValueIF
public boolean isReference()
SQLValueIF
isReference
in interface SQLValueIF
public SQLValueIF getReference()
SQLValueIF
getReference
in interface SQLValueIF
public SQLTable getTable()
public String[] getColumns()
public Class getValueType()
SQLValueIF
getValueType
in interface SQLValueIF
public void setValueType(Class vtype)
SQLValueIF
setValueType
in interface SQLValueIF
public FieldHandlerIF getFieldHandler()
getFieldHandler
in interface SQLValueIF
public void setFieldHandler(FieldHandlerIF fhandler)
SQLValueIF
setFieldHandler
in interface SQLValueIF