org.opennms.netmgt.config.capsd
Class SmbConfig

java.lang.Object
  extended by org.opennms.netmgt.config.capsd.SmbConfig
All Implemented Interfaces:
java.io.Serializable

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

SMB configuration

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

Constructor Summary
SmbConfig()
           
 
Method Summary
 void addSmbAuth(int index, SmbAuth vSmbAuth)
          Method addSmbAuth
 void addSmbAuth(SmbAuth vSmbAuth)
          Method addSmbAuth
 void clearSmbAuth()
          Method clearSmbAuth
 java.util.Enumeration enumerateSmbAuth()
          Method enumerateSmbAuth
 SmbAuth[] getSmbAuth()
          Method getSmbAuth
 SmbAuth getSmbAuth(int index)
          Method getSmbAuth
 java.util.ArrayList getSmbAuthCollection()
          Method getSmbAuthCollection Returns a reference to 'smbAuth'.
 int getSmbAuthCount()
          Method getSmbAuthCount
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeSmbAuth(SmbAuth vSmbAuth)
          Method removeSmbAuth
 void setSmbAuth(java.util.ArrayList smbAuthCollection)
          Method setSmbAuth Sets the value of 'smbAuth' by copying the given ArrayList.
 void setSmbAuth(int index, SmbAuth vSmbAuth)
          Method setSmbAuth
 void setSmbAuth(SmbAuth[] smbAuthArray)
          Method setSmbAuth
 void setSmbAuthCollection(java.util.ArrayList smbAuthCollection)
          Method setSmbAuthCollection Sets the value of 'smbAuth' by setting it to the given ArrayList.
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

SmbConfig

public SmbConfig()
Method Detail

addSmbAuth

public void addSmbAuth(SmbAuth vSmbAuth)
                throws java.lang.IndexOutOfBoundsException
Method addSmbAuth

Parameters:
vSmbAuth -
Throws:
java.lang.IndexOutOfBoundsException

addSmbAuth

public void addSmbAuth(int index,
                       SmbAuth vSmbAuth)
                throws java.lang.IndexOutOfBoundsException
Method addSmbAuth

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

clearSmbAuth

public void clearSmbAuth()
Method clearSmbAuth


enumerateSmbAuth

public java.util.Enumeration enumerateSmbAuth()
Method enumerateSmbAuth

Returns:
Enumeration

getSmbAuth

public SmbAuth getSmbAuth(int index)
                   throws java.lang.IndexOutOfBoundsException
Method getSmbAuth

Parameters:
index -
Returns:
SmbAuth
Throws:
java.lang.IndexOutOfBoundsException

getSmbAuth

public SmbAuth[] getSmbAuth()
Method getSmbAuth

Returns:
SmbAuth

getSmbAuthCollection

public java.util.ArrayList getSmbAuthCollection()
Method getSmbAuthCollection Returns a reference to 'smbAuth'. No type checking is performed on any modications to the Collection.

Returns:
ArrayList

getSmbAuthCount

public int getSmbAuthCount()
Method getSmbAuthCount

Returns:
int

isValid

public boolean isValid()
Method isValid

Returns:
boolean

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

removeSmbAuth

public boolean removeSmbAuth(SmbAuth vSmbAuth)
Method removeSmbAuth

Parameters:
vSmbAuth -
Returns:
boolean

setSmbAuth

public void setSmbAuth(int index,
                       SmbAuth vSmbAuth)
                throws java.lang.IndexOutOfBoundsException
Method setSmbAuth

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

setSmbAuth

public void setSmbAuth(SmbAuth[] smbAuthArray)
Method setSmbAuth

Parameters:
smbAuthArray -

setSmbAuth

public void setSmbAuth(java.util.ArrayList smbAuthCollection)
Method setSmbAuth Sets the value of 'smbAuth' by copying the given ArrayList.

Parameters:
smbAuthCollection - the Vector to copy.

setSmbAuthCollection

public void setSmbAuthCollection(java.util.ArrayList smbAuthCollection)
Method setSmbAuthCollection Sets the value of 'smbAuth' by setting it to the given ArrayList. No type checking is performed.

Parameters:
smbAuthCollection - the ArrayList to copy.

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 -
Returns:
Object
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 © 2007. All Rights Reserved.