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

java.lang.Object
  extended by org.jasig.portlet.widget.gadget.model.Module.ModulePrefs
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.ModulePrefs
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">
       <choice maxOccurs="unbounded" minOccurs="0">
         <element name="Require" type="{}GadgetFeatureType"/>
         <element name="Optional" type="{}GadgetFeatureType"/>
         <element name="Preload">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="authz" default="none">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="none"/>
                       <enumeration value="signed"/>
                       <enumeration value="oauth"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="sign_owner" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="sign_viewer" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="views" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="oauth_service_name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="oauth_token_name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="oauth_request_token" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="oauth_request_token_secret" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Icon">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>string">
                 <attribute name="mode">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="base64"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="Locale">
           <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>
         </element>
         <element name="Link">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="rel" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="gadgets.help"/>
                       <enumeration value="gadgets.support"/>
                       <enumeration value="icon"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="OAuth" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Service" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="Request" type="{}OAuthResourceType" minOccurs="0"/>
                             <element name="Access" type="{}OAuthResourceType" minOccurs="0"/>
                             <element name="Authorization" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <attribute name="url" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </choice>
       <attribute name="title" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="title_url" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="author" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="author_email" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="screenshot" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="thumbnail" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Module.ModulePrefs.Icon
          Java class for anonymous complex type.
static class Module.ModulePrefs.Link
          Java class for anonymous complex type.
static class Module.ModulePrefs.Locale
          Java class for anonymous complex type.
static class Module.ModulePrefs.OAuth
          Java class for anonymous complex type.
static class Module.ModulePrefs.Preload
          Java class for anonymous complex type.
 
Field Summary
protected  String author
           
protected  String authorEmail
           
protected  String description
           
protected  List<JAXBElement<?>> requireOrOptionalOrPreload
           
protected  String screenshot
           
protected  String thumbnail
           
protected  String title
           
protected  String titleUrl
           
 
Constructor Summary
Module.ModulePrefs()
           
 
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 getAuthor()
          Gets the value of the author property.
 String getAuthorEmail()
          Gets the value of the authorEmail property.
 String getDescription()
          Gets the value of the description property.
 List<JAXBElement<?>> getRequireOrOptionalOrPreload()
          Gets the value of the requireOrOptionalOrPreload property.
 String getScreenshot()
          Gets the value of the screenshot property.
 String getThumbnail()
          Gets the value of the thumbnail property.
 String getTitle()
          Gets the value of the title property.
 String getTitleUrl()
          Gets the value of the titleUrl property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setAuthor(String value)
          Sets the value of the author property.
 void setAuthorEmail(String value)
          Sets the value of the authorEmail property.
 void setDescription(String value)
          Sets the value of the description property.
 void setScreenshot(String value)
          Sets the value of the screenshot property.
 void setThumbnail(String value)
          Sets the value of the thumbnail property.
 void setTitle(String value)
          Sets the value of the title property.
 void setTitleUrl(String value)
          Sets the value of the titleUrl property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

requireOrOptionalOrPreload

protected List<JAXBElement<?>> requireOrOptionalOrPreload

title

protected String title

titleUrl

protected String titleUrl

description

protected String description

author

protected String author

authorEmail

protected String authorEmail

screenshot

protected String screenshot

thumbnail

protected String thumbnail
Constructor Detail

Module.ModulePrefs

public Module.ModulePrefs()
Method Detail

getRequireOrOptionalOrPreload

public List<JAXBElement<?>> getRequireOrOptionalOrPreload()
Gets the value of the requireOrOptionalOrPreload 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 requireOrOptionalOrPreload property.

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

    getRequireOrOptionalOrPreload().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<Module.ModulePrefs.Link> JAXBElement<Module.ModulePrefs.OAuth> JAXBElement<GadgetFeatureType> JAXBElement<GadgetFeatureType> JAXBElement<Module.ModulePrefs.Locale> JAXBElement<Module.ModulePrefs.Preload> JAXBElement<Module.ModulePrefs.Icon>


getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getTitleUrl

public String getTitleUrl()
Gets the value of the titleUrl property.

Returns:
possible object is String

setTitleUrl

public void setTitleUrl(String value)
Sets the value of the titleUrl property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getAuthor

public String getAuthor()
Gets the value of the author property.

Returns:
possible object is String

setAuthor

public void setAuthor(String value)
Sets the value of the author property.

Parameters:
value - allowed object is String

getAuthorEmail

public String getAuthorEmail()
Gets the value of the authorEmail property.

Returns:
possible object is String

setAuthorEmail

public void setAuthorEmail(String value)
Sets the value of the authorEmail property.

Parameters:
value - allowed object is String

getScreenshot

public String getScreenshot()
Gets the value of the screenshot property.

Returns:
possible object is String

setScreenshot

public void setScreenshot(String value)
Sets the value of the screenshot property.

Parameters:
value - allowed object is String

getThumbnail

public String getThumbnail()
Gets the value of the thumbnail property.

Returns:
possible object is String

setThumbnail

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