net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200
Class EventDefinitionType

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

public class EventDefinitionType
extends Object
implements Serializable, Cloneable

The event-definitionType is used to declare events the portlet can either receive or emit. The name must be unique and must be the one the portlet is using in its code for referencing this event. Used in: portlet-app

Java class for event-definitionType complex type.

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

 <complexType name="event-definitionType">
   <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"/>
         <choice>
           <element name="qname" type="{http://www.w3.org/2001/XMLSchema}QName"/>
           <element name="name" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
         </choice>
         <element name="alias" type="{http://www.w3.org/2001/XMLSchema}QName" maxOccurs="unbounded" minOccurs="0"/>
         <element name="value-type" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}fully-qualified-classType" 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  QName[] alias
           
protected  DescriptionType[] description
           
protected  String id
           
protected  String name
           
protected  QName qname
           
protected  String valueType
           
 
Constructor Summary
EventDefinitionType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.EventDefinitionType instance.
EventDefinitionType(EventDefinitionType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.EventDefinitionType instance by copying a given instance.
 
Method Summary
 EventDefinitionType clone()
          Creates and returns a copy of this object.
 void copyAlias(QName[] source)
          Copies all values of property Alias.
 void copyDescription(DescriptionType[] source)
          Copies all values of property Description.
 QName[] getAlias()
           
 QName getAlias(int idx)
           
 int getAliasLength()
           
 DescriptionType[] getDescription()
           
 DescriptionType getDescription(int idx)
           
 int getDescriptionLength()
           
 String getId()
          Gets the value of the id property.
 String getName()
          Gets the value of the name property.
 QName getQname()
          Gets the value of the qname property.
 String getValueType()
          Gets the value of the valueType property.
 QName setAlias(int idx, QName value)
           
 void setAlias(QName[] values)
           
 void setDescription(DescriptionType[] values)
           
 DescriptionType setDescription(int idx, DescriptionType value)
           
 void setId(String value)
          Sets the value of the id property.
 void setName(String value)
          Sets the value of the name property.
 void setQname(QName value)
          Sets the value of the qname property.
 void setValueType(String value)
          Sets the value of the valueType property.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType[] description

qname

protected QName qname

name

protected String name

alias

protected QName[] alias

valueType

protected String valueType

id

protected String id
Constructor Detail

EventDefinitionType

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


EventDefinitionType

public EventDefinitionType(EventDefinitionType o)
Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app200.EventDefinitionType 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

getQname

public QName getQname()
Gets the value of the qname property.

Returns:
possible object is QName

setQname

public void setQname(QName value)
Sets the value of the qname property.

Parameters:
value - allowed object is QName

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getAlias

public QName[] getAlias()
Returns:
array of QName

getAlias

public QName getAlias(int idx)
Returns:
one of QName

getAliasLength

public int getAliasLength()

setAlias

public void setAlias(QName[] values)
Parameters:
values - allowed objects are QName

setAlias

public QName setAlias(int idx,
                      QName value)
Parameters:
value - allowed object is QName

getValueType

public String getValueType()
Gets the value of the valueType property.

Returns:
possible object is String

setValueType

public void setValueType(String value)
Sets the value of the valueType 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

copyDescription

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

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

copyAlias

public void copyAlias(QName[] source)
Copies all values of property Alias.

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

clone

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