org.nuiton.validator.model
Class Pet

java.lang.Object
  extended by org.nuiton.validator.model.Pet

public class Pet
extends Object

TODO

Since:
2.0
Author:
tchemit

Field Summary
protected  String name
           
protected  Person person
           
static String PROPERTY_NAME
           
static String PROPERTY_PERSON
           
static String PROPERTY_RACE
           
static String PROPERTY_TYPE
           
protected  Race race
           
protected  String type
           
 
Constructor Summary
Pet()
           
 
Method Summary
 String getName()
           
 Person getPerson()
           
 Race getRace()
           
 String getType()
           
 void setName(String name)
           
 void setPerson(Person person)
           
 void setRace(Race race)
           
 void setType(String type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROPERTY_NAME

public static final String PROPERTY_NAME
See Also:
Constant Field Values

PROPERTY_TYPE

public static final String PROPERTY_TYPE
See Also:
Constant Field Values

PROPERTY_PERSON

public static final String PROPERTY_PERSON
See Also:
Constant Field Values

PROPERTY_RACE

public static final String PROPERTY_RACE
See Also:
Constant Field Values

name

protected String name

type

protected String type

person

protected Person person

race

protected Race race
Constructor Detail

Pet

public Pet()
Method Detail

setName

public void setName(String name)

getName

public String getName()

setType

public void setType(String type)

getType

public String getType()

setPerson

public void setPerson(Person person)

getPerson

public Person getPerson()

setRace

public void setRace(Race race)

getRace

public Race getRace()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 CodeLutin. All Rights Reserved.