net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200
Class PortletType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.PortletType
All Implemented Interfaces:
Serializable, Cloneable

public class PortletType
extends Object
implements Serializable, Cloneable

The portlet element contains the declarative data of a portlet. Used in: portlet-app

Java class for portletType complex type.

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

 <complexType name="portletType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}descriptionType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="portlet-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-nameType"/>
         <element name="display-name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}display-nameType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="portlet-class" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-classType"/>
         <element name="init-param" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}init-paramType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="expiration-cache" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}expiration-cacheType" minOccurs="0"/>
         <element name="cache-scope" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}cache-scopeType" minOccurs="0"/>
         <element name="supports" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}supportsType" maxOccurs="unbounded"/>
         <element name="supported-locale" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}supported-localeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="resource-bundle" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}resource-bundleType" minOccurs="0"/>
         <element name="portlet-info" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-infoType" minOccurs="0"/>
         <element name="portlet-preferences" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}portlet-preferencesType" minOccurs="0"/>
         <element name="security-role-ref" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}security-role-refType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-processing-event" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}event-definition-referenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-publishing-event" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}event-definition-referenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="supported-public-render-parameter" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="container-runtime-option" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}container-runtime-optionType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  CacheScopeType cacheScope
           
protected  ContainerRuntimeOptionType[] containerRuntimeOption
           
protected  DescriptionType[] description
           
protected  DisplayNameType[] displayName
           
protected  ExpirationCacheType expirationCache
           
protected  String id
           
protected  InitParamType[] initParam
           
protected  String portletClass
           
protected  PortletInfoType portletInfo
           
protected  PortletNameType portletName
           
protected  PortletPreferencesType portletPreferences
           
protected  ResourceBundleType resourceBundle
           
protected  SecurityRoleRefType[] securityRoleRef
           
protected  SupportedLocaleType[] supportedLocale
           
protected  EventDefinitionReferenceType[] supportedProcessingEvent
           
protected  String[] supportedPublicRenderParameter
           
protected  EventDefinitionReferenceType[] supportedPublishingEvent
           
