org.hardcode.juf.update
Class Update

java.lang.Object
  extended by org.hardcode.juf.update.Update
All Implemented Interfaces:
java.io.Serializable

public class Update
extends java.lang.Object
implements java.io.Serializable

Class Update.

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

Constructor Summary
Update()
           
 
Method Summary
 void addFeature(Feature vFeature)
          Method addFeature
 void addFeature(int index, Feature vFeature)
          Method addFeature
 void deleteVersion()
          Method deleteVersion
 java.util.Enumeration enumerateFeature()
          Method enumerateFeature
 java.lang.String getComponentName()
          Returns the value of field 'componentName'.
 Feature[] getFeature()
          Method getFeature
 Feature getFeature(int index)
          Method getFeature
 int getFeatureCount()
          Method getFeatureCount
 Installer getInstaller()
          Returns the value of field 'installer'.
 int getVersion()
          Returns the value of field 'version'.
 boolean hasVersion()
          Method hasVersion
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void removeAllFeature()
          Method removeAllFeature
 Feature removeFeature(int index)
          Method removeFeature
 void setComponentName(java.lang.String componentName)
          Sets the value of field 'componentName'.
 void setFeature(Feature[] featureArray)
          Method setFeature
 void setFeature(int index, Feature vFeature)
          Method setFeature
 void setInstaller(Installer installer)
          Sets the value of field 'installer'.
 void setVersion(int version)
          Sets the value of field 'version'.
static java.lang.Object 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

Update

public Update()
Method Detail

addFeature

public void addFeature(Feature vFeature)
                throws java.lang.IndexOutOfBoundsException
Method addFeature

Parameters:
vFeature -
Throws:
java.lang.IndexOutOfBoundsException

addFeature

public void addFeature(int index,
                       Feature vFeature)
                throws java.lang.IndexOutOfBoundsException
Method addFeature

Parameters:
index -
vFeature -
Throws:
java.lang.IndexOutOfBoundsException

deleteVersion

public void deleteVersion()
Method deleteVersion


enumerateFeature

public java.util.Enumeration enumerateFeature()
Method enumerateFeature


getComponentName

public java.lang.String getComponentName()
Returns the value of field 'componentName'.

Returns:
the value of field 'componentName'.

getFeature

public Feature getFeature(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getFeature

Parameters:
index -
Throws:
java.lang.IndexOutOfBoundsException

getFeature

public Feature[] getFeature()
Method getFeature


getFeatureCount

public int getFeatureCount()
Method getFeatureCount


getInstaller

public Installer getInstaller()
Returns the value of field 'installer'.

Returns:
the value of field 'installer'.

getVersion

public int getVersion()
Returns the value of field 'version'.

Returns:
the value of field 'version'.

hasVersion

public boolean hasVersion()
Method hasVersion


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 -
Throws:
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 -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removeAllFeature

public void removeAllFeature()
Method removeAllFeature


removeFeature

public Feature removeFeature(int index)
Method removeFeature

Parameters:
index -

setComponentName

public void setComponentName(java.lang.String componentName)
Sets the value of field 'componentName'.

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

setFeature

public void setFeature(int index,
                       Feature vFeature)
                throws java.lang.IndexOutOfBoundsException
Method setFeature

Parameters:
index -
vFeature -
Throws:
java.lang.IndexOutOfBoundsException

setFeature

public void setFeature(Feature[] featureArray)
Method setFeature

Parameters:
featureArray -

setInstaller

public void setInstaller(Installer installer)
Sets the value of field 'installer'.

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

setVersion

public void setVersion(int version)
Sets the value of field 'version'.

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

unmarshal

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

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

validate

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

Throws:
org.exolab.castor.xml.ValidationException


Copyright © 2005 . All Rights Reserved.