org.jasig.portlet.widget.gadget.model
Class Module.UserPref

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

public static class Module.UserPref
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="EnumValue" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="display_value" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="default_value" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="datatype" default="string">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="string"/>
             <enumeration value="hidden"/>
             <enumeration value="bool"/>
             <enumeration value="enum"/>
             <enumeration value="list"/>
             <enumeration value="number"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Module.UserPref.EnumValue
          Java class for anonymous complex type.
 
Field Summary
protected  String datatype
           
protected  String defaultValue
           
protected  String displayName
           
protected  List<Module.UserPref.EnumValue> enumValue
           
protected  String name
           
protected  String required
           
 
Constructor Summary
Module.UserPref()
           
 
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 getDatatype()
          Gets the value of the datatype property.
 String getDefaultValue()
          Gets the value of the defaultValue property.
 String getDisplayName()
          Gets the value of the displayName property.
 List<Module.UserPref.EnumValue> getEnumValue()
          Gets the value of the enumValue property.
 String getName()
          Gets the value of the name property.
 String getRequired()
          Gets the value of the required property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setDatatype(String value)
          Sets the value of the datatype property.
 void setDefaultValue(String value)
          Sets the value of the defaultValue property.
 void setDisplayName(String value)
          Sets the value of the displayName property.
 void setName(String value)
          Sets the value of the name property.
 void setRequired(String value)
          Sets the value of the required property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

enumValue

protected List<Module.UserPref.EnumValue> enumValue

name

protected String name

displayName

protected String displayName

defaultValue

protected String defaultValue

required

protected String required

datatype

protected String datatype
Constructor Detail

Module.UserPref

public Module.UserPref()
Method Detail

getEnumValue

public List<Module.UserPref.EnumValue> getEnumValue()
Gets the value of the enumValue 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 enumValue property.

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

    getEnumValue().add(newItem);
 

Objects of the following type(s) are allowed in the list Module.UserPref.EnumValue


getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getDisplayName

public String getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is String

setDisplayName

public void setDisplayName(String value)
Sets the value of the displayName property.

Parameters:
value - allowed object is String

getDefaultValue

public String getDefaultValue()
Gets the value of the defaultValue property.

Returns:
possible object is String

setDefaultValue

public void setDefaultValue(String value)
Sets the value of the defaultValue property.

Parameters:
value - allowed object is String

getRequired

public String getRequired()
Gets the value of the required property.

Returns:
possible object is String

setRequired

public void setRequired(String value)
Sets the value of the required property.

Parameters:
value - allowed object is String

getDatatype

public String getDatatype()
Gets the value of the datatype property.

Returns:
possible object is String

setDatatype

public void setDatatype(String value)
Sets the value of the datatype 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.