org.hibernate.test.annotations.beanvalidation
Class CupHolder

java.lang.Object
  extended by org.hibernate.test.annotations.beanvalidation.CupHolder

@Entity
public class CupHolder
extends Object


Constructor Summary
CupHolder()
           
 
Method Summary
 Integer getId()
           
 BigDecimal getRadius()
           
 void setId(Integer id)
           
 void setRadius(BigDecimal radius)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CupHolder

public CupHolder()
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getRadius

@Max(value=10L,
     message="Radius way out")
@NotNull(groups=Strict.class)
public BigDecimal getRadius()

setRadius

public void setRadius(BigDecimal radius)


Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.