org.codehaus.plexus.security.keys.jdo.v0_9_0
Class JdoAuthenticationKey

java.lang.Object
  extended by org.codehaus.plexus.security.keys.jdo.v0_9_0.JdoAuthenticationKey
All Implemented Interfaces:
Serializable, org.codehaus.plexus.security.keys.AuthenticationKey

public class JdoAuthenticationKey
extends Object
implements org.codehaus.plexus.security.keys.AuthenticationKey, Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
JdoAuthenticationKey()
           
 
Method Summary
 boolean equals(Object other)
          Method equals.
 Date getDateCreated()
          Get the dateCreated field.
 Date getDateExpires()
          Get the dateExpires field.
 String getForPrincipal()
          Get the forPrincipal field.
 String getKey()
          Get the key field.
 String getPurpose()
          Get the purpose field.
 int hashCode()
          Method hashCode.
 void setDateCreated(Date dateCreated)
          Set the dateCreated field.
 void setDateExpires(Date dateExpires)
          Set the dateExpires field.
 void setForPrincipal(String forPrincipal)
          Set the forPrincipal field.
 void setKey(String key)
          Set the key field.
 void setPurpose(String purpose)
          Set the purpose field.
 String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JdoAuthenticationKey

public JdoAuthenticationKey()
Method Detail

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

getDateCreated

public Date getDateCreated()
Get the dateCreated field.

Specified by:
getDateCreated in interface org.codehaus.plexus.security.keys.AuthenticationKey
Returns:
Date

getDateExpires

public Date getDateExpires()
Get the dateExpires field.

Specified by:
getDateExpires in interface org.codehaus.plexus.security.keys.AuthenticationKey
Returns:
Date

getForPrincipal

public String getForPrincipal()
Get the forPrincipal field.

Specified by:
getForPrincipal in interface org.codehaus.plexus.security.keys.AuthenticationKey
Returns:
String

getKey

public String getKey()
Get the key field.

Specified by:
getKey in interface org.codehaus.plexus.security.keys.AuthenticationKey
Returns:
String

getPurpose

public String getPurpose()
Get the purpose field.

Specified by:
getPurpose in interface org.codehaus.plexus.security.keys.AuthenticationKey
Returns:
String

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

setDateCreated

public void setDateCreated(Date dateCreated)
Set the dateCreated field.

Specified by:
setDateCreated in interface org.codehaus.plexus.security.keys.AuthenticationKey
Parameters:
dateCreated -

setDateExpires

public void setDateExpires(Date dateExpires)
Set the dateExpires field.

Specified by:
setDateExpires in interface org.codehaus.plexus.security.keys.AuthenticationKey
Parameters:
dateExpires -

setForPrincipal

public void setForPrincipal(String forPrincipal)
Set the forPrincipal field.

Specified by:
setForPrincipal in interface org.codehaus.plexus.security.keys.AuthenticationKey
Parameters:
forPrincipal -

setKey

public void setKey(String key)
Set the key field.

Specified by:
setKey in interface org.codehaus.plexus.security.keys.AuthenticationKey
Parameters:
key -

setPurpose

public void setPurpose(String purpose)
Set the purpose field.

Specified by:
setPurpose in interface org.codehaus.plexus.security.keys.AuthenticationKey
Parameters:
purpose -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.