public abstract class AbstractSimpleValue extends Object implements SimpleValue
SimpleValue
implementations.Value.JdbcCodes
Modifier | Constructor and Description |
---|---|
protected |
AbstractSimpleValue(TableSpecification table,
int position) |
Modifier and Type | Method and Description |
---|---|
Datatype |
getDatatype()
Retrieve the datatype of this value.
|
int |
getPosition() |
TableSpecification |
getTable()
Retrieve the table that owns this value.
|
void |
setDatatype(Datatype datatype)
Set the datatype of this value.
|
void |
validateJdbcTypes(Value.JdbcCodes typeCodes)
Validate the value against the incoming JDBC type code array, both in terms of number of types
and compatibility of types.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlias
toLoggableString
protected AbstractSimpleValue(TableSpecification table, int position)
public TableSpecification getTable()
Value
public int getPosition()
public Datatype getDatatype()
SimpleValue
getDatatype
in interface SimpleValue
public void setDatatype(Datatype datatype)
SimpleValue
setDatatype
in interface SimpleValue
datatype
- The value's datatypepublic void validateJdbcTypes(Value.JdbcCodes typeCodes)
Value
validateJdbcTypes
in interface Value
typeCodes
- The type codes.Copyright © 2018 JBoss by Red Hat. All rights reserved.