org.apache.openjpa.persistence.util
Class SourceCode.Annotation

java.lang.Object
  extended by org.apache.openjpa.persistence.util.SourceCode.Annotation
Enclosing class:
SourceCode

public class SourceCode.Annotation
extends Object

Represents annotation.


Method Summary
<K,V> SourceCode.Annotation
addArgument(SourceCode.Argument<K,V> arg)
           
 SourceCode.Annotation addArgument(String key, String v)
           
 SourceCode.Annotation addArgument(String key, String[] vs)
           
 SourceCode.Annotation addArgument(String key, String v, boolean quote)
           
 void write(PrintWriter out, int tab)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addArgument

public SourceCode.Annotation addArgument(String key,
                                         String v,
                                         boolean quote)

addArgument

public SourceCode.Annotation addArgument(String key,
                                         String v)

addArgument

public SourceCode.Annotation addArgument(String key,
                                         String[] vs)

addArgument

public <K,V> SourceCode.Annotation addArgument(SourceCode.Argument<K,V> arg)

write

public void write(PrintWriter out,
                  int tab)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.