net.sf.beanform.integration
Class Ejb3Integrator

java.lang.Object
  extended by net.sf.beanform.integration.Ejb3Integrator
All Implemented Interfaces:
Integrator

public class Ejb3Integrator
extends Object
implements Integrator

Provides integration with EJB3 annotations.

Author:
Daniel Gredler
See Also:
http://java.sun.com/javaee/5/docs/api/javax/persistence/package-summary.html

Field Summary
static boolean BASIC_OPTIONAL_DEFAULT
           
static int COLUMN_LENGTH_DEFAULT
           
static boolean COLUMN_NULLABLE_DEFAULT
           
 
Fields inherited from interface net.sf.beanform.integration.Integrator
EMAIL, MAX, MAX_DATE, MAX_LENGTH, MIN, MIN_DATE, MIN_LENGTH, PATTERN, REQUIRED
 
Constructor Summary
Ejb3Integrator()
           
 
Method Summary
 Integer getMaxLength(BeanProperty prop)
           
 SortedMap<String,String> getValidation(BeanProperty prop)
           
 boolean isNullable(BeanProperty prop)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COLUMN_NULLABLE_DEFAULT

public static final boolean COLUMN_NULLABLE_DEFAULT
See Also:
Constant Field Values

COLUMN_LENGTH_DEFAULT

public static final int COLUMN_LENGTH_DEFAULT
See Also:
Constant Field Values

BASIC_OPTIONAL_DEFAULT

public static final boolean BASIC_OPTIONAL_DEFAULT
See Also:
Constant Field Values
Constructor Detail

Ejb3Integrator

public Ejb3Integrator()
Method Detail

getValidation

public SortedMap<String,String> getValidation(BeanProperty prop)
Specified by:
getValidation in interface Integrator

getMaxLength

public Integer getMaxLength(BeanProperty prop)
Specified by:
getMaxLength in interface Integrator

isNullable

public boolean isNullable(BeanProperty prop)
Specified by:
isNullable in interface Integrator


Copyright © 2006 Daniel Gredler. All Rights Reserved.