org.apache.jetspeed.om.profile.psml
Class PsmlSecurity

java.lang.Object
  extended byorg.apache.jetspeed.om.profile.psml.PsmlSecurity
All Implemented Interfaces:
java.lang.Cloneable, Security, java.io.Serializable

public class PsmlSecurity
extends java.lang.Object
implements Security, java.io.Serializable

Bean like implementation of the Security interface suitable for Castor serialization.

Version:
$Id: PsmlSecurity.java,v 1.6 2005/03/21 18:21:37 sgala Exp $
Author:
Raphaël Luta
See Also:
Security, Serialized Form

Constructor Summary
PsmlSecurity()
           
 
Method Summary
 java.lang.Object clone()
          Create a clone of this object
 java.lang.String getId()
          Gets the security entry unique id.
 void setId(java.lang.String id)
          Sets the security entry unique id.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsmlSecurity

public PsmlSecurity()
Method Detail

getId

public java.lang.String getId()
Gets the security entry unique id. This value is guaranteed to be unique in the security provider namespace.

Specified by:
getId in interface Security
Returns:
the id of this entry.

setId

public void setId(java.lang.String id)
Sets the security entry unique id. This value is guaranteed to be unique in the security provider namespace.

Specified by:
setId in interface Security
Parameters:
id - the unique id of the security entry.

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Create a clone of this object

Specified by:
clone in interface Security
Throws:
java.lang.CloneNotSupportedException


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.