net.sf.cantina.datasource
Class PersistentRealm

java.lang.Object
  extended bynet.sf.cantina.Realm
      extended bynet.sf.cantina.datasource.PersistentRealm

public class PersistentRealm
extends Realm

Author:
Stephane JAIS

Constructor Summary
PersistentRealm()
           
PersistentRealm(java.lang.String name)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Locale getDefaultLocale()
          The default locale for a realm is its preferred language.
 java.lang.String getId()
          A wrapper for getName() to implement persistable
 java.lang.String getName()
          The name of the realm is its unique identifier.
 void setDefaultLocale(java.util.Locale l)
          Sets the default locale of this realm
 void setId(java.lang.String id)
          A wrapper for setName(), to implement persistable
 void setName(java.lang.String name)
          Sets the name of this realm
 
Methods inherited from class net.sf.cantina.Realm
accepts
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistentRealm

public PersistentRealm()

PersistentRealm

public PersistentRealm(java.lang.String name)
Method Detail

getName

public java.lang.String getName()
The name of the realm is its unique identifier.

Specified by:
getName in class Realm

setName

public void setName(java.lang.String name)
Sets the name of this realm


getDefaultLocale

public java.util.Locale getDefaultLocale()
The default locale for a realm is its preferred language.

Specified by:
getDefaultLocale in class Realm

setDefaultLocale

public void setDefaultLocale(java.util.Locale l)
Sets the default locale of this realm

Specified by:
setDefaultLocale in class Realm

getId

public java.lang.String getId()
A wrapper for getName() to implement persistable

Returns:
The name of the realm

setId

public void setId(java.lang.String id)
A wrapper for setName(), to implement persistable

Parameters:
id - The name of the realm

equals

public boolean equals(java.lang.Object o)


Copyright © 2004 Cantina. All Rights Reserved.