001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2003.04.21 at 09:16:53 PDT
006: //
007:
008: package org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl;
009:
010: public class RelatedObjectFieldImpl
011: implements
012: org.jaffa.patterns.library.object_viewer_meta_1_0.domain.RelatedObjectField,
013: com.sun.xml.bind.unmarshaller.UnmarshallableObject,
014: com.sun.xml.bind.serializer.XMLSerializable,
015: com.sun.xml.bind.validator.ValidatableObject {
016:
017: protected java.lang.String _FunctionGuardName;
018: protected java.lang.String _DataType;
019: protected org.jaffa.patterns.library.object_viewer_meta_1_0.domain.AppendField _AppendField;
020: protected java.lang.String _Width;
021: protected org.jaffa.patterns.library.object_viewer_meta_1_0.domain.SourceChain _SourceChain;
022: protected java.lang.String _DomainField;
023: protected boolean has_Display;
024: protected boolean _Display;
025: protected boolean has_DisplayAsKey;
026: protected boolean _DisplayAsKey;
027: protected java.lang.String _Label;
028: protected java.lang.String _Name;
029: protected java.lang.String _Layout;
030: private final static com.sun.msv.grammar.Grammar schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
031: .deserialize("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/grammar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0003I\u0000\u000ecachedHashCodeL\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0002xp\u0010\u00e6\u00fa\u009bppsq\u0000~\u0000\u0000\u000e\u00f5\u00d7\u0015ppsq\u0000~\u0000\u0000\r\u0089>qppsq\u0000~\u0000\u0000\f\u001c\u00a5\u00cdppsq\u0000~\u0000\u0000\n+\u0082Rppsq\u0000~\u0000\u0000\b:^\u00d7ppsq\u0000~\u0000\u0000\u0006I;\\ppsq\u0000~\u0000\u0000\u0004X\u0017\u00d6ppsq\u0000~\u0000\u0000\u0004\u0019\u001f\u009bppsq\u0000~\u0000\u0000\u0003\u00da\'kppsr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001\u00f1#vpp\u0000sr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003\u0001\u00f1#kppsr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u001bL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006stringsr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$1\u0013JMoI\u00db\u00a4G\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\nppsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001bL\u0000\fnamespaceURIq\u0000~\u0000\u001bxpq\u0000~\u0000\u001fq\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001bL\u0000\fnamespaceURIq\u0000~\u0000\u001bxr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004Namet\u0000\u0000sq\u0000~\u0000\u000f\u0001\u00e9\u0003\u00f0pp\u0000sq\u0000~\u0000\u0013\u0001\u00e9\u0003\u00e5ppsr\u0000)com.sun.msv.datatype.xsd.EnumerationFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0006valuest\u0000\u000fLjava/util/Set;xr\u00009com.sun.msv.datatype.xsd.DataTypeWithValueConstraintFacet\"\u00a7Ro\u00ca\u00c7\u008aT\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.DataTypeWithFacet\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0005Z\u0000\fisFacetFixedZ\u0000\u0012needValueCheckFlagL\u0000\bbaseTypet\u0000)Lcom/sun/msv/datatype/xsd/XSDatatypeImpl;L\u0000\fconcreteTypet\u0000\'Lcom/sun/msv/datatype/xsd/ConcreteType;L\u0000\tfacetNameq\u0000~\u0000\u001bxq\u0000~\u0000\u001aq\u0000~\u0000+t\u0000\tdataTypesq\u0000~\u0000\"\u0000\u0000q\u0000~\u0000\u001dq\u0000~\u0000\u001dt\u0000\u000benumerationsr\u0000\u0011java.util.HashSet\u00baD\u0085\u0095\u0096\u00b8\u00b74\u0003\u0000\u0000xpw\f\u0000\u0000\u0000@?@\u0000\u0000\u0000\u0000\u0000*t\u0000\u0007LongRawt\u0000\bDateOnlyt\u0000\u0003Rawt\u0000\u0004clobt\u0000\bdateonlyt\u0000\tDATE_ONLYt\u0000\bcurrencyt\u0000\u0007longrawt\u0000\u0004BLOBt\u0000\u0007LONGRAWt\u0000\tdate_timet\u0000\tDate_Timet\u0000\bCurrencyt\u0000\nLongStringt\u0000\u0007booleant\u0000\u0006STRINGt\u0000\bDateTimet\u0000\u0007decimalt\u0000\u0006stringt\u0000\u0004Blobt\u0000\nlongstringt\u0000\u0007DECIMALt\u0000\u0007Decimalt\u0000\u0004Clobt\u0000\u0006Stringt\u0000\u0004blobt\u0000\u0007INTEGERt\u0000\u0004CLOBt\u0000\tdate_onlyt\u0000\u0007BOOLEANt\u0000\u0007integert\u0000\bCURRENCYt\u0000\bDATETIMEt\u0000\tDATE_TIMEt\u0000\u0003rawt\u0000\u0007Integert\u0000\tDate_Onlyt\u0000\u0003RAWt\u0000\nLONGSTRINGt\u0000\u0007Booleant\u0000\bdatetimet\u0000\bDATEONLYxq\u0000~\u0000$sq\u0000~\u0000%q\u0000~\u00005q\u0000~\u0000+sq\u0000~\u0000\'t\u0000\bDataTypeq\u0000~\u0000+sq\u0000~\u0000\u000f\u0000>\u00f8+pp\u0000sq\u0000~\u0000\u0013\u0000>\u00f8 ppsr\u0000$com.sun.msv.datatype.xsd.BooleanType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0018q\u0000~\u0000\u001et\u0000\u0007booleansr\u0000.com.sun.msv.datatype.xsd.WhiteSpaceProcessor$2\u0087z9\u00ee\u00f8,N\u0005\u0002\u0000\u0000xq\u0000~\u0000!q\u0000~\u0000$sq\u0000~\u0000%q\u0000~\u0000jq\u0000~\u0000\u001esq\u0000~\u0000\'t\u0000\u0007Displayq\u0000~\u0000+sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001\u0000>\u00f86ppsq\u0000~\u0000\u000f\u0000>\u00f8+sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000q\u0000~\u0000gsq\u0000~\u0000\'t\u0000\fDisplayAsKeyq\u0000~\u0000+sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\tsq\u0000~\u0000s\u0001psq\u0000~\u0000p\u0001\u00f1#\u0081ppsq\u0000~\u0000\u000f\u0001\u00f1#vq\u0000~\u0000tp\u0000q\u0000~\u0000\u0016sq\u0000~\u0000\'t\u0000\u0006Layoutq\u0000~\u0000+q\u0000~\u0000xsq\u0000~\u0000\u000f\u0001\u00f1#vpp\u0000q\u0000~\u0000\u0016sq\u0000~\u0000\'t\u0000\u0005Labelq\u0000~\u0000+sq\u0000~\u0000\u000f\u0001\u00f1#vpp\u0000q\u0000~\u0000\u0016sq\u0000~\u0000\'t\u0000\u0005Widthq\u0000~\u0000+sq\u0000~\u0000\u000f\u0001\u00f1#vpp\u0000q\u0000~\u0000\u0016sq\u0000~\u0000\'t\u0000\u000bDomainFieldq\u0000~\u0000+sq\u0000~\u0000p\u0001l\u0098\u009fppsq\u0000~\u0000\u000f\u0001l\u0098\u0094q\u0000~\u0000tp\u0000sq\u0000~\u0000\u000f\u0001l\u0098\u0089pp\u0000sq\u0000~\u0000p\u0001l\u0098~ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003\u0001l\u0098sq\u0000~\u0000tpsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u0010xq\u0000~\u0000\u0003\u0001l\u0098pq\u0000~\u0000tpsr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003\u0000\u0000\u0000\bq\u0000~\u0000yq\u0000~\u0000\u0091sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000(q\u0000~\u0000xsq\u0000~\u0000\'t\u0000Dorg.jaffa.patterns.library.object_viewer_meta_1_0.domain.SourceChaint\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\'t\u0000\u000bSourceChainq\u0000~\u0000+q\u0000~\u0000xsq\u0000~\u0000p\u0001l\u0098\u009fppsq\u0000~\u0000\u000f\u0001l\u0098\u0094q\u0000~\u0000tp\u0000sq\u0000~\u0000\u000f\u0001l\u0098\u0089pp\u0000sq\u0000~\u0000p\u0001l\u0098~ppsq\u0000~\u0000\u008b\u0001l\u0098sq\u0000~\u0000tpsq\u0000~\u0000\u008e\u0001l\u0098pq\u0000~\u0000tpq\u0000~\u0000\u0091q\u0000~\u0000\u0093q\u0000~\u0000xsq\u0000~\u0000\'t\u0000Dorg.jaffa.patterns.library.object_viewer_meta_1_0.domain.AppendFieldq\u0000~\u0000\u0096sq\u0000~\u0000\'t\u0000\u000bAppendFieldq\u0000~\u0000+q\u0000~\u0000xsq\u0000~\u0000p\u0001\u00f1#\u0081ppsq\u0000~\u0000\u000f\u0001\u00f1#vq\u0000~\u0000tp\u0000q\u0000~\u0000\u0016sq\u0000~\u0000\'t\u0000\u0011FunctionGuardNameq\u0000~\u0000+q\u0000~\u0000xsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0002\u0000\u0004I\u0000\u0005countI\u0000\tthresholdL\u0000\u0006parentq\u0000~\u0000\u00a8[\u0000\u0005tablet\u0000![Lcom/sun/msv/grammar/Expression;xp\u0000\u0000\u0000\u0013\u0000\u0000\u00009pur\u0000![Lcom.sun.msv.grammar.Expression;\u00d68D\u00c3]\u00ad\u00a7\n\u0002\u0000\u0000xp\u0000\u0000\u0000\u00bfpppppppppppppppppppppppq\u0000~\u0000\tppppq\u0000~\u0000qppq\u0000~\u0000\u008dq\u0000~\u0000\u009dpppppppppq\u0000~\u0000\u008aq\u0000~\u0000\u009cppppppppppppppppq\u0000~\u0000\u000bppppppppq\u0000~\u0000\u0006pppppq\u0000~\u0000\u0087q\u0000~\u0000\u0099ppppppq\u0000~\u0000zq\u0000~\u0000\u00a3pppppppppppppppq\u0000~\u0000\bpppppppq\u0000~\u0000\u000epppppppppppppppppppppq\u0000~\u0000\rppppppq\u0000~\u0000\npppppppppppppppppppq\u0000~\u0000\u0005pppppq\u0000~\u0000\fppppppppppppppppq\u0000~\u0000\u0007pppppppppp");
032:
033: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
034: return org.jaffa.patterns.library.object_viewer_meta_1_0.domain.RelatedObjectField.class;
035: }
036:
037: public java.lang.String getFunctionGuardName() {
038: return _FunctionGuardName;
039: }
040:
041: public void setFunctionGuardName(java.lang.String value) {
042: _FunctionGuardName = value;
043: }
044:
045: public java.lang.String getDataType() {
046: return _DataType;
047: }
048:
049: public void setDataType(java.lang.String value) {
050: _DataType = value;
051: }
052:
053: public org.jaffa.patterns.library.object_viewer_meta_1_0.domain.AppendField getAppendField() {
054: return _AppendField;
055: }
056:
057: public void setAppendField(
058: org.jaffa.patterns.library.object_viewer_meta_1_0.domain.AppendField value) {
059: _AppendField = value;
060: }
061:
062: public java.lang.String getWidth() {
063: return _Width;
064: }
065:
066: public void setWidth(java.lang.String value) {
067: _Width = value;
068: }
069:
070: public org.jaffa.patterns.library.object_viewer_meta_1_0.domain.SourceChain getSourceChain() {
071: return _SourceChain;
072: }
073:
074: public void setSourceChain(
075: org.jaffa.patterns.library.object_viewer_meta_1_0.domain.SourceChain value) {
076: _SourceChain = value;
077: }
078:
079: public java.lang.String getDomainField() {
080: return _DomainField;
081: }
082:
083: public void setDomainField(java.lang.String value) {
084: _DomainField = value;
085: }
086:
087: public boolean isDisplay() {
088: return _Display;
089: }
090:
091: public void setDisplay(boolean value) {
092: _Display = value;
093: has_Display = true;
094: }
095:
096: public boolean isDisplayAsKey() {
097: return _DisplayAsKey;
098: }
099:
100: public void setDisplayAsKey(boolean value) {
101: _DisplayAsKey = value;
102: has_DisplayAsKey = true;
103: }
104:
105: public java.lang.String getLabel() {
106: return _Label;
107: }
108:
109: public void setLabel(java.lang.String value) {
110: _Label = value;
111: }
112:
113: public java.lang.String getName() {
114: return _Name;
115: }
116:
117: public void setName(java.lang.String value) {
118: _Name = value;
119: }
120:
121: public java.lang.String getLayout() {
122: return _Layout;
123: }
124:
125: public void setLayout(java.lang.String value) {
126: _Layout = value;
127: }
128:
129: public com.sun.xml.bind.unmarshaller.ContentHandlerEx getUnmarshaller(
130: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
131: return new org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.RelatedObjectFieldImpl.Unmarshaller(
132: context);
133: }
134:
135: public java.lang.Class getPrimaryInterfaceClass() {
136: return PRIMARY_INTERFACE_CLASS();
137: }
138:
139: public void serializeElements(
140: com.sun.xml.bind.serializer.XMLSerializer context)
141: throws org.xml.sax.SAXException {
142: context.startElement("", "Name");
143: context.endAttributes();
144: try {
145: context.text(((java.lang.String) _Name));
146: } catch (java.lang.Exception e) {
147: com.sun.xml.bind.marshaller.Util
148: .handlePrintConversionException(this , e, context);
149: }
150: context.endElement();
151: context.startElement("", "DataType");
152: context.endAttributes();
153: try {
154: context.text(((java.lang.String) _DataType));
155: } catch (java.lang.Exception e) {
156: com.sun.xml.bind.marshaller.Util
157: .handlePrintConversionException(this , e, context);
158: }
159: context.endElement();
160: context.startElement("", "Display");
161: context.endAttributes();
162: try {
163: context.text(javax.xml.bind.DatatypeConverter
164: .printBoolean(((boolean) _Display)));
165: } catch (java.lang.Exception e) {
166: com.sun.xml.bind.marshaller.Util
167: .handlePrintConversionException(this , e, context);
168: }
169: context.endElement();
170: if (has_DisplayAsKey) {
171: context.startElement("", "DisplayAsKey");
172: context.endAttributes();
173: try {
174: context.text(javax.xml.bind.DatatypeConverter
175: .printBoolean(((boolean) _DisplayAsKey)));
176: } catch (java.lang.Exception e) {
177: com.sun.xml.bind.marshaller.Util
178: .handlePrintConversionException(this , e,
179: context);
180: }
181: context.endElement();
182: }
183: if (_Layout != null) {
184: context.startElement("", "Layout");
185: context.endAttributes();
186: try {
187: context.text(((java.lang.String) _Layout));
188: } catch (java.lang.Exception e) {
189: com.sun.xml.bind.marshaller.Util
190: .handlePrintConversionException(this , e,
191: context);
192: }
193: context.endElement();
194: }
195: context.startElement("", "Label");
196: context.endAttributes();
197: try {
198: context.text(((java.lang.String) _Label));
199: } catch (java.lang.Exception e) {
200: com.sun.xml.bind.marshaller.Util
201: .handlePrintConversionException(this , e, context);
202: }
203: context.endElement();
204: context.startElement("", "Width");
205: context.endAttributes();
206: try {
207: context.text(((java.lang.String) _Width));
208: } catch (java.lang.Exception e) {
209: com.sun.xml.bind.marshaller.Util
210: .handlePrintConversionException(this , e, context);
211: }
212: context.endElement();
213: context.startElement("", "DomainField");
214: context.endAttributes();
215: try {
216: context.text(((java.lang.String) _DomainField));
217: } catch (java.lang.Exception e) {
218: com.sun.xml.bind.marshaller.Util
219: .handlePrintConversionException(this , e, context);
220: }
221: context.endElement();
222: if (_SourceChain != null) {
223: if (_SourceChain instanceof javax.xml.bind.Element) {
224: context
225: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SourceChain));
226: } else {
227: context.startElement("", "SourceChain");
228: context
229: .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _SourceChain));
230: context.endAttributes();
231: context
232: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _SourceChain));
233: context.endElement();
234: }
235: }
236: if (_AppendField != null) {
237: if (_AppendField instanceof javax.xml.bind.Element) {
238: context
239: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _AppendField));
240: } else {
241: context.startElement("", "AppendField");
242: context
243: .childAsAttributes(((com.sun.xml.bind.serializer.XMLSerializable) _AppendField));
244: context.endAttributes();
245: context
246: .childAsElements(((com.sun.xml.bind.serializer.XMLSerializable) _AppendField));
247: context.endElement();
248: }
249: }
250: if (_FunctionGuardName != null) {
251: context.startElement("", "FunctionGuardName");
252: context.endAttributes();
253: try {
254: context.text(((java.lang.String) _FunctionGuardName));
255: } catch (java.lang.Exception e) {
256: com.sun.xml.bind.marshaller.Util
257: .handlePrintConversionException(this , e,
258: context);
259: }
260: context.endElement();
261: }
262: }
263:
264: public void serializeAttributes(
265: com.sun.xml.bind.serializer.XMLSerializer context)
266: throws org.xml.sax.SAXException {
267: }
268:
269: public void serializeAttributeBodies(
270: com.sun.xml.bind.serializer.XMLSerializer context)
271: throws org.xml.sax.SAXException {
272: }
273:
274: public java.lang.Class getPrimaryInterface() {
275: return (org.jaffa.patterns.library.object_viewer_meta_1_0.domain.RelatedObjectField.class);
276: }
277:
278: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
279: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
280: schemaFragment);
281: }
282:
283: public class Unmarshaller extends
284: com.sun.xml.bind.unmarshaller.ContentHandlerEx {
285:
286: public Unmarshaller(
287: com.sun.xml.bind.unmarshaller.UnmarshallingContext context) {
288: super (context, "-----------------------------");
289: }
290:
291: protected com.sun.xml.bind.unmarshaller.UnmarshallableObject owner() {
292: return org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.RelatedObjectFieldImpl.this ;
293: }
294:
295: public void enterElement(java.lang.String ___uri,
296: java.lang.String ___local, org.xml.sax.Attributes __atts)
297: throws com.sun.xml.bind.unmarshaller.UnreportedException {
298: switch (state) {
299: case 23:
300: if (("" == ___uri) && ("Source" == ___local)) {
301: _SourceChain = ((org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.SourceChainImpl) spawnChildFromEnterElement(
302: (org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.SourceChainImpl.class),
303: 24, ___uri, ___local, __atts));
304: return;
305: }
306: break;
307: case 15:
308: if (("" == ___uri) && ("DomainField" == ___local)) {
309: context.pushAttributes(__atts);
310: state = 16;
311: return;
312: }
313: break;
314: case 12:
315: if (("" == ___uri) && ("Width" == ___local)) {
316: context.pushAttributes(__atts);
317: state = 13;
318: return;
319: }
320: break;
321: case 19:
322: if (("" == ___uri) && ("Name" == ___local)) {
323: _AppendField = ((org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.AppendFieldImpl) spawnChildFromEnterElement(
324: (org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.AppendFieldImpl.class),
325: 20, ___uri, ___local, __atts));
326: return;
327: }
328: if (("" == ___uri) && ("AppendBeginMarker" == ___local)) {
329: _AppendField = ((org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.AppendFieldImpl) spawnChildFromEnterElement(
330: (org.jaffa.patterns.library.object_viewer_meta_1_0.domain.impl.AppendFieldImpl.class),
331: 20, ___uri, ___local, __atts));
332: return;
333: }
334: break;
335: case 6:
336: if (("" == ___uri) && ("Display" == ___local)) {
337: context.pushAttributes(__atts);
338: state = 7;
339: return;
340: }
341: break;
342: case 9:
343: if (("" == ___uri) && ("Label" == ___local)) {
344: context.pushAttributes(__atts);
345: state = 10;
346: return;
347: }
348: if (("" == ___uri) && ("DisplayAsKey" == ___local)) {
349: context.pushAttributes(__atts);
350: state = 25;
351: return;
352: }
353: if (("" == ___uri) && ("Layout" == ___local)) {
354: context.pushAttributes(__atts);
355: state = 27;
356: return;
357: }
358: break;
359: case 3:
360: if (("" == ___uri) && ("DataType" == ___local)) {
361: context.pushAttributes(__atts);
362: state = 4;
363: return;
364: }
365: break;
366: case 0:
367: if (("" == ___uri) && ("Name" == ___local)) {
368: context.pushAttributes(__atts);
369: state = 1;
370: return;
371: }
372: break;
373: case 18:
374: if (("" == ___uri) && ("FunctionGuardName" == ___local)) {
375: context.pushAttributes(__atts);
376: state = 21;
377: return;
378: }
379: if (("" == ___uri) && ("SourceChain" == ___local)) {
380: context.pushAttributes(__atts);
381: state = 23;
382: return;
383: }
384: if (("" == ___uri) && ("AppendField" == ___local)) {
385: context.pushAttributes(__atts);
386: state = 19;
387: return;
388: }
389: revertToParentFromEnterElement(___uri, ___local, __atts);
390: return;
391: }
392: super .enterElement(___uri, ___local, __atts);
393: }
394:
395: public void leaveElement(java.lang.String ___uri,
396: java.lang.String ___local)
397: throws com.sun.xml.bind.unmarshaller.UnreportedException {
398: switch (state) {
399: case 28:
400: if (("" == ___uri) && ("Layout" == ___local)) {
401: context.popAttributes();
402: state = 9;
403: return;
404: }
405: break;
406: case 17:
407: if (("" == ___uri) && ("DomainField" == ___local)) {
408: context.popAttributes();
409: state = 18;
410: return;
411: }
412: break;
413: case 22:
414: if (("" == ___uri) && ("FunctionGuardName" == ___local)) {
415: context.popAttributes();
416: state = 18;
417: return;
418: }
419: break;
420: case 11:
421: if (("" == ___uri) && ("Label" == ___local)) {
422: context.popAttributes();
423: state = 12;
424: return;
425: }
426: break;
427: case 2:
428: if (("" == ___uri) && ("Name" == ___local)) {
429: context.popAttributes();
430: state = 3;
431: return;
432: }
433: break;
434: case 26:
435: if (("" == ___uri) && ("DisplayAsKey" == ___local)) {
436: context.popAttributes();
437: state = 9;
438: return;
439: }
440: break;
441: case 18:
442: revertToParentFromLeaveElement(___uri, ___local);
443: return;
444: case 14:
445: if (("" == ___uri) && ("Width" == ___local)) {
446: context.popAttributes();
447: state = 15;
448: return;
449: }
450: break;
451: case 8:
452: if (("" == ___uri) && ("Display" == ___local)) {
453: context.popAttributes();
454: state = 9;
455: return;
456: }
457: break;
458: case 5:
459: if (("" == ___uri) && ("DataType" == ___local)) {
460: context.popAttributes();
461: state = 6;
462: return;
463: }
464: break;
465: case 20:
466: if (("" == ___uri) && ("AppendField" == ___local)) {
467: context.popAttributes();
468: state = 18;
469: return;
470: }
471: break;
472: case 24:
473: if (("" == ___uri) && ("SourceChain" == ___local)) {
474: context.popAttributes();
475: state = 18;
476: return;
477: }
478: break;
479: }
480: super .leaveElement(___uri, ___local);
481: }
482:
483: public void enterAttribute(java.lang.String ___uri,
484: java.lang.String ___local)
485: throws com.sun.xml.bind.unmarshaller.UnreportedException {
486: switch (state) {
487: case 18:
488: revertToParentFromEnterAttribute(___uri, ___local);
489: return;
490: }
491: super .enterAttribute(___uri, ___local);
492: }
493:
494: public void leaveAttribute(java.lang.String ___uri,
495: java.lang.String ___local)
496: throws com.sun.xml.bind.unmarshaller.UnreportedException {
497: switch (state) {
498: case 18:
499: revertToParentFromLeaveAttribute(___uri, ___local);
500: return;
501: }
502: super .leaveAttribute(___uri, ___local);
503: }
504:
505: public void text(java.lang.String value)
506: throws com.sun.xml.bind.unmarshaller.UnreportedException {
507: try {
508: switch (state) {
509: case 4:
510: try {
511: _DataType = value;
512: } catch (java.lang.Exception e) {
513: handleParseConversionException(e);
514: }
515: state = 5;
516: return;
517: case 13:
518: try {
519: _Width = value;
520: } catch (java.lang.Exception e) {
521: handleParseConversionException(e);
522: }
523: state = 14;
524: return;
525: case 16:
526: try {
527: _DomainField = value;
528: } catch (java.lang.Exception e) {
529: handleParseConversionException(e);
530: }
531: state = 17;
532: return;
533: case 7:
534: try {
535: _Display = javax.xml.bind.DatatypeConverter
536: .parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor
537: .collapse(value));
538: has_Display = true;
539: } catch (java.lang.Exception e) {
540: handleParseConversionException(e);
541: }
542: state = 8;
543: return;
544: case 25:
545: try {
546: _DisplayAsKey = javax.xml.bind.DatatypeConverter
547: .parseBoolean(com.sun.xml.bind.WhiteSpaceProcessor
548: .collapse(value));
549: has_DisplayAsKey = true;
550: } catch (java.lang.Exception e) {
551: handleParseConversionException(e);
552: }
553: state = 26;
554: return;
555: case 1:
556: try {
557: _Name = value;
558: } catch (java.lang.Exception e) {
559: handleParseConversionException(e);
560: }
561: state = 2;
562: return;
563: case 18:
564: revertToParentFromText(value);
565: return;
566: case 21:
567: try {
568: _FunctionGuardName = value;
569: } catch (java.lang.Exception e) {
570: handleParseConversionException(e);
571: }
572: state = 22;
573: return;
574: case 10:
575: try {
576: _Label = value;
577: } catch (java.lang.Exception e) {
578: handleParseConversionException(e);
579: }
580: state = 11;
581: return;
582: case 27:
583: try {
584: _Layout = value;
585: } catch (java.lang.Exception e) {
586: handleParseConversionException(e);
587: }
588: state = 28;
589: return;
590: }
591: } catch (java.lang.RuntimeException e) {
592: handleUnexpectedTextException(value, e);
593: }
594: }
595:
596: public void leaveChild(int nextState)
597: throws com.sun.xml.bind.unmarshaller.UnreportedException {
598: switch (nextState) {
599: case 20:
600: state = 20;
601: return;
602: case 24:
603: state = 24;
604: return;
605: }
606: super.leaveChild(nextState);
607: }
608:
609: }
610:
611: }
|