Package org.nuiton.validator.model
Class Pet
- java.lang.Object
-
- org.nuiton.validator.model.Pet
-
public class Pet extends Object
TODO- Since:
- 2.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description Pet()
-
-
-
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
-
-
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()
-
-