net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl
Class PortletTypeImpl

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl.PortletTypeImpl
All Implemented Interfaces:
Serializable, Cloneable, PortletType

public class PortletTypeImpl
extends Object
implements Serializable, Cloneable, PortletType

See Also:
Serialized Form

Field Summary
protected  List<javax.xml.bind.JAXBElement<?>> content
           
protected  String id
           
 
Constructor Summary
PortletTypeImpl()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl.PortletTypeImpl instance.
PortletTypeImpl(PortletTypeImpl o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl.PortletTypeImpl instance by copying a given instance.
 
Method Summary
 PortletTypeImpl clone()
          Creates and returns a copy of this object.
 List<javax.xml.bind.JAXBElement<?>> getContent()
          Gets the rest of the content model.
 String getId()
          Gets the value of the id property.
 void setId(String value)
          Sets the value of the id property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<javax.xml.bind.JAXBElement<?>> content

id

protected String id
Constructor Detail

PortletTypeImpl

public PortletTypeImpl()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl.PortletTypeImpl instance.


PortletTypeImpl

public PortletTypeImpl(PortletTypeImpl o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100.impl.PortletTypeImpl instance by copying a given instance.

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

getContent

public List<javax.xml.bind.JAXBElement<?>> getContent()
Description copied from interface: PortletType
Gets the rest of the content model.

You are getting this "catch-all" property because of the following reason: The field name "PortletInfo" is used by two different parts of a schema. See: line 240 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/portlet-app_1_0.xsd line 238 of file:/var/lib/continuum/Sources/ccxjc.svn.sourceforge.net/ccxjc/trunk/target/checkout/cc-xjc-it/src/main/schemas/portlet-app_1_0.xsd

To get rid of this property, apply a property customization to one of both of the following declarations to change their names: Gets the value of the content 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 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 JAXBElement<PortletPreferencesType> JAXBElement<PortletInfoType> JAXBElement<SecurityRoleRefType> JAXBElement<DisplayNameType> JAXBElement<String> JAXBElement<ExpirationCacheType> JAXBElement<InitParamType> JAXBElement<DescriptionType> JAXBElement<PortletNameType> JAXBElement<SupportsType> JAXBElement<SupportedLocaleType> JAXBElement<ResourceBundleType>

Specified by:
getContent in interface PortletType

getId

public String getId()
Description copied from interface: PortletType
Gets the value of the id property.

Specified by:
getId in interface PortletType
Returns:
possible object is String

setId

public void setId(String value)
Description copied from interface: PortletType
Sets the value of the id property.

Specified by:
setId in interface PortletType
Parameters:
value - allowed object is String

clone

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