sbnmarc
Class CancellaType

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

public class CancellaType
extends sbnmarcBase
implements java.io.Serializable

per cancellazione documenti o elementi di authority

See Also:
Serialized Form

Constructor Summary
CancellaType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getIdCancella()
          Method getIdCancellaReturns the value of field 'idCancella'.
 SbnOggetto getTipoOggetto()
          Method getTipoOggettoReturns the value of field 'tipoOggetto'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setIdCancella(java.lang.String idCancella)
          Method setIdCancellaSets the value of field 'idCancella'.
 void setTipoOggetto(SbnOggetto tipoOggetto)
          Method setTipoOggettoSets the value of field 'tipoOggetto'.
static CancellaType unmarshalCancellaType(java.io.Reader reader)
          Method unmarshalCancellaType
 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

CancellaType

public CancellaType()
Method Detail

equals

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

Overrides:
equals in class sbnmarcBase
Parameters:
obj -

getIdCancella

public java.lang.String getIdCancella()
Method getIdCancellaReturns the value of field 'idCancella'.

Returns:
the value of field 'idCancella'.

getTipoOggetto

public SbnOggetto getTipoOggetto()
Method getTipoOggettoReturns the value of field 'tipoOggetto'.

Returns:
the value of field 'tipoOggetto'.

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

setIdCancella

public void setIdCancella(java.lang.String idCancella)
Method setIdCancellaSets the value of field 'idCancella'.

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

setTipoOggetto

public void setTipoOggetto(SbnOggetto tipoOggetto)
Method setTipoOggettoSets the value of field 'tipoOggetto'.

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

unmarshalCancellaType

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

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