br.com.caelum.stella.hibernate.example
Class Modelo

java.lang.Object
  extended by br.com.caelum.stella.hibernate.example.Modelo

public class Modelo
extends Object


Constructor Summary
Modelo()
           
 
Method Summary
 String getCnpj()
           
 String getCpf()
           
 Long getId()
           
 void setCnpj(String cnpj)
           
 void setCpf(String cpf)
           
 void setId(Long id)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Modelo

public Modelo()
Method Detail

getCnpj

public String getCnpj()

setCnpj

public void setCnpj(String cnpj)

getCpf

public String getCpf()

setCpf

public void setCpf(String cpf)

getId

public Long getId()

setId

public void setId(Long id)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 Caelum. All Rights Reserved.