public interface JDBCStorableProperty<S extends Storable> extends StorableProperty<S>
Storable type as needed by JDBCRepository.JDBCStorableIntrospector| Modifier and Type | Method and Description |
|---|---|
StorablePropertyAdapter |
getAppliedAdapter()
Returns the adapter that needs to be applied to properties returned from
ResultSets and set into PreparedStatements.
|
java.lang.Integer |
getCharOctetLength()
Returns the maximum amount of bytes for property value.
|
java.lang.String |
getColumnName()
Returns the table column for this property.
|
java.lang.Integer |
getColumnSize()
The column size is either the maximum number of characters or the
numeric precision.
|
java.lang.Integer |
getDataType()
Returns the data type as defined by
Types. |
java.lang.String |
getDataTypeName()
Returns the data type name.
|
java.lang.Integer |
getDecimalDigits()
Returns the amount of fractional decimal digits.
|
JDBCStorableProperty<?> |
getExternalJoinElement(int index)
Returns a specific property in the joined class that participates in the
join.
|
JDBCStorableProperty<?>[] |
getExternalJoinElements()
Returns a new array with all the external join elements in it.
|
JDBCStorableProperty<S> |
getInternalJoinElement(int index)
Returns a specific property in this property's class that participates
in the join.
|
JDBCStorableProperty<S>[] |
getInternalJoinElements()
Returns a new array with all the internal join elements in it.
|
java.lang.Integer |
getOrdinalPosition()
Returns the one-based index of the column in the table.
|
java.lang.reflect.Method |
getPreparedStatementSetMethod()
Returns the method to use to set this property (by index) into a
PreparedStatement.
|
java.lang.reflect.Method |
getResultSetGetMethod()
Returns the method to use to access this property (by index) from a
ResultSet.
|
boolean |
isAutoIncrement()
Returns true if property is declared as @Automatic and column is
designated as auto-increment.
|
boolean |
isColumnNullable() |
boolean |
isSelectable()
Returns true if property is both supported and not a join.
|
boolean |
isSupported()
Returns false only if property is independent and no matching column was
found.
|
getAdapter, getAlias, getAliasCount, getAliases, getBeanName, getConstraint, getConstraintCount, getConstraints, getCovariantTypes, getDerivedFromProperties, getDerivedToProperties, getEnclosingType, getJoinedType, getJoinElementCount, getName, getNumber, getReadMethod, getReadMethodName, getSequenceName, getType, getWriteMethod, getWriteMethodName, isAlternateKeyMember, isAutomatic, isDerived, isIndependent, isJoin, isNullable, isOneToOneJoin, isPartitionKeyMember, isPrimaryKeyMember, isQuery, isVersion, shouldCopyDerived, toStringboolean isSupported()
boolean isSelectable()
boolean isAutoIncrement()
java.lang.String getColumnName()
java.lang.Integer getDataType()
Types.java.lang.String getDataTypeName()
boolean isColumnNullable()
java.lang.reflect.Method getResultSetGetMethod()
java.lang.reflect.Method getPreparedStatementSetMethod()
StorablePropertyAdapter getAppliedAdapter()
java.lang.Integer getColumnSize()
java.lang.Integer getDecimalDigits()
java.lang.Integer getCharOctetLength()
java.lang.Integer getOrdinalPosition()
JDBCStorableProperty<S> getInternalJoinElement(int index)
StorablePropertygetInternalJoinElement in interface StorableProperty<S extends Storable>JDBCStorableProperty<S>[] getInternalJoinElements()
StorablePropertygetInternalJoinElements in interface StorableProperty<S extends Storable>JDBCStorableProperty<?> getExternalJoinElement(int index)
StorablePropertygetExternalJoinElement in interface StorableProperty<S extends Storable>JDBCStorableProperty<?>[] getExternalJoinElements()
StorablePropertygetExternalJoinElements in interface StorableProperty<S extends Storable>Copyright © 2006-2013 Amazon Technologies, Inc.. All Rights Reserved.