org.springframework.samples.petclinic
Class BaseEntity

java.lang.Object
  extended by org.springframework.samples.petclinic.BaseEntity
Direct Known Subclasses:
NamedEntity, Person, Visit

public class BaseEntity
extends java.lang.Object

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

Author:
Ken Krebs, Juergen Hoeller

Constructor Summary
BaseEntity()
           
 
Method Summary
 java.lang.Integer getId()
           
 boolean isNew()
           
 void setId(java.lang.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(java.lang.Integer id)

getId

public java.lang.Integer getId()

isNew

public boolean isNew()


Copyright © 2010. All Rights Reserved.