|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.persistence.query.sql.SQLValueReference
public class SQLValueReference
INTERNAL: A reference to another SQLValueIF. Note that the SQLValueIF must be referenceable (e.g. have an alias).
| Field Summary | |
|---|---|
protected String |
alias
|
protected SQLValueIF |
refvalue
|
| Fields inherited from interface net.ontopia.persistence.query.sql.SQLValueIF |
|---|
COLUMNS, FUNCTION, NULL, PARAMETER, PRIMITIVE, TUPLE, VERBATIM |
| Constructor Summary | |
|---|---|
SQLValueReference(SQLValueIF refvalue)
|
|
| Method Summary | |
|---|---|
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. |
FieldHandlerIF |
getFieldHandler()
INTERNAL: Returns the field handler for the columns. |
SQLValueIF |
getReference()
INTERNAL: Returns the referenced value if one exists. |
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SQLValueIF refvalue
protected String alias
| Constructor Detail |
|---|
public SQLValueReference(SQLValueIF refvalue)
| Method Detail |
|---|
public int getType()
SQLValueIFSQLValueIF interface.
getType in interface SQLValueIFpublic int getArity()
SQLValueIF
getArity in interface SQLValueIFpublic int getValueArity()
SQLValueIF
getValueArity in interface SQLValueIFpublic String getAlias()
SQLValueIF
getAlias in interface SQLValueIFpublic void setAlias(String alias)
SQLValueIF
setAlias in interface SQLValueIFpublic boolean isReference()
SQLValueIF
isReference in interface SQLValueIFpublic SQLValueIF getReference()
SQLValueIF
getReference in interface SQLValueIFpublic Class getValueType()
SQLValueIF
getValueType in interface SQLValueIFpublic void setValueType(Class vtype)
SQLValueIF
setValueType in interface SQLValueIFpublic FieldHandlerIF getFieldHandler()
SQLValueIF
getFieldHandler in interface SQLValueIFpublic void setFieldHandler(FieldHandlerIF fhandler)
SQLValueIF
setFieldHandler in interface SQLValueIFpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||