org.apache.geronimo.system.plugin.model
Class PluginType

java.lang.Object
  extended by org.apache.geronimo.system.plugin.model.PluginType
All Implemented Interfaces:
Serializable

public class PluginType
extends Object
implements Serializable

Java class for pluginType complex type.

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

 <complexType name="pluginType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="category" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="author" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="license" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}licenseType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="plugin-artifact" type="{http://geronimo.apache.org/xml/ns/plugins-1.3}pluginArtifactType" maxOccurs="unbounded"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String author
           
protected  String category
           
protected  String description
           
protected  List<LicenseType> license
           
protected  String name
           
protected  List<PluginArtifactType> pluginArtifact
           
protected  String url
           
 
Constructor Summary
PluginType()
           
 
Method Summary
 String getAuthor()
          Gets the value of the author property.
 String getCategory()
          Gets the value of the category property.
 String getDescription()
          Gets the value of the description property.
 List<LicenseType> getLicense()
          Gets the value of the license property.
 String getName()
          Gets the value of the name property.
 List<PluginArtifactType> getPluginArtifact()
          Gets the value of the pluginArtifact property.
 String getUrl()
          Gets the value of the url property.
 void setAuthor(String value)
          Sets the value of the author property.
 void setCategory(String value)
          Sets the value of the category property.
 void setDescription(String value)
          Sets the value of the description property.
 void setName(String value)
          Sets the value of the name property.
 void setUrl(String value)
          Sets the value of the url property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

category

protected String category

description

protected String description

url

protected String url

author

protected String author

license

protected List<LicenseType> license

pluginArtifact

protected List<PluginArtifactType> pluginArtifact
Constructor Detail

PluginType

public PluginType()
Method Detail

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

getCategory

public String getCategory()
Gets the value of the category property.

Returns:
possible object is String

setCategory

public void setCategory(String value)
Sets the value of the category property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getUrl

public String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

getAuthor

public String getAuthor()
Gets the value of the author property.

Returns:
possible object is String

setAuthor

public void setAuthor(String value)
Sets the value of the author property.

Parameters:
value - allowed object is String

getLicense

public List<LicenseType> getLicense()
Gets the value of the license 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 license property.

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

    getLicense().add(newItem);
 

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


getPluginArtifact

public List<PluginArtifactType> getPluginArtifact()
Gets the value of the pluginArtifact 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 pluginArtifact property.

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

    getPluginArtifact().add(newItem);
 

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



Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.