sbnmarc
Class DocumentoType

java.lang.Object
  |
  +--sbnmarcBase.sbnmarcBase
        |
        +--sbnmarc.DocumentoType
All Implemented Interfaces:
java.io.Serializable

public class DocumentoType
extends sbnmarcBase
implements java.io.Serializable

descrizione di un documento Attributi: statoRecord=da impostare nel servizio di modifica per correggere la parte dati

See Also:
Serialized Form

Constructor Summary
DocumentoType()
           
 
Method Summary
 void addLegamiDocumento(int index, LegamiType vLegamiDocumento)
          Method addLegamiDocumento
 void addLegamiDocumento(LegamiType vLegamiDocumento)
          Method addLegamiDocumento
 void clearLegamiDocumento()
          Method clearLegamiDocumento
 java.util.Enumeration enumerateLegamiDocumento()
          Method enumerateLegamiDocumento
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 DocumentoTypeChoice getDocumentoTypeChoice()
          Method getDocumentoTypeChoiceReturns the value of field 'documentoTypeChoice'.
 LegamiType[] getLegamiDocumento()
          Method getLegamiDocumento
 LegamiType getLegamiDocumento(int index)
          Method getLegamiDocumento
 int getLegamiDocumentoCount()
          Method getLegamiDocumentoCount
 StatoRecord getStatoRecord()
          Method getStatoRecordReturns the value of field 'statoRecord'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 boolean removeLegamiDocumento(LegamiType vLegamiDocumento)
          Method removeLegamiDocumento
 void setDocumentoTypeChoice(DocumentoTypeChoice documentoTypeChoice)
          Method setDocumentoTypeChoiceSets the value of field 'documentoTypeChoice'.
 void setLegamiDocumento(int index, LegamiType vLegamiDocumento)
          Method setLegamiDocumento
 void setLegamiDocumento(LegamiType[] legamiDocumentoArray)
          Method setLegamiDocumento
 void setStatoRecord(StatoRecord statoRecord)
          Method setStatoRecordSets the value of field 'statoRecord'.
static DocumentoType unmarshalDocumentoType(java.io.Reader reader)
          Method unmarshalDocumentoType
 void validate()
          Method validate
 
Methods inherited from class sbnmarcBase.sbnmarcBase
fromStringToRootObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentoType

public DocumentoType()
Method Detail

addLegamiDocumento

public void addLegamiDocumento(LegamiType vLegamiDocumento)
                        throws java.lang.IndexOutOfBoundsException
Method addLegamiDocumento

Parameters:
vLegamiDocumento -
java.lang.IndexOutOfBoundsException

addLegamiDocumento

public void addLegamiDocumento(int index,
                               LegamiType vLegamiDocumento)
                        throws java.lang.IndexOutOfBoundsException
Method addLegamiDocumento

Parameters:
index -
vLegamiDocumento -
java.lang.IndexOutOfBoundsException

clearLegamiDocumento

public void clearLegamiDocumento()
Method clearLegamiDocumento


enumerateLegamiDocumento

public java.util.Enumeration enumerateLegamiDocumento()
Method enumerateLegamiDocumento


equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden

Overrides:
equals in class sbnmarcBase
Parameters:
obj -

getDocumentoTypeChoice

public DocumentoTypeChoice getDocumentoTypeChoice()
Method getDocumentoTypeChoiceReturns the value of field 'documentoTypeChoice'.

Returns:
the value of field 'documentoTypeChoice'.

getLegamiDocumento

public LegamiType getLegamiDocumento(int index)
                              throws java.lang.IndexOutOfBoundsException
Method getLegamiDocumento

Parameters:
index -
java.lang.IndexOutOfBoundsException

getLegamiDocumento

public LegamiType[] getLegamiDocumento()
Method getLegamiDocumento


getLegamiDocumentoCount

public int getLegamiDocumentoCount()
Method getLegamiDocumentoCount


getStatoRecord

public StatoRecord getStatoRecord()
Method getStatoRecordReturns the value of field 'statoRecord'.

Returns:
the value of field 'statoRecord'.

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

removeLegamiDocumento

public boolean removeLegamiDocumento(LegamiType vLegamiDocumento)
Method removeLegamiDocumento

Parameters:
vLegamiDocumento -

setDocumentoTypeChoice

public void setDocumentoTypeChoice(DocumentoTypeChoice documentoTypeChoice)
Method setDocumentoTypeChoiceSets the value of field 'documentoTypeChoice'.

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

setLegamiDocumento

public void setLegamiDocumento(int index,
                               LegamiType vLegamiDocumento)
                        throws java.lang.IndexOutOfBoundsException
Method setLegamiDocumento

Parameters:
index -
vLegamiDocumento -
java.lang.IndexOutOfBoundsException

setLegamiDocumento

public void setLegamiDocumento(LegamiType[] legamiDocumentoArray)
Method setLegamiDocumento

Parameters:
legamiDocumentoArray -

setStatoRecord

public void setStatoRecord(StatoRecord statoRecord)
Method setStatoRecordSets the value of field 'statoRecord'.

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

unmarshalDocumentoType

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

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