org.hibernate.jsr303.tck.tests.constraints.application
Class Visibility

java.lang.Object
  extended by org.hibernate.jsr303.tck.tests.constraints.application.Visibility

public class Visibility
extends Object

Author:
Hardy Ferentschik

Field Summary
protected  int protectedValue
           
 int publicValue
           
 
Constructor Summary
Visibility()
           
 
Method Summary
protected  int getProtectedValue()
           
 int getPublicValue()
           
 void setValues(int value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

publicValue

@Min(value=100L,
     message="publicField")
public int publicValue

protectedValue

@Min(value=100L,
     message="protectedField")
protected int protectedValue
Constructor Detail

Visibility

public Visibility()
Method Detail

getPublicValue

@DecimalMin(value="100.0",
            message="publicProperty")
public int getPublicValue()

setValues

public void setValues(int value)

getProtectedValue

@DecimalMin(value="100.0",
            message="protectedProperty")
protected int getProtectedValue()


Copyright © 2008-2011. All Rights Reserved.