net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100
Class PortletAppType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.PortletAppType
All Implemented Interfaces:
Serializable, Cloneable

public class PortletAppType
extends Object
implements Serializable, Cloneable

Java class for portlet-appType complex type.

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

 <complexType name="portlet-appType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="portlet" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}portletType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="custom-portlet-mode" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}custom-portlet-modeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="custom-window-state" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}custom-window-stateType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="user-attribute" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}user-attributeType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="security-constraint" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}security-constraintType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<CustomPortletModeType> customPortletMode
           
protected  List<CustomWindowStateType> customWindowState
           
protected  String id
           
protected  List<PortletType> portlet
           
protected  List<SecurityConstraintType> securityConstraint
           
protected  List<UserAttributeType> userAttribute
           
protected  String version
           
 
Constructor Summary
PortletAppType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.PortletAppType instance.
PortletAppType(PortletAppType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.PortletAppType instance by copying a given instance.
 
Method Summary
 PortletAppType clone()
          Creates and returns a copy of this object.
static void copyCustomPortletMode(List<CustomPortletModeType> source, List<CustomPortletModeType> target)
          Copies all values of property CustomPortletMode.
static void copyCustomWindowState(List<CustomWindowStateType> source, List<CustomWindowStateType> target)
          Copies all values of property CustomWindowState.
static void copyPortlet(List<PortletType> source, List<PortletType> target)
          Copies all values of property Portlet.
static void copySecurityConstraint(List<SecurityConstraintType> source, List<SecurityConstraintType> target)
          Copies all values of property SecurityConstraint.
static void copyUserAttribute(List<UserAttributeType> source, List<UserAttributeType> target)
          Copies all values of property UserAttribute.
 List<CustomPortletModeType> getCustomPortletMode()
          Gets the value of the customPortletMode property.
 List<CustomWindowStateType> getCustomWindowState()
          Gets the value of the customWindowState property.
 String getId()
          Gets the value of the id property.
 List<PortletType> getPortlet()
          Gets the value of the portlet property.
 List<SecurityConstraintType> getSecurityConstraint()
          Gets the value of the securityConstraint property.
 List<UserAttributeType> getUserAttribute()
          Gets the value of the userAttribute property.
 String getVersion()
          Gets the value of the version property.
 void setId(String value)
          Sets the value of the id property.
 void setVersion(String value)
          Sets the value of the version property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portlet

protected List<PortletType> portlet

customPortletMode

protected List<CustomPortletModeType> customPortletMode

customWindowState

protected List<CustomWindowStateType> customWindowState

userAttribute

protected List<UserAttributeType> userAttribute

securityConstraint

protected List<SecurityConstraintType> securityConstraint

version

protected String version

id

protected String id
Constructor Detail

PortletAppType

public PortletAppType()
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.PortletAppType instance.


PortletAppType

public PortletAppType(PortletAppType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.collections.valueclass.portlet.app100.PortletAppType instance by copying a given instance.

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

getPortlet

public List<PortletType> getPortlet()
Gets the value of the portlet 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 portlet property.

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

    getPortlet().add(newItem);
 

Objects of the following type(s) are allowed in the list PortletType


getCustomPortletMode

public List<CustomPortletModeType> getCustomPortletMode()
Gets the value of the customPortletMode 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 customPortletMode property.

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

    getCustomPortletMode().add(newItem);
 

Objects of the following type(s) are allowed in the list CustomPortletModeType


getCustomWindowState

public List<CustomWindowStateType> getCustomWindowState()
Gets the value of the customWindowState 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 customWindowState property.

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

    getCustomWindowState().add(newItem);
 

Objects of the following type(s) are allowed in the list CustomWindowStateType


getUserAttribute

public List<UserAttributeType> getUserAttribute()
Gets the value of the userAttribute 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 userAttribute property.

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

    getUserAttribute().add(newItem);
 

Objects of the following type(s) are allowed in the list UserAttributeType


getSecurityConstraint

public List<SecurityConstraintType> getSecurityConstraint()
Gets the value of the securityConstraint 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 securityConstraint property.

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

    getSecurityConstraint().add(newItem);
 

Objects of the following type(s) are allowed in the list SecurityConstraintType


getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

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

copyPortlet

public static void copyPortlet(List<PortletType> source,
                               List<PortletType> target)
Copies all values of property Portlet.

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

copyCustomPortletMode

public static void copyCustomPortletMode(List<CustomPortletModeType> source,
                                         List<CustomPortletModeType> target)
Copies all values of property CustomPortletMode.

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

copyCustomWindowState

public static void copyCustomWindowState(List<CustomWindowStateType> source,
                                         List<CustomWindowStateType> target)
Copies all values of property CustomWindowState.

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

copyUserAttribute

public static void copyUserAttribute(List<UserAttributeType> source,
                                     List<UserAttributeType> target)
Copies all values of property UserAttribute.

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

copySecurityConstraint

public static void copySecurityConstraint(List<SecurityConstraintType> source,
                                          List<SecurityConstraintType> target)
Copies all values of property SecurityConstraint.

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

clone

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