net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee
Class FacesConfigDefaultLocaleType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigDefaultLocaleType
All Implemented Interfaces:
Serializable, Cloneable

public class FacesConfigDefaultLocaleType
extends Object
implements Serializable, Cloneable

The "default-locale" element declares the default locale for this application instance. It must be specified as :language:[_:country:[_:variant:]] without the colons, for example "ja_JP_SJIS". The separators between the segments may be '-' or '_'.

Java class for faces-config-default-localeType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="faces-config-default-localeType">
   <simpleContent>
     <extension base="<http://java.sun.com/xml/ns/javaee>faces-config-localeType">
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </extension>
   </simpleContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  String value
           
 
Constructor Summary
FacesConfigDefaultLocaleType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigDefaultLocaleType instance.
FacesConfigDefaultLocaleType(FacesConfigDefaultLocaleType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigDefaultLocaleType instance by copying a given instance.
 
Method Summary
 FacesConfigDefaultLocaleType clone()
          Creates and returns a copy of this object.
 String getId()
          Gets the value of the id property.
 String getValue()
          The localeType defines valid locale defined by ISO-639-1 and ISO-3166.
 void setId(String value)
          Sets the value of the id property.
 void setValue(String value)
          Sets the value of the value property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

id

protected String id
Constructor Detail

FacesConfigDefaultLocaleType

public FacesConfigDefaultLocaleType()
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigDefaultLocaleType instance.


FacesConfigDefaultLocaleType

public FacesConfigDefaultLocaleType(FacesConfigDefaultLocaleType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.javaee.FacesConfigDefaultLocaleType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getValue

public String getValue()
The localeType defines valid locale defined by ISO-639-1 and ISO-3166.

Returns:
possible object is String

setValue

public void setValue(String value)
Sets the value of the value property.

Parameters:
value - allowed object is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String

clone

public FacesConfigDefaultLocaleType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


Copyright © 2009 The CC-XJC Community. All Rights Reserved.