org.hibernate.test.annotations.beanvalidation
Class PowerSupply
java.lang.Object
org.hibernate.test.annotations.beanvalidation.PowerSupply
@Entity
public class PowerSupply
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PowerSupply
public PowerSupply()
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.