|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JDBCStorableProperty<S extends Storable>
Contains all the metadata describing a property of a specific Storable type as needed by JDBCRepository.
JDBCStorableIntrospector| Method Summary | |
|---|---|
StorablePropertyAdapter |
getAppliedAdapter()
Returns the adapter that needs to be applied to properties returned from ResultSets and set into PreparedStatements. |
Integer |
getCharOctetLength()
Returns the maximum amount of bytes for property value. |
String |
getColumnName()
Returns the table column for this property. |
Integer |
getColumnSize()
The column size is either the maximum number of characters or the numeric precision. |
Integer |
getDataType()
Returns the data type as defined by Types. |
String |
getDataTypeName()
Returns the data type name. |
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. |
Integer |
getOrdinalPosition()
Returns the one-based index of the column in the table. |
Method |
getPreparedStatementSetMethod()
Returns the method to use to set this property (by index) into a PreparedStatement. |
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. |
| Methods inherited from interface com.amazon.carbonado.info.StorableProperty |
|---|
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, isPrimaryKeyMember, isQuery, isVersion, shouldCopyDerived, toString |
| Methods inherited from interface com.amazon.carbonado.util.Appender |
|---|
appendTo |
| Method Detail |
|---|
boolean isSupported()
boolean isSelectable()
boolean isAutoIncrement()
String getColumnName()
Integer getDataType()
Types.
String getDataTypeName()
boolean isColumnNullable()
Method getResultSetGetMethod()
Method getPreparedStatementSetMethod()
StorablePropertyAdapter getAppliedAdapter()
Integer getColumnSize()
Integer getDecimalDigits()
Integer getCharOctetLength()
Integer getOrdinalPosition()
JDBCStorableProperty<S> getInternalJoinElement(int index)
StorableProperty
getInternalJoinElement in interface StorableProperty<S extends Storable>JDBCStorableProperty<S>[] getInternalJoinElements()
StorableProperty
getInternalJoinElements in interface StorableProperty<S extends Storable>JDBCStorableProperty<?> getExternalJoinElement(int index)
StorableProperty
getExternalJoinElement in interface StorableProperty<S extends Storable>JDBCStorableProperty<?>[] getExternalJoinElements()
StorableProperty
getExternalJoinElements in interface StorableProperty<S extends Storable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||