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

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

public class GbeanType
extends Object
implements Serializable

Element used by the plugin system to list individual GBeans. Note that the name attribute for a gbean element may hold either the full GBeanName, or only the value for the "name=" portion of the GBeanName. If there are multiple GBeans in the module with manageable attributes and the same "name=" portion of the GBeanName, then all must be listed and all must be listed with a full GBeanName.

Java class for gbeanType complex type.

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

 <complexType name="gbeanType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="comment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <choice maxOccurs="unbounded" minOccurs="0">
           <element ref="{http://geronimo.apache.org/xml/ns/attributes-1.2}attribute"/>
           <element name="reference" type="{http://geronimo.apache.org/xml/ns/attributes-1.2}referenceType"/>
         </choice>
       </sequence>
       <attribute name="gbeanInfo" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="load" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> attributeOrReference
           
protected  String comment
           
protected  String gbeanInfo
           
protected  Boolean load
           
protected  String name
           
 
Constructor Summary
GbeanType()
           
 
Method Summary
 List<Object> getAttributeOrReference()
          Gets the value of the attributeOrReference property.
 String getComment()
          Gets the value of the comment property.
 String getGbeanInfo()
          Gets the value of the gbeanInfo property.
 String getName()
          Gets the value of the name property.
 boolean isLoad()
          Gets the value of the load property.
 void setComment(String value)
          Sets the value of the comment property.
 void setGbeanInfo(String value)
          Sets the value of the gbeanInfo property.
 void setLoad(Boolean value)
          Sets the value of the load property.
 void setName(String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

comment

protected String comment

attributeOrReference

protected List<Object> attributeOrReference

gbeanInfo

protected String gbeanInfo

load

protected Boolean load

name

protected String name
Constructor Detail

GbeanType

public GbeanType()
Method Detail

getComment

public String getComment()
Gets the value of the comment property.

Returns:
possible object is String

setComment

public void setComment(String value)
Sets the value of the comment property.

Parameters:
value - allowed object is String

getAttributeOrReference

public List<Object> getAttributeOrReference()
Gets the value of the attributeOrReference 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 attributeOrReference property.

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

    getAttributeOrReference().add(newItem);
 

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


getGbeanInfo

public String getGbeanInfo()
Gets the value of the gbeanInfo property.

Returns:
possible object is String

setGbeanInfo

public void setGbeanInfo(String value)
Sets the value of the gbeanInfo property.

Parameters:
value - allowed object is String

isLoad

public boolean isLoad()
Gets the value of the load property.

Returns:
possible object is Boolean

setLoad

public void setLoad(Boolean value)
Sets the value of the load property.

Parameters:
value - allowed object is Boolean

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


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