/* * This class was automatically generated with * <a href="http://www.castor.org">Castor 0.9.5.4</a>, using an XML * Schema. * $Id: LI_Innskra.java,v 1.1 2005/03/15 11:35:07 birna Exp $ */ package is.idega.block.finance.business.li.sign_in; //---------------------------------/ //- Imported classes and packages -/ //---------------------------------/ import java.io.IOException; import org.exolab.castor.xml.MarshalException; import org.exolab.castor.xml.Marshaller; import org.exolab.castor.xml.Unmarshaller; import org.exolab.castor.xml.ValidationException; /** * Class LI_Innskra. * * @version $Revision: 1.1 $ $Date: 2005/03/15 11:35:07 $ */ public class LI_Innskra implements java.io.Serializable { //--------------------------/ //- Class/Member Variables -/ //--------------------------/ /** * Field _version */ private java.math.BigDecimal _version; /** * Field _notandanafn */ private java.lang.String _notandanafn; /** * Field _lykilord */ private java.lang.String _lykilord; //----------------/ //- Constructors -/ //----------------/ public LI_Innskra() { super(); } //-- is.idega.block.finance.business.li.sign_in.LI_Innskra() //-----------/ //- Methods -/ //-----------/ /** * Returns the value of field 'lykilord'. * * @return String * @return the value of field 'lykilord'. */ public java.lang.String getLykilord() { return this._lykilord; } //-- java.lang.String getLykilord() /** * Returns the value of field 'notandanafn'. * * @return String * @return the value of field 'notandanafn'. */ public java.lang.String getNotandanafn() { return this._notandanafn; } //-- java.lang.String getNotandanafn() /** * Returns the value of field 'version'. * * @return BigDecimal * @return the value of field 'version'. */ public java.math.BigDecimal getVersion() { return this._version; } //-- java.math.BigDecimal getVersion() /** * Method isValid * * * * @return boolean */ public boolean isValid() { try { validate(); } catch (org.exolab.castor.xml.ValidationException vex) { return false; } return true; } //-- boolean isValid() /** * Method marshal * * * * @param out */ public void marshal(java.io.Writer out, String noNamespaceSchemaLocation) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { try { Marshaller marshaller = new Marshaller(out); marshaller.setNoNamespaceSchemaLocation(noNamespaceSchemaLocation); marshaller.setSuppressXSIType(true); marshaller.marshal(this); } catch (MarshalException e) { e.printStackTrace(); } catch (ValidationException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } //-- void marshal(java.io.Writer) /** * Method marshal * * * * @param handler */ public void marshal(org.xml.sax.ContentHandler handler) throws java.io.IOException, org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { Marshaller.marshal(this, handler); } //-- void marshal(org.xml.sax.ContentHandler) /** * Sets the value of field 'lykilord'. * * @param lykilord the value of field 'lykilord'. */ public void setLykilord(java.lang.String lykilord) { this._lykilord = lykilord; } //-- void setLykilord(java.lang.String) /** * Sets the value of field 'notandanafn'. * * @param notandanafn the value of field 'notandanafn'. */ public void setNotandanafn(java.lang.String notandanafn) { this._notandanafn = notandanafn; } //-- void setNotandanafn(java.lang.String) /** * Sets the value of field 'version'. * * @param version the value of field 'version'. */ public void setVersion(java.math.BigDecimal version) { this._version = version; } //-- void setVersion(java.math.BigDecimal) /** * Method unmarshal * * * * @param reader * @return Object */ public static java.lang.Object unmarshal(java.io.Reader reader) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { return (is.idega.block.finance.business.li.sign_in.LI_Innskra) Unmarshaller.unmarshal(is.idega.block.finance.business.li.sign_in.LI_Innskra.class, reader); } //-- java.lang.Object unmarshal(java.io.Reader) /** * Method validate * */ public void validate() throws org.exolab.castor.xml.ValidationException { org.exolab.castor.xml.Validator validator = new org.exolab.castor.xml.Validator(); validator.validate(this); } //-- void validate() }