@Deprecated public class Person extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
firstname
Deprecated.
|
protected String |
name
Deprecated.
|
protected Collection<Pet> |
pet
Deprecated.
|
static String |
PROPERTY_FIRSTNAME
Deprecated.
|
static String |
PROPERTY_NAME
Deprecated.
|
static String |
PROPERTY_PET
Deprecated.
|
| Constructor and Description |
|---|
Person()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPet(Pet pet)
Deprecated.
|
String |
getFirstname()
Deprecated.
|
String |
getName()
Deprecated.
|
Collection<Pet> |
getPet()
Deprecated.
|
void |
setFirstname(String firstname)
Deprecated.
|
void |
setName(String name)
Deprecated.
|
void |
setPet(Collection<Pet> pet)
Deprecated.
|
String |
toString()
Deprecated.
|
public static final String PROPERTY_NAME
public static final String PROPERTY_FIRSTNAME
public static final String PROPERTY_PET
protected String name
protected String firstname
protected Collection<Pet> pet
public String getName()
public void setName(String name)
public String getFirstname()
public void setFirstname(String firstname)
public Collection<Pet> getPet()
public void setPet(Collection<Pet> pet)
public void addPet(Pet pet)
Copyright © 2011-2013 CodeLutin. All Rights Reserved.