@MappedEntity public class Pet extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Pet.PetType |
Constructor and Description |
---|
Pet(java.lang.String name,
Owner owner) |
Modifier and Type | Method and Description |
---|---|
java.util.UUID |
getId() |
java.lang.String |
getName() |
Owner |
getOwner() |
Pet.PetType |
getType() |
void |
setId(java.util.UUID id) |
void |
setType(Pet.PetType type) |
@Creator public Pet(java.lang.String name, Owner owner)
public Owner getOwner()
public java.lang.String getName()
public java.util.UUID getId()
public Pet.PetType getType()
public void setType(Pet.PetType type)
public void setId(java.util.UUID id)