org.hibernate.test.annotations.beanvalidation
Class Tv

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

@Entity
public class Tv
extends Object


Nested Class Summary
static class Tv.Recorder
           
static class Tv.Tuner
           
 
Field Summary
 String description
           
 Date expDate
           
 BigInteger lifetime
           
 String model
           
 String name
           
 Tv.Recorder recorder
           
 String serial
           
 int size
           
 Tv.Tuner tuner
           
 
Constructor Summary
Tv()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serial

@Size(max=2)
public String serial

model

@Length(max=5)
public String model

size

public int size

name

@Size(max=2)
public String name

expDate

@Future
public Date expDate

description

@Size(min=0)
public String description

lifetime

@Min(value=1000L)
public BigInteger lifetime

tuner

@NotNull
public Tv.Tuner tuner

recorder

public Tv.Recorder recorder
Constructor Detail

Tv

public Tv()


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