org.springframework.osgi.samples.petclinic
Class NamedEntity

java.lang.Object
  extended by org.springframework.osgi.samples.petclinic.BaseEntity
      extended by 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

Constructor Summary
NamedEntity()
           
 
Method Summary
 String getName()
           
 void setName(String name)
           
 String toString()
           
 
Methods inherited from class org.springframework.osgi.samples.petclinic.BaseEntity
getId, isNew, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedEntity

public NamedEntity()
Method Detail

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.