com.carrotsearch.hppc.generator
Class TemplateOptions

java.lang.Object
  extended by com.carrotsearch.hppc.generator.TemplateOptions

public class TemplateOptions
extends java.lang.Object

Template options for velocity directives in templates.


Field Summary
 Type ktype
           
 java.io.File sourceFile
           
 Type vtype
           
 
Constructor Summary
TemplateOptions(Type ktype)
           
TemplateOptions(Type ktype, Type vtype)
           
 
Method Summary
 java.lang.String getGeneratedAnnotation()
           
 Type getKType()
           
 java.lang.String getSourceFile()
           
 java.lang.String getTimeNow()
          Returns the current time in ISO format.
 Type getVType()
           
 boolean hasVType()
           
 boolean isAllGeneric()
           
 boolean isAnyGeneric()
           
 boolean isAnyPrimitive()
           
 boolean isKTypeGeneric()
           
 boolean isKTypePrimitive()
           
 boolean isVTypeGeneric()
           
 boolean isVTypePrimitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ktype

public Type ktype

vtype

public Type vtype

sourceFile

public java.io.File sourceFile
Constructor Detail

TemplateOptions

public TemplateOptions(Type ktype)

TemplateOptions

public TemplateOptions(Type ktype,
                       Type vtype)
Method Detail

isKTypePrimitive

public boolean isKTypePrimitive()

isVTypePrimitive

public boolean isVTypePrimitive()

isKTypeGeneric

public boolean isKTypeGeneric()

isVTypeGeneric

public boolean isVTypeGeneric()

isAllGeneric

public boolean isAllGeneric()

isAnyPrimitive

public boolean isAnyPrimitive()

isAnyGeneric

public boolean isAnyGeneric()

hasVType

public boolean hasVType()

getKType

public Type getKType()

getVType

public Type getVType()

getTimeNow

public java.lang.String getTimeNow()
Returns the current time in ISO format.


getSourceFile

public java.lang.String getSourceFile()

getGeneratedAnnotation

public java.lang.String getGeneratedAnnotation()


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.