Modifier and Type | Class and Description |
---|---|
static class |
Dog.Breed |
static class |
Dog.Color |
static class |
Dog.Sex |
Modifier and Type | Field and Description |
---|---|
private Dog.Breed |
breed |
private Dog.Color |
color |
private Dog.Sex |
gender |
private int |
id |
Constructor and Description |
---|
Dog() |
Modifier and Type | Method and Description |
---|---|
Dog.Breed |
getBreed() |
Dog.Color |
getColor() |
protected String |
getDBBreed() |
Dog.Sex |
getGender() |
int |
getId() |
Dog |
setBreed(Dog.Breed breed) |
Dog |
setColor(Dog.Color color) |
protected void |
setDBBreed(String dbValue) |
Dog |
setGender(Dog.Sex gender) |
void |
setId(int id) |
private int id
private Dog.Sex gender
private Dog.Color color
private Dog.Breed breed
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.