org.springframework.osgi.samples.petclinic
Class NamedEntity
java.lang.Object
org.springframework.osgi.samples.petclinic.BaseEntity
org.springframework.osgi.samples.petclinic.NamedEntity
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- Pet, PetType
public class NamedEntity
- extends BaseEntity
Simple JavaBean domain object adds a name property to BaseEntity
.
Used as a base class for objects needing these properties.
- Author:
- Ken Krebs, Juergen Hoeller
- See Also:
- Serialized Form
NamedEntity
public NamedEntity()
setName
public void setName(String name)
getName
public String getName()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2006-2007 Spring Framework. All Rights Reserved.