sbnmarc
Class SbnUserType

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

public class SbnUserType
extends sbnmarcBase
implements java.io.Serializable

Informazioni di identificazione client

See Also:
Serialized Form

Constructor Summary
SbnUserType()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getBiblioteca()
          Method getBibliotecaReturns the value of field 'biblioteca'.
 java.lang.String getUserId()
          Method getUserIdReturns the value of field 'userId'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setBiblioteca(java.lang.String biblioteca)
          Method setBibliotecaSets the value of field 'biblioteca'.
 void setUserId(java.lang.String userId)
          Method setUserIdSets the value of field 'userId'.
static SbnUserType unmarshalSbnUserType(java.io.Reader reader)
          Method unmarshalSbnUserType
 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

SbnUserType

public SbnUserType()
Method Detail

equals

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

Overrides:
equals in class sbnmarcBase
Parameters:
obj -

getBiblioteca

public java.lang.String getBiblioteca()
Method getBibliotecaReturns the value of field 'biblioteca'. The field 'biblioteca' has the following description: Codice Biblioteca SBN: composto da codice polo + codice biblioteca

Returns:
the value of field 'biblioteca'.

getUserId

public java.lang.String getUserId()
Method getUserIdReturns the value of field 'userId'.

Returns:
the value of field 'userId'.

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

setBiblioteca

public void setBiblioteca(java.lang.String biblioteca)
Method setBibliotecaSets the value of field 'biblioteca'. The field 'biblioteca' has the following description: Codice Biblioteca SBN: composto da codice polo + codice biblioteca

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

setUserId

public void setUserId(java.lang.String userId)
Method setUserIdSets the value of field 'userId'.

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

unmarshalSbnUserType

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

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