Tabnine Logo
Id.converter
Code IndexAdd Tabnine to your IDE (free)

How to use
converter
method
in
me.prettyprint.hom.annotations.Id

Best Java code snippets using me.prettyprint.hom.annotations.Id.converter (Showing top 1 results out of 315)

origin: hector-client/hector

private <T> void processIdCustomAnnotation(Field f, me.prettyprint.hom.annotations.Id anno,
  CFMappingDef<T> cfMapDef, Map<String, PropertyDescriptor> pdMap)
  throws InstantiationException, IllegalAccessException {
 // TODO lookup JPA 2 spec for class-level ids
 PropertyMappingDefinition md = new PropertyMappingDefinition(pdMap.get(f.getName()), null,
   anno.converter());
 if (null == md.getPropDesc() || null == md.getPropDesc().getReadMethod()
   || null == md.getPropDesc().getWriteMethod()) {
  throw new HectorObjectMapperException("@" + Id.class.getSimpleName()
    + " is defined on property, " + f.getName() + ", but its missing proper setter/getter");
 }
 cfMapDef.getKeyDef().addIdPropertyMap(md);
}
me.prettyprint.hom.annotationsIdconverter

Popular methods of Id

  • <init>

Popular in Java

  • Running tasks concurrently on multiple threads
  • getApplicationContext (Context)
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now