org.directdemocracyportal.democracy.model.core
Class BaseEntity

Package class diagram package BaseEntity
java.lang.Object
  extended by org.directdemocracyportal.democracy.model.core.BaseEntity
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Agent, Authority, Election, Environment, Event, Resource, Role, RoleAction, UserSession

@MappedSuperclass
public abstract class BaseEntity
extends java.lang.Object
implements java.io.Serializable

The Class BaseEntity.

See Also:
Serialized Form

Constructor Summary
Constructor and Description
BaseEntity()
           
 
Method Summary
Modifier and Type Method and Description
abstract  java.lang.Long getId()
          Gets the id.
 boolean isNew()
          Checks if is new.
 
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

getId

public abstract java.lang.Long getId()
Gets the id.

Returns:
the id

isNew

public boolean isNew()
Checks if is new.

Returns:
true, if is new


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.