org.hibernate.test.annotations.beanvalidation
Class PowerSupply

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

@Entity
public class PowerSupply
extends Object


Constructor Summary
PowerSupply()
           
 
Method Summary
 Integer getId()
           
 String getPosition()
           
 BigDecimal getPower()
           
 void setId(Integer id)
           
 void setPosition(String position)
           
 void setPower(BigDecimal power)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerSupply

public PowerSupply()
Method Detail

getId

public Integer getId()

setId

public void setId(Integer id)

getPower

@Min(value=100L)
@Max(value=250L)
public BigDecimal getPower()

setPower

public void setPower(BigDecimal power)

getPosition

public String getPosition()

setPosition

public void setPosition(String position)


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