📄 chaintype.java
字号:
/* * This class was automatically generated with * <a href="http://www.castor.org">Castor 0.9.7</a>, using an XML * Schema. * $Id$ */package com.queplix.core.jxb.entity; //---------------------------------/ //- Imported classes and packages -///---------------------------------/import java.io.IOException;import java.io.Reader;import java.io.Serializable;import java.io.Writer;import org.exolab.castor.xml.MarshalException;import org.exolab.castor.xml.Marshaller;import org.exolab.castor.xml.Unmarshaller;import org.exolab.castor.xml.ValidationException;import org.xml.sax.ContentHandler;/** * The chain descriptor * * @version $Revision$ $Date$ */public class ChainType extends com.queplix.core.utils.jxb.JXBObject implements java.io.Serializable{ //--------------------------/ //- Class/Member Variables -/ //--------------------------/ /** * The first entity name */ private java.lang.String _e1; /** * The second entity name */ private java.lang.String _e2; /** * Internal choice value storage */ private java.lang.Object _choiceValue; /** * The reference to chained dataschema */ private com.queplix.core.jxb.entity.Dsref _dsref; /** * The reference to chained entity */ private com.queplix.core.jxb.entity.Chainref _chainref; /** * No phisical chains between tables */ private com.queplix.core.jxb.entity.Nods _nods; //----------------/ //- Constructors -/ //----------------/ public ChainType() { super(); } //-- com.queplix.core.jxb.entity.ChainType() //-----------/ //- Methods -/ //-----------/ /** * Returns the value of field 'chainref'. The field 'chainref' * has the following description: The reference to chained * entity * * @return Chainref * @return the value of field 'chainref'. */ public com.queplix.core.jxb.entity.Chainref getChainref() { return this._chainref; } //-- com.queplix.core.jxb.entity.Chainref getChainref() /** * Returns the value of field 'choiceValue'. The field * 'choiceValue' has the following description: Internal choice * value storage * * @return Object * @return the value of field 'choiceValue'. */ public java.lang.Object getChoiceValue() { return this._choiceValue; } //-- java.lang.Object getChoiceValue() /** * Returns the value of field 'dsref'. The field 'dsref' has * the following description: The reference to chained * dataschema * * @return Dsref * @return the value of field 'dsref'. */ public com.queplix.core.jxb.entity.Dsref getDsref() { return this._dsref; } //-- com.queplix.core.jxb.entity.Dsref getDsref() /** * Returns the value of field 'e1'. The field 'e1' has the * following description: The first entity name * * @return String * @return the value of field 'e1'. */ public java.lang.String getE1() { return this._e1; } //-- java.lang.String getE1() /** * Returns the value of field 'e2'. The field 'e2' has the * following description: The second entity name * * @return String * @return the value of field 'e2'. */ public java.lang.String getE2() { return this._e2; } //-- java.lang.String getE2() /** * Returns the value of field 'nods'. The field 'nods' has the * following description: No phisical chains between tables * * @return Nods * @return the value of field 'nods'. */ public com.queplix.core.jxb.entity.Nods getNods() { return this._nods; } //-- com.queplix.core.jxb.entity.Nods getNods() /** * 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) throws org.exolab.castor.xml.MarshalException, org.exolab.castor.xml.ValidationException { Marshaller.marshal(this, out); } //-- 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 'chainref'. The field 'chainref' has * the following description: The reference to chained entity * * @param chainref the value of field 'chainref'. */ public void setChainref(com.queplix.core.jxb.entity.Chainref chainref) { this._chainref = chainref; this._choiceValue = chainref; } //-- void setChainref(com.queplix.core.jxb.entity.Chainref) /** * Sets the value of field 'dsref'. The field 'dsref' has the * following description: The reference to chained dataschema * * @param dsref the value of field 'dsref'. */ public void setDsref(com.queplix.core.jxb.entity.Dsref dsref) { this._dsref = dsref; this._choiceValue = dsref; } //-- void setDsref(com.queplix.core.jxb.entity.Dsref) /** * Sets the value of field 'e1'. The field 'e1' has the * following description: The first entity name * * @param e1 the value of field 'e1'. */ public void setE1(java.lang.String e1) { this._e1 = e1; } //-- void setE1(java.lang.String) /** * Sets the value of field 'e2'. The field 'e2' has the * following description: The second entity name * * @param e2 the value of field 'e2'. */ public void setE2(java.lang.String e2) { this._e2 = e2; } //-- void setE2(java.lang.String) /** * Sets the value of field 'nods'. The field 'nods' has the * following description: No phisical chains between tables * * @param nods the value of field 'nods'. */ public void setNods(com.queplix.core.jxb.entity.Nods nods) { this._nods = nods; this._choiceValue = nods; } //-- void setNods(com.queplix.core.jxb.entity.Nods) /** * 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 (com.queplix.core.jxb.entity.ChainType) Unmarshaller.unmarshal(com.queplix.core.jxb.entity.ChainType.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() }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -