public class Dog extends Object
Constructor and Description |
---|
Dog() |
Dog(Identifier name) |
Dog(Identifier name,
String color,
int weightInKg,
long lengthInCm,
long heightInCm,
Sex sex,
boolean neutered) |
Modifier and Type | Method and Description |
---|---|
Dog |
color(String color) |
boolean |
equals(Object o) |
String |
getColor() |
long |
getHeight() |
long |
getLengthInCm() |
Identifier |
getName() |
Sex |
getSex() |
protected Dog |
getThis() |
int |
getWeight() |
int |
hashCode() |
Dog |
height(long heightInCm) |
boolean |
isNeutered() |
Dog |
length(long lengthInCm) |
Dog |
name(Identifier name) |
Dog |
neutered(boolean neutered) |
void |
setName(Identifier name) |
Dog |
sex(Sex sex) |
Dog |
weight(int weighInKg) |
public Dog()
public Dog(Identifier name)
public Dog(Identifier name, String color, int weightInKg, long lengthInCm, long heightInCm, Sex sex, boolean neutered)
protected Dog getThis()
public Identifier getName()
public void setName(Identifier name)
public Dog name(Identifier name)
public String getColor()
public int getWeight()
public Dog weight(int weighInKg)
public long getLengthInCm()
public Dog length(long lengthInCm)
public long getHeight()
public Dog height(long heightInCm)
public Sex getSex()
public boolean isNeutered()
public Dog neutered(boolean neutered)
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.