|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.netflix.astyanax.mapping.DefaultAnnotationSet
@Deprecated public class DefaultAnnotationSet
The default annotation set. Supports Id
and Column
Constructor Summary | |
---|---|
DefaultAnnotationSet()
Deprecated. |
Method Summary | |
---|---|
java.lang.Class<Column> |
getColumnAnnotation()
Deprecated. |
java.lang.String |
getColumnName(java.lang.reflect.Field field,
Column annotation)
Deprecated. Return the column name to use for the given field. |
java.lang.Class<Id> |
getIdAnnotation()
Deprecated. |
java.lang.String |
getIdName(java.lang.reflect.Field field,
Id annotation)
Deprecated. Return the ID/Key name to use |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultAnnotationSet()
Method Detail |
---|
public java.lang.Class<Id> getIdAnnotation()
getIdAnnotation
in interface AnnotationSet<Id,Column>
public java.lang.Class<Column> getColumnAnnotation()
getColumnAnnotation
in interface AnnotationSet<Id,Column>
public java.lang.String getIdName(java.lang.reflect.Field field, Id annotation)
AnnotationSet
getIdName
in interface AnnotationSet<Id,Column>
field
- the field from the beanannotation
- the id annotation
public java.lang.String getColumnName(java.lang.reflect.Field field, Column annotation)
AnnotationSet
null
.
getColumnName
in interface AnnotationSet<Id,Column>
field
- the field from the beanannotation
- the column annotation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |