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

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

public class AttributeType
extends Object
implements Serializable

Provides the definition of a single named attribute. Attributes are mixed type and can include simple text and elements.

Java class for attributeType complex type.

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

 <complexType name="attributeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <any/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
       <attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="propertyEditor" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Boolean _null
           
protected  List<Object> content
           
protected  String name
           
protected  String propertyEditor
           
 
Constructor Summary
AttributeType()
           
 
Method Summary
 List<Object> getContent()
          Provides the definition of a single named attribute.
 String getName()
          Gets the value of the name property.
 String getPropertyEditor()
          Gets the value of the propertyEditor property.
 boolean isNull()
          Gets the value of the null property.
 void setName(String value)
          Sets the value of the name property.
 void setNull(Boolean value)
          Sets the value of the null property.
 void setPropertyEditor(String value)
          Sets the value of the propertyEditor property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<Object> content

name

protected String name

_null

protected Boolean _null

propertyEditor

protected String propertyEditor
Constructor Detail

AttributeType

public AttributeType()
Method Detail

getContent

public List<Object> getContent()
Provides the definition of a single named attribute. Attributes are mixed type and can include simple text and elements. Gets the value of the content 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 content property.

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

    getContent().add(newItem);
 

Objects of the following type(s) are allowed in the list String Object Element


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

isNull

public boolean isNull()
Gets the value of the null property.

Returns:
possible object is Boolean

setNull

public void setNull(Boolean value)
Sets the value of the null property.

Parameters:
value - allowed object is Boolean

getPropertyEditor

public String getPropertyEditor()
Gets the value of the propertyEditor property.

Returns:
possible object is String

setPropertyEditor

public void setPropertyEditor(String value)
Sets the value of the propertyEditor property.

Parameters:
value - allowed object is String


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