|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jasig.portlet.widget.gadget.model.Module
public class Module
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="ModulePrefs" minOccurs="0">
<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>
</element>
<element name="UserPref" maxOccurs="unbounded" minOccurs="0">
<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>
</element>
<element name="Content" maxOccurs="unbounded">
<complexType>
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>string">
<attribute name="type" default="html">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="html"/>
<enumeration value="url"/>
</restriction>
</simpleType>
</attribute>
<attribute name="href" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="view" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="preferred_height" type="{http://www.w3.org/2001/XMLSchema}integer" />
<attribute name="preferred_width" type="{http://www.w3.org/2001/XMLSchema}integer" />
</extension>
</simpleContent>
</complexType>
</element>
</sequence>
</restriction>
</complexContent>
</complexType>
| Nested Class Summary | |
|---|---|
static class |
Module.Content
Java class for anonymous complex type. |
static class |
Module.ModulePrefs
Java class for anonymous complex type. |
static class |
Module.UserPref
Java class for anonymous complex type. |
| Field Summary | |
|---|---|
protected List<Module.Content> |
content
|
protected Module.ModulePrefs |
modulePrefs
|
protected List<Module.UserPref> |
userPref
|
| Constructor Summary | |
|---|---|
Module()
|
|
| 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)
|
List<Module.Content> |
getContent()
Gets the value of the content property. |
Module.ModulePrefs |
getModulePrefs()
Gets the value of the modulePrefs property. |
List<Module.UserPref> |
getUserPref()
Gets the value of the userPref property. |
int |
hashCode()
|
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
|
void |
setModulePrefs(Module.ModulePrefs value)
Sets the value of the modulePrefs property. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Module.ModulePrefs modulePrefs
protected List<Module.UserPref> userPref
protected List<Module.Content> content
| Constructor Detail |
|---|
public Module()
| Method Detail |
|---|
public Module.ModulePrefs getModulePrefs()
Module.ModulePrefspublic void setModulePrefs(Module.ModulePrefs value)
value - allowed object is
Module.ModulePrefspublic List<Module.UserPref> getUserPref()
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 userPref property.
For example, to add a new item, do as follows:
getUserPref().add(newItem);
Objects of the following type(s) are allowed in the list
Module.UserPref
public List<Module.Content> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Module.Content
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString
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)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(Object object)
equals in class Object
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||