org.scrashmeow.ojb.console.config
Class WidgetDefinition

java.lang.Object
  |
  +--org.scrashmeow.ojb.console.GeneratedObject
        |
        +--org.scrashmeow.ojb.console.config.WidgetDefinition
All Implemented Interfaces:
java.io.Serializable

public class WidgetDefinition
extends GeneratedObject
implements java.io.Serializable

Class WidgetDefinition.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
WidgetDefinition()
           
 
Method Summary
 void addWidgetDefinitionParam(int index, WidgetDefinitionParam vWidgetDefinitionParam)
          Method addWidgetDefinitionParam
 void addWidgetDefinitionParam(WidgetDefinitionParam vWidgetDefinitionParam)
          Method addWidgetDefinitionParam
 void clearWidgetDefinitionParam()
          Method clearWidgetDefinitionParam
 java.util.Enumeration enumerateWidgetDefinitionParam()
          Method enumerateWidgetDefinitionParam
 java.lang.String getClassName()
          Method getClassNameReturns the value of field 'className'.
 java.lang.String getDefinition()
          Method getDefinitionReturns the value of field 'definition'.
 java.lang.String getId()
          Method getIdReturns the value of field 'id'.
 WidgetDefinitionParam[] getWidgetDefinitionParam()
          Method getWidgetDefinitionParam
 WidgetDefinitionParam getWidgetDefinitionParam(int index)
          Method getWidgetDefinitionParam
 int getWidgetDefinitionParamCount()
          Method getWidgetDefinitionParamCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeWidgetDefinitionParam(WidgetDefinitionParam vWidgetDefinitionParam)
          Method removeWidgetDefinitionParam
 void setClassName(java.lang.String className)
          Method setClassNameSets the value of field 'className'.
 void setDefinition(java.lang.String definition)
          Method setDefinitionSets the value of field 'definition'.
 void setId(java.lang.String id)
          Method setIdSets the value of field 'id'.
 void setWidgetDefinitionParam(int index, WidgetDefinitionParam vWidgetDefinitionParam)
          Method setWidgetDefinitionParam
 void setWidgetDefinitionParam(WidgetDefinitionParam[] widgetDefinitionParamArray)
          Method setWidgetDefinitionParam
static WidgetDefinition unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WidgetDefinition

public WidgetDefinition()
Method Detail

addWidgetDefinitionParam

public void addWidgetDefinitionParam(WidgetDefinitionParam vWidgetDefinitionParam)
                              throws java.lang.IndexOutOfBoundsException
Method addWidgetDefinitionParam

Parameters:
vWidgetDefinitionParam -
java.lang.IndexOutOfBoundsException

addWidgetDefinitionParam

public void addWidgetDefinitionParam(int index,
                                     WidgetDefinitionParam vWidgetDefinitionParam)
                              throws java.lang.IndexOutOfBoundsException
Method addWidgetDefinitionParam

Parameters:
index -
vWidgetDefinitionParam -
java.lang.IndexOutOfBoundsException

clearWidgetDefinitionParam

public void clearWidgetDefinitionParam()
Method clearWidgetDefinitionParam


enumerateWidgetDefinitionParam

public java.util.Enumeration enumerateWidgetDefinitionParam()
Method enumerateWidgetDefinitionParam


getClassName

public java.lang.String getClassName()
Method getClassNameReturns the value of field 'className'.

Returns:
the value of field 'className'.

getDefinition

public java.lang.String getDefinition()
Method getDefinitionReturns the value of field 'definition'.

Returns:
the value of field 'definition'.

getId

public java.lang.String getId()
Method getIdReturns the value of field 'id'.

Returns:
the value of field 'id'.

getWidgetDefinitionParam

public WidgetDefinitionParam getWidgetDefinitionParam(int index)
                                               throws java.lang.IndexOutOfBoundsException
Method getWidgetDefinitionParam

Parameters:
index -
java.lang.IndexOutOfBoundsException

getWidgetDefinitionParam

public WidgetDefinitionParam[] getWidgetDefinitionParam()
Method getWidgetDefinitionParam


getWidgetDefinitionParamCount

public int getWidgetDefinitionParamCount()
Method getWidgetDefinitionParamCount


isValid

public boolean isValid()
Method isValid


marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Method marshal

Parameters:
handler -
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeWidgetDefinitionParam

public boolean removeWidgetDefinitionParam(WidgetDefinitionParam vWidgetDefinitionParam)
Method removeWidgetDefinitionParam

Parameters:
vWidgetDefinitionParam -

setClassName

public void setClassName(java.lang.String className)
Method setClassNameSets the value of field 'className'.

Parameters:
className - the value of field 'className'.

setDefinition

public void setDefinition(java.lang.String definition)
Method setDefinitionSets the value of field 'definition'.

Parameters:
definition - the value of field 'definition'.

setId

public void setId(java.lang.String id)
Method setIdSets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setWidgetDefinitionParam

public void setWidgetDefinitionParam(int index,
                                     WidgetDefinitionParam vWidgetDefinitionParam)
                              throws java.lang.IndexOutOfBoundsException
Method setWidgetDefinitionParam

Parameters:
index -
vWidgetDefinitionParam -
java.lang.IndexOutOfBoundsException

setWidgetDefinitionParam

public void setWidgetDefinitionParam(WidgetDefinitionParam[] widgetDefinitionParamArray)
Method setWidgetDefinitionParam

Parameters:
widgetDefinitionParamArray -

unmarshal

public static WidgetDefinition unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Method unmarshal

Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Method validate

org.exolab.castor.xml.ValidationException


Copyright © 2003 Alexander Bibighaus et al. All Rights Reserved.