org.apache.geronimo.system.configuration
Class GBeanOverride

java.lang.Object
  extended by org.apache.geronimo.system.configuration.GBeanOverride
All Implemented Interfaces:
Serializable

public class GBeanOverride
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
GBeanOverride(org.apache.geronimo.gbean.AbstractName name, boolean load)
           
GBeanOverride(Element gbean)
           
GBeanOverride(org.apache.geronimo.gbean.GBeanData gbeanData)
           
GBeanOverride(String name, boolean load)
           
 
Method Summary
static String getAsText(Object value, String type)
           
 String getAttribute(String attributeName)
           
 Map getAttributes()
           
 boolean getClearAttribute(String attributeName)
           
 ArrayList getClearAttributes()
           
 boolean getClearReference(String referenceName)
           
 ArrayList getClearReferences()
           
 String getGBeanInfo()
           
 Object getName()
           
 boolean getNullAttribute(String attributeName)
           
 ArrayList getNullAttributes()
           
 org.apache.geronimo.gbean.ReferencePatterns getReferencePatterns(String name)
           
 Map getReferences()
           
 boolean isLoad()
           
 void setAttribute(String attributeName, Object attributeValue, String attributeType)
           
 void setAttribute(String attributeName, String attributeValue)
           
 void setClearAttribute(String attributeName)
           
 void setClearReference(String referenceName)
           
 void setLoad(boolean load)
           
 void setNullAttribute(String attributeName)
           
 void setReferencePatterns(String name, org.apache.geronimo.gbean.ReferencePatterns patterns)
           
 Element writeXml(Document doc, Element parent)
          Creates a new child of the supplied parent with the data for this GBeanOverride, adds it to the parent, and then returns the new child element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GBeanOverride

public GBeanOverride(String name,
                     boolean load)

GBeanOverride

public GBeanOverride(org.apache.geronimo.gbean.AbstractName name,
                     boolean load)

GBeanOverride

public GBeanOverride(org.apache.geronimo.gbean.GBeanData gbeanData)
              throws InvalidAttributeException
Throws:
InvalidAttributeException

GBeanOverride

public GBeanOverride(Element gbean)
              throws org.apache.geronimo.kernel.InvalidGBeanException
Throws:
org.apache.geronimo.kernel.InvalidGBeanException
Method Detail

getName

public Object getName()

getGBeanInfo

public String getGBeanInfo()

isLoad

public boolean isLoad()

setLoad

public void setLoad(boolean load)

getAttributes

public Map getAttributes()

getAttribute

public String getAttribute(String attributeName)

getClearAttributes

public ArrayList getClearAttributes()

getNullAttributes

public ArrayList getNullAttributes()

getNullAttribute

public boolean getNullAttribute(String attributeName)

getClearAttribute

public boolean getClearAttribute(String attributeName)

getClearReferences

public ArrayList getClearReferences()

getClearReference

public boolean getClearReference(String referenceName)

setClearAttribute

public void setClearAttribute(String attributeName)

setNullAttribute

public void setNullAttribute(String attributeName)

setClearReference

public void setClearReference(String referenceName)

setAttribute

public void setAttribute(String attributeName,
                         Object attributeValue,
                         String attributeType)
                  throws InvalidAttributeException
Throws:
InvalidAttributeException

setAttribute

public void setAttribute(String attributeName,
                         String attributeValue)

getReferences

public Map getReferences()

getReferencePatterns

public org.apache.geronimo.gbean.ReferencePatterns getReferencePatterns(String name)

setReferencePatterns

public void setReferencePatterns(String name,
                                 org.apache.geronimo.gbean.ReferencePatterns patterns)

writeXml

public Element writeXml(Document doc,
                        Element parent)
Creates a new child of the supplied parent with the data for this GBeanOverride, adds it to the parent, and then returns the new child element.


getAsText

public static String getAsText(Object value,
                               String type)
                        throws InvalidAttributeException
Throws:
InvalidAttributeException


Copyright © 2006 Apache Software Foundation. All Rights Reserved.