org.apache.openjpa.persistence
Class AnnotationBuilder
java.lang.Object
   org.apache.openjpa.persistence.AnnotationBuilder
org.apache.openjpa.persistence.AnnotationBuilder
- public class AnnotationBuilder 
- extends java.lang.Object
Helper class to stringify annotation declarations.
- Since:
- 1.0.0
- Author:
- Gokhan Ergul
| Constructor Summary | 
| protected  | AnnotationBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> type)
 | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
AnnotationBuilder
protected AnnotationBuilder(java.lang.Class<? extends java.lang.annotation.Annotation> type)
getType
public java.lang.Class<? extends java.lang.annotation.Annotation> getType()
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             java.lang.String val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             boolean val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             int val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             java.lang.Class val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             java.util.EnumSet val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             java.lang.Enum val)
- 
 
add
public AnnotationBuilder add(java.lang.String key,
                             AnnotationBuilder val)
- 
 
hasComponents
public boolean hasComponents()
- 
 
toString
protected void toString(java.lang.StringBuilder sb)
- 
 
toString
public java.lang.String toString()
- 
- Overrides:
- toStringin class- java.lang.Object
 
- 
 
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.