org.jasig.portlet.widget.gadget.model
Class Module.ModulePrefs.Locale

java.lang.Object
  extended by org.jasig.portlet.widget.gadget.model.Module.ModulePrefs.Locale
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Enclosing class:
Module.ModulePrefs

public static class Module.ModulePrefs.Locale
extends Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

Java class for anonymous complex type.

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

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="msg" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="desc" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="lang" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="country" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="messages" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="language_direction">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="ltr"/>
             <enumeration value="rtl"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Module.ModulePrefs.Locale.Msg
          Java class for anonymous complex type.
 
Field Summary
protected  String country
           
protected  String lang
           
protected  String languageDirection
           
protected  String messages
           
protected  List<Module.ModulePrefs.Locale.Msg> msg
           
 
Constructor Summary
Module.ModulePrefs.Locale()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 String getCountry()
          Gets the value of the country property.
 String getLang()
          Gets the value of the lang property.
 String getLanguageDirection()
          Gets the value of the languageDirection property.
 String getMessages()
          Gets the value of the messages property.
 List<Module.ModulePrefs.Locale.Msg> getMsg()
          Gets the value of the msg property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setCountry(String value)
          Sets the value of the country property.
 void setLang(String value)
          Sets the value of the lang property.
 void setLanguageDirection(String value)
          Sets the value of the languageDirection property.
 void setMessages(String value)
          Sets the value of the messages property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

msg

protected List<Module.ModulePrefs.Locale.Msg> msg

lang

protected String lang

country

protected String country

messages

protected String messages

languageDirection

protected String languageDirection
Constructor Detail

Module.ModulePrefs.Locale

public Module.ModulePrefs.Locale()
Method Detail

getMsg

public List<Module.ModulePrefs.Locale.Msg> getMsg()
Gets the value of the msg property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the msg property.

For example, to add a new item, do as follows:

    getMsg().add(newItem);
 

Objects of the following type(s) are allowed in the list Module.ModulePrefs.Locale.Msg


getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String

getCountry

public String getCountry()
Gets the value of the country property.

Returns:
possible object is String

setCountry

public void setCountry(String value)
Sets the value of the country property.

Parameters:
value - allowed object is String

getMessages

public String getMessages()
Gets the value of the messages property.

Returns:
possible object is String

setMessages

public void setMessages(String value)
Sets the value of the messages property.

Parameters:
value - allowed object is String

getLanguageDirection

public String getLanguageDirection()
Gets the value of the languageDirection property.

Returns:
possible object is String

setLanguageDirection

public void setLanguageDirection(String value)
Sets the value of the languageDirection property.

Parameters:
value - allowed object is String

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2011 Jasig. All Rights Reserved.