Betty v1.1.0

christophedelory.betty.interfaces
Interface DbIdEntity

All Superinterfaces:
DbEntity
All Known Subinterfaces:
DbCountryEntity, LocalChampionship, LocalEvent, LocalLocation, LocalModel, LocalPhase, LocalPlayer, LocalProperty, LocalResource, LocalUser, LocalUserRole
All Known Implementing Classes:
ChampionshipBean, EventBean, LocationBean, ModelBean, PhaseBean, PlayerBean, PropertyBean, ResourceBean, UserBean, UserRoleBean

public interface DbIdEntity
extends DbEntity

All EJB objects that define an identifier shall implement this interface.

Version:
$Revision$
Author:
Christophe Delory
See Also:
IdDetails

Method Summary
 String getId()
          Returns the object identifier.
 void setId(String id)
          Initializes the object identifier.
 
Methods inherited from interface christophedelory.interfaces.DbEntity
getBase, getCreationDate, getCreationUserId, getUpdateDate, getUpdateUserId, setBase, setUpdateDate, setUpdateUserId
 

Method Detail

getId

String getId()
Returns the object identifier.

Returns:
an object identifier. Shall not be null.
Throws:
EJBException - if any exception occured during the execution of this method.
See Also:
setId(String)

setId

void setId(String id)
Initializes the object identifier.

Parameters:
id - an object identifier. Shall not be null.
Throws:
EJBException - if any exception occured during the execution of this method.
See Also:
getId()

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.