|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 | |
|---|---|
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. |
| Method Detail |
|---|
DescriptionType[] getDescription()
DescriptionTypeDescriptionType getDescription(int idx)
DescriptionTypeint getDescriptionLength()
void setDescription(DescriptionType[] values)
values - allowed objects are
DescriptionType
DescriptionType setDescription(int idx,
DescriptionType value)
value - allowed object is
DescriptionTypeQName getQname()
QNamevoid setQname(QName value)
value - allowed object is
QNameString getName()
Stringvoid setName(String value)
value - allowed object is
StringQName[] getAlias()
QNameQName getAlias(int idx)
QNameint getAliasLength()
void setAlias(QName[] values)
values - allowed objects are
QName
QName setAlias(int idx,
QName value)
value - allowed object is
QNameString getValueType()
Stringvoid setValueType(String value)
value - allowed object is
StringString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||