net.sf.jsefa.rbf.annotation
Class RbfAnnotations

java.lang.Object
  extended by net.sf.jsefa.rbf.annotation.RbfAnnotations

public final class RbfAnnotations
extends Object

Parameter object encapsulating the annotation classes to use.

Instances of this class are immutable and thread-safe.

Author:
Norman Lahme-Huetig

Constructor Summary
RbfAnnotations(Class<? extends Annotation> dataTypeAnnotationClass, Class<? extends Annotation> fieldAnnotationClass, Class<? extends Annotation> subRecordAnnotationClass, Class<? extends Annotation> subRecordListAnnotationClass)
          Constructs a new RbfAnnotations object.
 
Method Summary
 Class<? extends Annotation> getDataTypeAnnotationClass()
          Returns the data type annotation class.
 Class<? extends Annotation> getFieldAnnotationClass()
          Returns the field annotation class.
 Class<? extends Annotation> getSubRecordAnnotationClass()
          Returns the sub record annotation class.
 Class<? extends Annotation> getSubRecordListAnnotationClass()
          Returns the sub record list annotation class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RbfAnnotations

public RbfAnnotations(Class<? extends Annotation> dataTypeAnnotationClass,
                      Class<? extends Annotation> fieldAnnotationClass,
                      Class<? extends Annotation> subRecordAnnotationClass,
                      Class<? extends Annotation> subRecordListAnnotationClass)
Constructs a new RbfAnnotations object.

Parameters:
dataTypeAnnotationClass - the data type annotation class
fieldAnnotationClass - the field annotation class
subRecordAnnotationClass - the sub record annotation class
subRecordListAnnotationClass - the sub record list annotation class
Method Detail

getDataTypeAnnotationClass

public Class<? extends Annotation> getDataTypeAnnotationClass()
Returns the data type annotation class.

Returns:
the data type annotation class

getFieldAnnotationClass

public Class<? extends Annotation> getFieldAnnotationClass()
Returns the field annotation class.

Returns:
the field annotation class.

getSubRecordAnnotationClass

public Class<? extends Annotation> getSubRecordAnnotationClass()
Returns the sub record annotation class.

Returns:
the sub record annotation class

getSubRecordListAnnotationClass

public Class<? extends Annotation> getSubRecordListAnnotationClass()
Returns the sub record list annotation class.

Returns:
the sub record list annotation class.


Copyright © 2014. All rights reserved.