protected  SupportsType[] supports
           
 
Constructor Summary
PortletType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.PortletType instance.
PortletType(PortletType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.PortletType instance by copying a given instance.
 
Method Summary
 PortletType clone()
          Creates and returns a copy of this object.
protected  void copyContainerRuntimeOption(ContainerRuntimeOptionType[] source)
          Copies all values of property ContainerRuntimeOption.
protected  void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
protected  void copyDisplayName(DisplayNameType[] source)
          Copies all values of property DisplayName.
protected  void copyInitParam(InitParamType[] source)
          Copies all values of property InitParam.
protected  void copySecurityRoleRef(SecurityRoleRefType[] source)
          Copies all values of property SecurityRoleRef.
protected  void copySupportedLocale(SupportedLocaleType[] source)
          Copies all values of property SupportedLocale.
protected  void copySupportedProcessingEvent(EventDefinitionReferenceType[] source)
          Copies all values of property SupportedProcessingEvent.
protected  void copySupportedPublicRenderParameter(String[] source)
          Copies all values of property SupportedPublicRenderParameter.
protected  void copySupportedPublishingEvent(EventDefinitionReferenceType[] source)
          Copies all values of property SupportedPublishingEvent.
protected  void copySupports(SupportsType[] source)
          Copies all values of property Supports.
 CacheScopeType getCacheScope()
          Gets the value of the cacheScope property.
 ContainerRuntimeOptionType[] getContainerRuntimeOption()
           
 ContainerRuntimeOptionType getContainerRuntimeOption(int idx)
           
 int getContainerRuntimeOptionLength()
           
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 DisplayNameType[] getDisplayName()
           
 DisplayNameType getDisplayName(int idx)
           
 int getDisplayNameLength()
           
 ExpirationCacheType getExpirationCache()
          Gets the value of the expirationCache property.
 String getId()
          Gets the value of the id property.
 InitParamType[] getInitParam()
           
 InitParamType getInitParam(int idx)
           
 int getInitParamLength()
           
 String getPortletClass()
          Gets the value of the portletClass property.
 PortletInfoType getPortletInfo()
          Gets the value of the portletInfo property.
 PortletNameType getPortletName()
          Gets the value of the portletName property.
 PortletPreferencesType getPortletPreferences()
          Gets the value of the portletPreferences property.
 ResourceBundleType getResourceBundle()
          Gets the value of the resourceBundle property.
 SecurityRoleRefType[] getSecurityRoleRef()
           
 SecurityRoleRefType getSecurityRoleRef(int idx)
           
 int getSecurityRoleRefLength()
           
 SupportedLocaleType[] getSupportedLocale()
           
 SupportedLocaleType getSupportedLocale(int idx)
           
 int getSupportedLocaleLength()
           
 EventDefinitionReferenceType[] getSupportedProcessingEvent()
           
 EventDefinitionReferenceType getSupportedProcessingEvent(int idx)
           
 int getSupportedProcessingEventLength()
           
 String[] getSupportedPublicRenderParameter()
           
 String getSupportedPublicRenderParameter(int idx)
           
 int getSupportedPublicRenderParameterLength()
           
 EventDefinitionReferenceType[] getSupportedPublishingEvent()
           
 EventDefinitionReferenceType getSupportedPublishingEvent(int idx)
           
 int getSupportedPublishingEventLength()
           
 SupportsType[] getSupports()
           
 SupportsType getSupports(int idx)
           
 int getSupportsLength()
           
 void setCacheScope(CacheScopeType value)
          Sets the value of the cacheScope property.
 void setContainerRuntimeOption(ContainerRuntimeOptionType[] values)
           
 ContainerRuntimeOptionType setContainerRuntimeOption(int idx, ContainerRuntimeOptionType value)
           
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setDisplayName(DisplayNameType[] values)
           
 DisplayNameType setDisplayName(int idx, DisplayNameType value)
           
 void setExpirationCache(ExpirationCacheType value)
          Sets the value of the expirationCache property.
 void setId(String value)
          Sets the value of the id property.
 void setInitParam(InitParamType[] values)
           
 InitParamType setInitParam(int idx, InitParamType value)
           
 void setPortletClass(String value)
          Sets the value of the portletClass property.
 void setPortletInfo(PortletInfoType value)
          Sets the value of the portletInfo property.
 void setPortletName(PortletNameType value)
          Sets the value of the portletName property.
 void setPortletPreferences(PortletPreferencesType value)
          Sets the value of the portletPreferences property.
 void setResourceBundle(ResourceBundleType value)
          Sets the value of the resourceBundle property.
 SecurityRoleRefType setSecurityRoleRef(int idx, SecurityRoleRefType value)
           
 void setSecurityRoleRef(SecurityRoleRefType[] values)
           
 SupportedLocaleType setSupportedLocale(int idx, SupportedLocaleType value)
           
 void setSupportedLocale(SupportedLocaleType[] values)
           
 void setSupportedProcessingEvent(EventDefinitionReferenceType[] values)
           
 EventDefinitionReferenceType setSupportedProcessingEvent(int idx, EventDefinitionReferenceType value)
           
 String setSupportedPublicRenderParameter(int idx, String value)
           
 void setSupportedPublicRenderParameter(String[] values)
           
 void setSupportedPublishingEvent(EventDefinitionReferenceType[] values)
           
 EventDefinitionReferenceType setSupportedPublishingEvent(int idx, EventDefinitionReferenceType value)
           
 SupportsType setSupports(int idx, SupportsType value)
           
 void setSupports(SupportsType[] values)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

portletName

protected PortletNameType portletName

displayName

protected DisplayNameType[] displayName

portletClass

protected String portletClass

initParam

protected InitParamType[] initParam

expirationCache

protected ExpirationCacheType expirationCache

cacheScope

protected CacheScopeType cacheScope

supports

protected SupportsType[] supports

supportedLocale

protected SupportedLocaleType[] supportedLocale

resourceBundle

protected ResourceBundleType resourceBundle

portletInfo

protected PortletInfoType portletInfo

portletPreferences

protected PortletPreferencesType portletPreferences

securityRoleRef

protected SecurityRoleRefType[] securityRoleRef

supportedProcessingEvent

protected EventDefinitionReferenceType[] supportedProcessingEvent

supportedPublishingEvent

protected EventDefinitionReferenceType[] supportedPublishingEvent

supportedPublicRenderParameter

protected String[] supportedPublicRenderParameter

containerRuntimeOption

protected ContainerRuntimeOptionType[] containerRuntimeOption

id

protected String id
Constructor Detail

PortletType

public PortletType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.PortletType instance.


PortletType

public PortletType(PortletType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app200.PortletType instance by copying a given instance.

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

getDescription

public DescriptionType[] getDescription()
Returns:
array of DescriptionType

getDescription

public DescriptionType getDescription(int idx)
Returns:
one of DescriptionType

getDescriptionLength

public int getDescriptionLength()

setDescription

public void setDescription(DescriptionType[] values)
Parameters:
values - allowed objects are DescriptionType

setDescription

public DescriptionType setDescription(int idx,
                                      DescriptionType value)
Parameters:
value - allowed object is DescriptionType

getPortletName

public PortletNameType getPortletName()
Gets the value of the portletName property.

Returns:
possible object is PortletNameType

setPortletName

public void setPortletName(PortletNameType value)
Sets the value of the portletName property.

Parameters:
value - allowed object is PortletNameType

getDisplayName

public DisplayNameType[] getDisplayName()
Returns:
array of DisplayNameType

getDisplayName

public DisplayNameType getDisplayName(int idx)
Returns:
one of DisplayNameType

getDisplayNameLength

public int getDisplayNameLength()

setDisplayName

public void setDisplayName(DisplayNameType[] values)
Parameters:
values - allowed objects are DisplayNameType

setDisplayName

public DisplayNameType setDisplayName(int idx,
                                      DisplayNameType value)
Parameters:
value - allowed object is DisplayNameType

getPortletClass

public String getPortletClass()
Gets the value of the portletClass property.

Returns:
possible object is String

setPortletClass

public void setPortletClass(String value)
Sets the value of the portletClass property.

Parameters:
value - allowed object is String

getInitParam

public InitParamType[] getInitParam()
Returns:
array of InitParamType

getInitParam

public InitParamType getInitParam(int idx)
Returns:
one of InitParamType

getInitParamLength

public int getInitParamLength()

setInitParam

public void setInitParam(InitParamType[] values)
Parameters:
values - allowed objects are InitParamType

setInitParam

public InitParamType setInitParam(int idx,
                                  InitParamType value)
Parameters:
value - allowed object is InitParamType

getExpirationCache

public ExpirationCacheType getExpirationCache()
Gets the value of the expirationCache property.

Returns:
possible object is ExpirationCacheType

setExpirationCache

public void setExpirationCache(ExpirationCacheType value)
Sets the value of the expirationCache property.

Parameters:
value - allowed object is ExpirationCacheType

getCacheScope

public CacheScopeType getCacheScope()
Gets the value of the cacheScope property.

Returns:
possible object is CacheScopeType

setCacheScope

public void setCacheScope(CacheScopeType value)
Sets the value of the cacheScope property.

Parameters:
value - allowed object is CacheScopeType

getSupports

public SupportsType[] getSupports()
Returns:
array of SupportsType

getSupports

public SupportsType getSupports(int idx)
Returns:
one of SupportsType

getSupportsLength

public int getSupportsLength()

setSupports

public void setSupports(SupportsType[] values)
Parameters:
values - allowed objects are SupportsType

setSupports

public SupportsType setSupports(int idx,
                                SupportsType value)
Parameters:
value - allowed object is SupportsType

getSupportedLocale

public SupportedLocaleType[] getSupportedLocale()
Returns:
array of SupportedLocaleType

getSupportedLocale

public SupportedLocaleType getSupportedLocale(int idx)
Returns:
one of SupportedLocaleType

getSupportedLocaleLength

public int getSupportedLocaleLength()

setSupportedLocale

public void setSupportedLocale(SupportedLocaleType[] values)
Parameters:
values - allowed objects are SupportedLocaleType

setSupportedLocale

public SupportedLocaleType setSupportedLocale(int idx,
                                              SupportedLocaleType value)
Parameters:
value - allowed object is SupportedLocaleType

getResourceBundle

public ResourceBundleType getResourceBundle()
Gets the value of the resourceBundle property.

Returns:
possible object is ResourceBundleType

setResourceBundle

public void setResourceBundle(ResourceBundleType value)
Sets the value of the resourceBundle property.

Parameters:
value - allowed object is ResourceBundleType

getPortletInfo

public PortletInfoType getPortletInfo()
Gets the value of the portletInfo property.

Returns:
possible object is PortletInfoType

setPortletInfo

public void setPortletInfo(PortletInfoType value)
Sets the value of the portletInfo property.

Parameters:
value - allowed object is PortletInfoType

getPortletPreferences

public PortletPreferencesType getPortletPreferences()
Gets the value of the portletPreferences property.

Returns:
possible object is PortletPreferencesType

setPortletPreferences

public void setPortletPreferences(PortletPreferencesType value)
Sets the value of the portletPreferences property.

Parameters:
value - allowed object is PortletPreferencesType

getSecurityRoleRef

public SecurityRoleRefType[] getSecurityRoleRef()
Returns:
array of SecurityRoleRefType

getSecurityRoleRef

public SecurityRoleRefType getSecurityRoleRef(int idx)
Returns:
one of SecurityRoleRefType

getSecurityRoleRefLength

public int getSecurityRoleRefLength()

setSecurityRoleRef

public void setSecurityRoleRef(SecurityRoleRefType[] values)
Parameters:
values - allowed objects are SecurityRoleRefType

setSecurityRoleRef

public SecurityRoleRefType setSecurityRoleRef(int idx,
                                              SecurityRoleRefType value)
Parameters:
value - allowed object is SecurityRoleRefType

getSupportedProcessingEvent

public EventDefinitionReferenceType[] getSupportedProcessingEvent()
Returns:
array of EventDefinitionReferenceType

getSupportedProcessingEvent

public EventDefinitionReferenceType getSupportedProcessingEvent(int idx)
Returns:
one of EventDefinitionReferenceType

getSupportedProcessingEventLength

public int getSupportedProcessingEventLength()

setSupportedProcessingEvent

public void setSupportedProcessingEvent(EventDefinitionReferenceType[] values)
Parameters:
values - allowed objects are EventDefinitionReferenceType

setSupportedProcessingEvent

public EventDefinitionReferenceType setSupportedProcessingEvent(int idx,
                                                                EventDefinitionReferenceType value)
Parameters:
value - allowed object is EventDefinitionReferenceType

getSupportedPublishingEvent

public EventDefinitionReferenceType[] getSupportedPublishingEvent()
Returns:
array of EventDefinitionReferenceType

getSupportedPublishingEvent

public EventDefinitionReferenceType getSupportedPublishingEvent(int idx)
Returns:
one of EventDefinitionReferenceType

getSupportedPublishingEventLength

public int getSupportedPublishingEventLength()

setSupportedPublishingEvent

public void setSupportedPublishingEvent(EventDefinitionReferenceType[] values)
Parameters:
values - allowed objects are EventDefinitionReferenceType

setSupportedPublishingEvent

public EventDefinitionReferenceType setSupportedPublishingEvent(int idx,
                                                                EventDefinitionReferenceType value)
Parameters:
value - allowed object is EventDefinitionReferenceType

getSupportedPublicRenderParameter

public String[] getSupportedPublicRenderParameter()
Returns:
array of String

getSupportedPublicRenderParameter

public String getSupportedPublicRenderParameter(int idx)
Returns:
one of String

getSupportedPublicRenderParameterLength

public int getSupportedPublicRenderParameterLength()

setSupportedPublicRenderParameter

public void setSupportedPublicRenderParameter(String[] values)
Parameters:
values - allowed objects are String

setSupportedPublicRenderParameter

public String setSupportedPublicRenderParameter(int idx,
                                                String value)
Parameters:
value - allowed object is String

getContainerRuntimeOption

public ContainerRuntimeOptionType[] getContainerRuntimeOption()
Returns:
array of ContainerRuntimeOptionType

getContainerRuntimeOption

public ContainerRuntimeOptionType getContainerRuntimeOption(int idx)
Returns:
one of ContainerRuntimeOptionType

getContainerRuntimeOptionLength

public int getContainerRuntimeOptionLength()

setContainerRuntimeOption

public void setContainerRuntimeOption(ContainerRuntimeOptionType[] values)
Parameters:
values - allowed objects are ContainerRuntimeOptionType

setContainerRuntimeOption

public ContainerRuntimeOptionType setContainerRuntimeOption(int idx,
                                                            ContainerRuntimeOptionType value)
Parameters:
value - allowed object is ContainerRuntimeOptionType

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

copyDescription

protected void copyDescription(DescriptionType[] source)
Copies all values of property Description.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyDisplayName

protected void copyDisplayName(DisplayNameType[] source)
Copies all values of property DisplayName.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyInitParam

protected void copyInitParam(InitParamType[] source)
Copies all values of property InitParam.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySupports

protected void copySupports(SupportsType[] source)
Copies all values of property Supports.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySupportedLocale

protected void copySupportedLocale(SupportedLocaleType[] source)
Copies all values of property SupportedLocale.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySecurityRoleRef

protected void copySecurityRoleRef(SecurityRoleRefType[] source)
Copies all values of property SecurityRoleRef.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySupportedProcessingEvent

protected void copySupportedProcessingEvent(EventDefinitionReferenceType[] source)
Copies all values of property SupportedProcessingEvent.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySupportedPublishingEvent

protected void copySupportedPublishingEvent(EventDefinitionReferenceType[] source)
Copies all values of property SupportedPublishingEvent.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copySupportedPublicRenderParameter

protected void copySupportedPublicRenderParameter(String[] source)
Copies all values of property SupportedPublicRenderParameter.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

copyContainerRuntimeOption

protected void copyContainerRuntimeOption(ContainerRuntimeOptionType[] source)
Copies all values of property ContainerRuntimeOption.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

clone

public PortletType 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.