Class IdAnnotationDefinitionParser

java.lang.Object
me.ahoo.cosid.spring.data.jdbc.IdAnnotationDefinitionParser
All Implemented Interfaces:
FieldDefinitionParser

public class IdAnnotationDefinitionParser extends Object implements FieldDefinitionParser
Id Annotation FieldDefinitionParser.
See Also:
  • Id
  • Field Details

  • Constructor Details

    • IdAnnotationDefinitionParser

      public IdAnnotationDefinitionParser()
  • Method Details

    • parse

      public IdDefinition parse(List<Class<?>> lookupClassList, Field field)
      Description copied from interface: FieldDefinitionParser
      Parses a field to create its ID definition.
      Specified by:
      parse in interface FieldDefinitionParser
      Parameters:
      lookupClassList - list of classes in the hierarchy
      field - the field to parse
      Returns:
      the ID definition or null