org.acegisecurity.domain.impl
Class PersistableEntityLong
java.lang.Object
org.acegisecurity.domain.impl.BusinessObject
org.acegisecurity.domain.impl.AbstractPersistableEntity
org.acegisecurity.domain.impl.PersistableEntityLong
- All Implemented Interfaces:
- Serializable, Cloneable, PersistableEntity
public abstract class PersistableEntityLong
- extends AbstractPersistableEntity
A persistable entity that uses a Long based identity.
- Version:
- $Id: PersistableEntityLong.java,v 1.7 2005/11/17 00:55:49 benalex Exp $
- Author:
- Ben Alex
- See Also:
- Serialized Form
|
Field Summary |
protected Long |
id
|
id
protected Long id
PersistableEntityLong
public PersistableEntityLong()
setId
public void setId(Long id)
- DO NOT USE DIRECTLY.
Typically only used by the persistence layer, but provided with public
visibility to not limit flexibility.
- Parameters:
id - the new instance identity
getId
public Long getId()
- Obtains the persistence identity of this instance.
getInternalId
public Serializable getInternalId()
- DO NOT USE DIRECTLY.
Use getId() instead, as it provides the correct return type.
This method is only provided for use by the persistence layer and to
satisfy the PersistableEntity
interface contract.
Internally delegates to getId().
- Returns:
- the instance's identity
Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.