com.centrasite.jaxr.infomodel
Interface CentraSiteLocale


public interface CentraSiteLocale

A CentraSiteLocale comprises a java.util.Locale and a boolean flag saying whether this is the default locale. Within the set of restricted locales, exactly one is marked as default locale.


Method Summary
 java.util.Locale getLocale()
          Get the locale.
 boolean isDefault()
          Return whether this is the default locale.
 void setDefault(boolean isDefault)
          Indicate whether this is the default locale.
 void setLocale(java.util.Locale locale)
          Set the locale.
 

Method Detail

getLocale

java.util.Locale getLocale()
                           throws javax.xml.registry.JAXRException
Get the locale.

Returns:
the locale
Throws:
javax.xml.registry.JAXRException

setLocale

void setLocale(java.util.Locale locale)
               throws javax.xml.registry.JAXRException
Set the locale.

Parameters:
locale - the locale
Throws:
javax.xml.registry.JAXRException

isDefault

boolean isDefault()
                  throws javax.xml.registry.JAXRException
Return whether this is the default locale.

Returns:
true if this is the default locale
Throws:
javax.xml.registry.JAXRException

setDefault

void setDefault(boolean isDefault)
                throws javax.xml.registry.JAXRException
Indicate whether this is the default locale.

Parameters:
isDefault - true if this is to be marked as default locale
Throws:
javax.xml.registry.JAXRException