net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.portlet.app200
Interface EventDefinitionType

All Known Implementing Classes:
EventDefinitionTypeImpl

public interface EventDefinitionType

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>
 


Method Summary
 List<QName> getAlias()
          Gets the value of the alias property.
 List<DescriptionType> getDescription()
          Gets the value of the description property.
 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.
 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.
 

Method Detail

getDescription

List<DescriptionType> getDescription()
Gets the value of the description 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 description property.

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

    getDescription().add(newItem);
 

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


getQname

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

Returns:
possible object is QName

setQname

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

Parameters:
value - allowed object is QName

getName

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

Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getAlias

List<QName> getAlias()
Gets the value of the alias 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 alias property.

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

    getAlias().add(newItem);
 

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


getValueType

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

Returns:
possible object is String

setValueType

void setValueType(String value)
Sets the value of the valueType property.

Parameters:
value - allowed object is String

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.