org.springframework.osgi.samples.petclinic
Class BaseEntity

java.lang.Object
  extended by org.springframework.osgi.samples.petclinic.BaseEntity
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NamedEntity

public class BaseEntity
extends Object
implements Serializable

Simple JavaBean domain object with an id property. Used as a base class for objects needing this property.

Author:
Ken Krebs, Juergen Hoeller
See Also:
Serialized Form

Constructor Summary
BaseEntity()
           
 
Method Summary
 Integer getId()
           
 boolean isNew()
           
 void setId(Integer id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseEntity

public BaseEntity()
Method Detail

setId

public void setId(Integer id)

getId

public Integer getId()

isNew

public boolean isNew()


Copyright © 2006-2007 Spring Framework. All Rights Reserved.