org.openrdf.repository.object.compiler.source
Class JavaPropertyBuilder

java.lang.Object
  extended by org.openrdf.repository.object.compiler.source.JavaSourceBuilder
      extended by org.openrdf.repository.object.compiler.source.JavaPropertyBuilder

public class JavaPropertyBuilder
extends JavaSourceBuilder

Builders getters and setters in Java source code.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.openrdf.repository.object.compiler.source.JavaSourceBuilder
imports, indent, sb
 
Constructor Summary
JavaPropertyBuilder(String name, boolean isInterface, Map<String,String> imports, StringBuilder sb)
           
 
Method Summary
 void closeSetter()
           
 void end()
           
 void getter()
           
 void openSetter()
           
 JavaPropertyBuilder setOf(String type)
           
 JavaPropertyBuilder type(String type)
           
 
Methods inherited from class org.openrdf.repository.object.compiler.source.JavaSourceBuilder
annotate, annotateClass, annotateClasses, annotateEnum, annotateEnums, annotateString, annotateStrings, annotateURI, annotateURIs, begin, comment, imports, imports, isGroovy, setGroovy, setImports, setIndent, setStringBuilder, var
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaPropertyBuilder

public JavaPropertyBuilder(String name,
                           boolean isInterface,
                           Map<String,String> imports,
                           StringBuilder sb)
Method Detail

type

public JavaPropertyBuilder type(String type)

setOf

public JavaPropertyBuilder setOf(String type)

getter

public void getter()

openSetter

public void openSetter()

closeSetter

public void closeSetter()

end

public void end()


Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.