<xs:element name="structureState" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
- <xs:extension base="xs:string">
+ <xs:extension base="xs:string">
+ <xs:attributeGroup ref="jv:swingwindow"/>
<xs:attribute name="visible" type="xs:boolean"/>
- <xs:attribute name="xpos" type="xs:int"/>
- <xs:attribute name="ypos" type="xs:int"/>
- <xs:attribute name="width" type="xs:int"/>
- <xs:attribute name="height" type="xs:int"/>
<xs:attribute name="viewId" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>additional identifier which properly disambiguates
</xs:documentation></xs:annotation></xs:attribute>
</xs:extension>
- </xs:simpleContent>
+ </xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
+ <xs:attributeGroup ref="jv:swingwindow"/>
<xs:attribute name="conservationSelected" type="xs:boolean"/>
<xs:attribute name="pidSelected" type="xs:boolean"/>
<xs:attribute name="bgColour" type="xs:string"/>
<xs:attribute name="showSequenceLogo" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="ignoreGapsinConsensus" type="xs:boolean" use="optional" default="true"/>
- <xs:attribute name="xpos" type="xs:int"/>
- <xs:attribute name="ypos" type="xs:int"/>
- <xs:attribute name="width" type="xs:int"/>
- <xs:attribute name="height" type="xs:int"/>
<xs:attribute name="startRes" type="xs:int"/>
<xs:attribute name="startSeq" type="xs:int"/>
<xs:attribute name="fontName" type="xs:string"/>
</xs:documentation>
</xs:annotation>
</xs:attribute>
- </xs:complexType>
+ </xs:complexType>
</xs:element>
<xs:element name="UserColours" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
</xs:element>
<xs:element name="tree" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
- <xs:sequence minOccurs="0">
- <xs:element name="title" type="xs:string"/>
- <xs:element name="newick" type="xs:string"/>
- </xs:sequence>
- <xs:attribute name="width" type="xs:int"/>
- <xs:attribute name="height" type="xs:int"/>
- <xs:attribute name="xpos" type="xs:int"/>
- <xs:attribute name="ypos" type="xs:int"/>
- <xs:attribute name="fontName" type="xs:string"/>
- <xs:attribute name="fontSize" type="xs:int"/>
- <xs:attribute name="fontStyle" type="xs:int"/>
- <xs:attribute name="threshold" type="xs:float"/>
- <xs:attribute name="showBootstrap" type="xs:boolean"/>
- <xs:attribute name="showDistances" type="xs:boolean"/>
- <xs:attribute name="markUnlinked" type="xs:boolean"/>
- <xs:attribute name="fitToWindow" type="xs:boolean"/>
- <xs:attribute name="currentTree" type="xs:boolean"/>
- <xs:attribute name="id" type="xs:ID" use="optional">
- <xs:annotation><xs:documentation>Tree ID added for binding tree visualization settings to vamsas document trees in jalview 2.4.1</xs:documentation></xs:annotation>
- </xs:attribute>
- </xs:complexType>
+ <xs:sequence minOccurs="0">
+ <xs:element name="title" type="xs:string"/>
+ <xs:element name="newick" type="xs:string"/>
+ </xs:sequence>
+ <xs:attribute name="fontName" type="xs:string"/>
+ <xs:attribute name="fontSize" type="xs:int"/>
+ <xs:attribute name="fontStyle" type="xs:int"/>
+ <xs:attribute name="threshold" type="xs:float"/>
+ <xs:attribute name="showBootstrap" type="xs:boolean"/>
+ <xs:attribute name="showDistances" type="xs:boolean"/>
+ <xs:attribute name="markUnlinked" type="xs:boolean"/>
+ <xs:attribute name="fitToWindow" type="xs:boolean"/>
+ <xs:attribute name="currentTree" type="xs:boolean"/>
+ <xs:attribute name="id" type="xs:ID" use="optional">
+ <xs:annotation><xs:documentation>Tree ID added for binding tree visualization settings to vamsas document trees in jalview 2.4.1</xs:documentation></xs:annotation>
+ </xs:attribute>
+ <xs:attributeGroup ref="jv:swingwindow"/>
+ </xs:complexType>
</xs:element>
<xs:element name="FeatureSettings" minOccurs="0">
<xs:complexType>
<xs:attribute name="type" type="xs:string" use="optional"/>
<xs:attribute name="file" type="xs:string"/>
</xs:complexType>
+ <!--
+ <xs:complexType name="reportWindow">
+ <xs:annotation>
+ <xs:documentation>Generic type for windows containing mime-typed data associated with other jalview windows</xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ </xs:sequence>
+ <xs:attribute name="id" type="xs:string" use="required"/>
+ <xs:attribute name="type" type="xs:string" use="optional"/>
+ <xs:attribute name="file" type="xs:string" use="optional"/>
+ </xs:complexType>
+ -->
+ <xs:attributeGroup name="swingwindow">
+ <xs:annotation>
+ <xs:documentation>
+ base attributes for windows displayed in Jalview desktop.
+ </xs:documentation>
+ </xs:annotation>
+ <xs:attribute name="width" type="xs:int"/>
+ <xs:attribute name="height" type="xs:int"/>
+ <xs:attribute name="xpos" type="xs:int"/>
+ <xs:attribute name="ypos" type="xs:int"/>
+ </xs:attributeGroup>
</xs:schema>
-#Mon Apr 25 14:07:25 BST 2011
+#Wed Aug 03 09:15:24 BST 2011
jalview.schemabinding.version2.ThresholdLine=jalview.schemabinding.version2.descriptors.ThresholdLineDescriptor
jalview.schemabinding.version2.SequenceSetProperties=jalview.schemabinding.version2.descriptors.SequenceSetPropertiesDescriptor
jalview.schemabinding.version2.StructureState=jalview.schemabinding.version2.descriptors.StructureStateDescriptor
private boolean _has_visible;
/**
- * Field _xpos.
- */
- private int _xpos;
-
- /**
- * keeps track of state for field: _xpos
- */
- private boolean _has_xpos;
-
- /**
- * Field _ypos.
- */
- private int _ypos;
-
- /**
- * keeps track of state for field: _ypos
- */
- private boolean _has_ypos;
-
- /**
- * Field _width.
- */
- private int _width;
-
- /**
- * keeps track of state for field: _width
- */
- private boolean _has_width;
-
- /**
- * Field _height.
- */
- private int _height;
-
- /**
- * keeps track of state for field: _height
- */
- private boolean _has_height;
-
- /**
* additional identifier which properly disambiguates
* the structure view from any other view with the same
* attributes. This is not an ID,
*/
private boolean _has_colourByJmol;
+ /**
+ * Field _width.
+ */
+ private int _width;
+
+ /**
+ * keeps track of state for field: _width
+ */
+ private boolean _has_width;
+
+ /**
+ * Field _height.
+ */
+ private int _height;
+
+ /**
+ * keeps track of state for field: _height
+ */
+ private boolean _has_height;
+
+ /**
+ * Field _xpos.
+ */
+ private int _xpos;
+
+ /**
+ * keeps track of state for field: _xpos
+ */
+ private boolean _has_xpos;
+
+ /**
+ * Field _ypos.
+ */
+ private int _ypos;
+
+ /**
+ * keeps track of state for field: _ypos
+ */
+ private boolean _has_ypos;
+
//----------------/
//- Constructors -/
//--------------------------/
/**
- * Field _width.
- */
- private int _width;
-
- /**
- * keeps track of state for field: _width
- */
- private boolean _has_width;
-
- /**
- * Field _height.
- */
- private int _height;
-
- /**
- * keeps track of state for field: _height
- */
- private boolean _has_height;
-
- /**
- * Field _xpos.
- */
- private int _xpos;
-
- /**
- * keeps track of state for field: _xpos
- */
- private boolean _has_xpos;
-
- /**
- * Field _ypos.
- */
- private int _ypos;
-
- /**
- * keeps track of state for field: _ypos
- */
- private boolean _has_ypos;
-
- /**
* Field _fontName.
*/
private java.lang.String _fontName;
private java.lang.String _id;
/**
+ * Field _width.
+ */
+ private int _width;
+
+ /**
+ * keeps track of state for field: _width
+ */
+ private boolean _has_width;
+
+ /**
+ * Field _height.
+ */
+ private int _height;
+
+ /**
+ * keeps track of state for field: _height
+ */
+ private boolean _has_height;
+
+ /**
+ * Field _xpos.
+ */
+ private int _xpos;
+
+ /**
+ * keeps track of state for field: _xpos
+ */
+ private boolean _has_xpos;
+
+ /**
+ * Field _ypos.
+ */
+ private int _ypos;
+
+ /**
+ * keeps track of state for field: _ypos
+ */
+ private boolean _has_ypos;
+
+ /**
* Field _title.
*/
private java.lang.String _title;
private boolean _has_ignoreGapsinConsensus;
/**
- * Field _xpos.
- */
- private int _xpos;
-
- /**
- * keeps track of state for field: _xpos
- */
- private boolean _has_xpos;
-
- /**
- * Field _ypos.
- */
- private int _ypos;
-
- /**
- * keeps track of state for field: _ypos
- */
- private boolean _has_ypos;
-
- /**
- * Field _width.
- */
- private int _width;
-
- /**
- * keeps track of state for field: _width
- */
- private boolean _has_width;
-
- /**
- * Field _height.
- */
- private int _height;
-
- /**
- * keeps track of state for field: _height
- */
- private boolean _has_height;
-
- /**
* Field _startRes.
*/
private int _startRes;
private java.lang.String _id;
/**
+ * Field _width.
+ */
+ private int _width;
+
+ /**
+ * keeps track of state for field: _width
+ */
+ private boolean _has_width;
+
+ /**
+ * Field _height.
+ */
+ private int _height;
+
+ /**
+ * keeps track of state for field: _height
+ */
+ private boolean _has_height;
+
+ /**
+ * Field _xpos.
+ */
+ private int _xpos;
+
+ /**
+ * keeps track of state for field: _xpos
+ */
+ private boolean _has_xpos;
+
+ /**
+ * Field _ypos.
+ */
+ private int _ypos;
+
+ /**
+ * keeps track of state for field: _ypos
+ */
+ private boolean _has_ypos;
+
+ /**
* Field _annotationColours.
*/
private jalview.schemabinding.version2.AnnotationColours _annotationColours;
fieldValidator.setValidator(typeValidator);
}
desc.setValidator(fieldValidator);
- //-- _xpos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _viewId
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_viewId", "viewId", org.exolab.castor.xml.NodeType.Attribute);
+ desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasXpos()) { return null; }
- return new java.lang.Integer(target.getXpos());
+ return target.getViewId();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
StructureState target = (StructureState) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteXpos();
- return;
- }
- target.setXpos( ((java.lang.Integer) value).intValue());
+ target.setViewId( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _xpos
+ //-- validation code for: _viewId
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.StringValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
+ typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _ypos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _alignwithAlignPanel
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_alignwithAlignPanel", "alignwithAlignPanel", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasYpos()) { return null; }
- return new java.lang.Integer(target.getYpos());
+ if (!target.hasAlignwithAlignPanel()) { return null; }
+ return (target.getAlignwithAlignPanel() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteYpos();
+ target.deleteAlignwithAlignPanel();
return;
}
- target.setYpos( ((java.lang.Integer) value).intValue());
+ target.setAlignwithAlignPanel( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _ypos
+ //-- validation code for: _alignwithAlignPanel
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _width
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _colourwithAlignPanel
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_colourwithAlignPanel", "colourwithAlignPanel", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasWidth()) { return null; }
- return new java.lang.Integer(target.getWidth());
+ if (!target.hasColourwithAlignPanel()) { return null; }
+ return (target.getColourwithAlignPanel() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteWidth();
+ target.deleteColourwithAlignPanel();
return;
}
- target.setWidth( ((java.lang.Integer) value).intValue());
+ target.setColourwithAlignPanel( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _width
+ //-- validation code for: _colourwithAlignPanel
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _height
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _colourByJmol
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_colourByJmol", "colourByJmol", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasHeight()) { return null; }
- return new java.lang.Integer(target.getHeight());
+ if (!target.hasColourByJmol()) { return null; }
+ return (target.getColourByJmol() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteHeight();
+ target.deleteColourByJmol();
return;
}
- target.setHeight( ((java.lang.Integer) value).intValue());
+ target.setColourByJmol( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _height
+ //-- validation code for: _colourByJmol
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _viewId
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_viewId", "viewId", org.exolab.castor.xml.NodeType.Attribute);
- desc.setImmutable(true);
+ //-- _width
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- return target.getViewId();
+ if (!target.hasWidth()) { return null; }
+ return new java.lang.Integer(target.getWidth());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
StructureState target = (StructureState) object;
- target.setViewId( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteWidth();
+ return;
+ }
+ target.setWidth( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _viewId
+ //-- validation code for: _width
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.StringValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.StringValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setWhiteSpace("preserve");
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _alignwithAlignPanel
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_alignwithAlignPanel", "alignwithAlignPanel", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _height
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasAlignwithAlignPanel()) { return null; }
- return (target.getAlignwithAlignPanel() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasHeight()) { return null; }
+ return new java.lang.Integer(target.getHeight());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteAlignwithAlignPanel();
+ target.deleteHeight();
return;
}
- target.setAlignwithAlignPanel( ((java.lang.Boolean) value).booleanValue());
+ target.setHeight( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _alignwithAlignPanel
+ //-- validation code for: _height
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _colourwithAlignPanel
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_colourwithAlignPanel", "colourwithAlignPanel", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _xpos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasColourwithAlignPanel()) { return null; }
- return (target.getColourwithAlignPanel() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasXpos()) { return null; }
+ return new java.lang.Integer(target.getXpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteColourwithAlignPanel();
+ target.deleteXpos();
return;
}
- target.setColourwithAlignPanel( ((java.lang.Boolean) value).booleanValue());
+ target.setXpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _colourwithAlignPanel
+ //-- validation code for: _xpos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _colourByJmol
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_colourByJmol", "colourByJmol", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _ypos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
StructureState target = (StructureState) object;
- if (!target.hasColourByJmol()) { return null; }
- return (target.getColourByJmol() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasYpos()) { return null; }
+ return new java.lang.Integer(target.getYpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
StructureState target = (StructureState) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteColourByJmol();
+ target.deleteYpos();
return;
}
- target.setColourByJmol( ((java.lang.Boolean) value).booleanValue());
+ target.setYpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _colourByJmol
+ //-- validation code for: _ypos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
//-- initialize element descriptors
org.exolab.castor.xml.FieldValidator fieldValidator = null;
//-- initialize attribute descriptors
- //-- _width
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontName
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_fontName", "fontName", org.exolab.castor.xml.NodeType.Attribute);
+ desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasWidth()) { return null; }
- return new java.lang.Integer(target.getWidth());
+ return target.getFontName();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Tree target = (Tree) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteWidth();
- return;
- }
- target.setWidth( ((java.lang.Integer) value).intValue());
+ target.setFontName( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _width
+ //-- validation code for: _fontName
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.StringValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
+ typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _height
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontSize
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontSize", "fontSize", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasHeight()) { return null; }
- return new java.lang.Integer(target.getHeight());
+ if (!target.hasFontSize()) { return null; }
+ return new java.lang.Integer(target.getFontSize());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteHeight();
+ target.deleteFontSize();
return;
}
- target.setHeight( ((java.lang.Integer) value).intValue());
+ target.setFontSize( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _height
+ //-- validation code for: _fontSize
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _xpos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontStyle
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontStyle", "fontStyle", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasXpos()) { return null; }
- return new java.lang.Integer(target.getXpos());
+ if (!target.hasFontStyle()) { return null; }
+ return new java.lang.Integer(target.getFontStyle());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteXpos();
+ target.deleteFontStyle();
return;
}
- target.setXpos( ((java.lang.Integer) value).intValue());
+ target.setFontStyle( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _xpos
+ //-- validation code for: _fontStyle
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _ypos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _threshold
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Float.TYPE, "_threshold", "threshold", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasYpos()) { return null; }
- return new java.lang.Integer(target.getYpos());
+ if (!target.hasThreshold()) { return null; }
+ return new java.lang.Float(target.getThreshold());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteYpos();
+ target.deleteThreshold();
return;
}
- target.setYpos( ((java.lang.Integer) value).intValue());
+ target.setThreshold( ((java.lang.Float) value).floatValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _ypos
+ //-- validation code for: _threshold
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.FloatValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.FloatValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
+ typeValidator.setMinInclusive((float) -3.4028235E38);
+ typeValidator.setMaxInclusive((float) 3.4028235E38);
}
desc.setValidator(fieldValidator);
- //-- _fontName
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_fontName", "fontName", org.exolab.castor.xml.NodeType.Attribute);
- desc.setImmutable(true);
+ //-- _showBootstrap
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_showBootstrap", "showBootstrap", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- return target.getFontName();
+ if (!target.hasShowBootstrap()) { return null; }
+ return (target.getShowBootstrap() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Tree target = (Tree) object;
- target.setFontName( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteShowBootstrap();
+ return;
+ }
+ target.setShowBootstrap( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontName
+ //-- validation code for: _showBootstrap
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.StringValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.StringValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _fontSize
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontSize", "fontSize", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _showDistances
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_showDistances", "showDistances", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasFontSize()) { return null; }
- return new java.lang.Integer(target.getFontSize());
+ if (!target.hasShowDistances()) { return null; }
+ return (target.getShowDistances() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteFontSize();
+ target.deleteShowDistances();
return;
}
- target.setFontSize( ((java.lang.Integer) value).intValue());
+ target.setShowDistances( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontSize
+ //-- validation code for: _showDistances
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _fontStyle
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontStyle", "fontStyle", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _markUnlinked
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_markUnlinked", "markUnlinked", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasFontStyle()) { return null; }
- return new java.lang.Integer(target.getFontStyle());
+ if (!target.hasMarkUnlinked()) { return null; }
+ return (target.getMarkUnlinked() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteFontStyle();
+ target.deleteMarkUnlinked();
return;
}
- target.setFontStyle( ((java.lang.Integer) value).intValue());
+ target.setMarkUnlinked( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontStyle
+ //-- validation code for: _markUnlinked
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _threshold
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Float.TYPE, "_threshold", "threshold", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fitToWindow
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_fitToWindow", "fitToWindow", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasThreshold()) { return null; }
- return new java.lang.Float(target.getThreshold());
+ if (!target.hasFitToWindow()) { return null; }
+ return (target.getFitToWindow() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteThreshold();
+ target.deleteFitToWindow();
return;
}
- target.setThreshold( ((java.lang.Float) value).floatValue());
+ target.setFitToWindow( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _threshold
+ //-- validation code for: _fitToWindow
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.FloatValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.FloatValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive((float) -3.4028235E38);
- typeValidator.setMaxInclusive((float) 3.4028235E38);
}
desc.setValidator(fieldValidator);
- //-- _showBootstrap
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_showBootstrap", "showBootstrap", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _currentTree
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_currentTree", "currentTree", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasShowBootstrap()) { return null; }
- return (target.getShowBootstrap() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasCurrentTree()) { return null; }
+ return (target.getCurrentTree() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteShowBootstrap();
+ target.deleteCurrentTree();
return;
}
- target.setShowBootstrap( ((java.lang.Boolean) value).booleanValue());
+ target.setCurrentTree( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _showBootstrap
+ //-- validation code for: _currentTree
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.BooleanValidator typeValidator;
fieldValidator.setValidator(typeValidator);
}
desc.setValidator(fieldValidator);
- //-- _showDistances
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_showDistances", "showDistances", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _id
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
+ super.setIdentity(desc);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasShowDistances()) { return null; }
- return (target.getShowDistances() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ return target.getId();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Tree target = (Tree) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteShowDistances();
- return;
- }
- target.setShowDistances( ((java.lang.Boolean) value).booleanValue());
+ target.setId( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
public java.lang.Object newInstance(java.lang.Object parent) {
- return null;
+ return new java.lang.String();
}
};
desc.setHandler(handler);
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _showDistances
+ //-- validation code for: _id
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IdValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IdValidator();
fieldValidator.setValidator(typeValidator);
}
desc.setValidator(fieldValidator);
- //-- _markUnlinked
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_markUnlinked", "markUnlinked", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _width
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasMarkUnlinked()) { return null; }
- return (target.getMarkUnlinked() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasWidth()) { return null; }
+ return new java.lang.Integer(target.getWidth());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteMarkUnlinked();
+ target.deleteWidth();
return;
}
- target.setMarkUnlinked( ((java.lang.Boolean) value).booleanValue());
+ target.setWidth( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _markUnlinked
+ //-- validation code for: _width
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _fitToWindow
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_fitToWindow", "fitToWindow", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _height
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasFitToWindow()) { return null; }
- return (target.getFitToWindow() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasHeight()) { return null; }
+ return new java.lang.Integer(target.getHeight());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteFitToWindow();
+ target.deleteHeight();
return;
}
- target.setFitToWindow( ((java.lang.Boolean) value).booleanValue());
+ target.setHeight( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fitToWindow
+ //-- validation code for: _height
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _currentTree
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_currentTree", "currentTree", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _xpos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- if (!target.hasCurrentTree()) { return null; }
- return (target.getCurrentTree() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ if (!target.hasXpos()) { return null; }
+ return new java.lang.Integer(target.getXpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Tree target = (Tree) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteCurrentTree();
+ target.deleteXpos();
return;
}
- target.setCurrentTree( ((java.lang.Boolean) value).booleanValue());
+ target.setXpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _currentTree
+ //-- validation code for: _xpos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _id
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
- super.setIdentity(desc);
+ //-- _ypos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Tree target = (Tree) object;
- return target.getId();
+ if (!target.hasYpos()) { return null; }
+ return new java.lang.Integer(target.getYpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Tree target = (Tree) object;
- target.setId( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteYpos();
+ return;
+ }
+ target.setYpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
public java.lang.Object newInstance(java.lang.Object parent) {
- return new java.lang.String();
+ return null;
}
};
desc.setHandler(handler);
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _id
+ //-- validation code for: _ypos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IdValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IdValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
//-- initialize element descriptors
fieldValidator.setValidator(typeValidator);
}
desc.setValidator(fieldValidator);
- //-- _xpos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _startRes
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_startRes", "startRes", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasXpos()) { return null; }
- return new java.lang.Integer(target.getXpos());
+ if (!target.hasStartRes()) { return null; }
+ return new java.lang.Integer(target.getStartRes());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteXpos();
+ target.deleteStartRes();
return;
}
- target.setXpos( ((java.lang.Integer) value).intValue());
+ target.setStartRes( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _xpos
+ //-- validation code for: _startRes
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _ypos
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _startSeq
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_startSeq", "startSeq", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasYpos()) { return null; }
- return new java.lang.Integer(target.getYpos());
+ if (!target.hasStartSeq()) { return null; }
+ return new java.lang.Integer(target.getStartSeq());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteYpos();
+ target.deleteStartSeq();
return;
}
- target.setYpos( ((java.lang.Integer) value).intValue());
+ target.setStartSeq( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _ypos
+ //-- validation code for: _startSeq
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _width
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontName
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_fontName", "fontName", org.exolab.castor.xml.NodeType.Attribute);
+ desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasWidth()) { return null; }
- return new java.lang.Integer(target.getWidth());
+ return target.getFontName();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteWidth();
- return;
- }
- target.setWidth( ((java.lang.Integer) value).intValue());
+ target.setFontName( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _width
+ //-- validation code for: _fontName
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.StringValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
+ typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _height
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontSize
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontSize", "fontSize", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasHeight()) { return null; }
- return new java.lang.Integer(target.getHeight());
+ if (!target.hasFontSize()) { return null; }
+ return new java.lang.Integer(target.getFontSize());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteHeight();
+ target.deleteFontSize();
return;
}
- target.setHeight( ((java.lang.Integer) value).intValue());
+ target.setFontSize( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _height
+ //-- validation code for: _fontSize
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _startRes
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_startRes", "startRes", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _fontStyle
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontStyle", "fontStyle", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasStartRes()) { return null; }
- return new java.lang.Integer(target.getStartRes());
+ if (!target.hasFontStyle()) { return null; }
+ return new java.lang.Integer(target.getFontStyle());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteStartRes();
+ target.deleteFontStyle();
return;
}
- target.setStartRes( ((java.lang.Integer) value).intValue());
+ target.setFontStyle( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _startRes
+ //-- validation code for: _fontStyle
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _startSeq
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_startSeq", "startSeq", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _viewName
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_viewName", "viewName", org.exolab.castor.xml.NodeType.Attribute);
+ desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasStartSeq()) { return null; }
- return new java.lang.Integer(target.getStartSeq());
+ return target.getViewName();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteStartSeq();
- return;
- }
- target.setStartSeq( ((java.lang.Integer) value).intValue());
+ target.setViewName( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _startSeq
+ //-- validation code for: _viewName
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.StringValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.StringValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
+ typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _fontName
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_fontName", "fontName", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _sequenceSetId
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_sequenceSetId", "sequenceSetId", org.exolab.castor.xml.NodeType.Attribute);
desc.setImmutable(true);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- return target.getFontName();
+ return target.getSequenceSetId();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- target.setFontName( (java.lang.String) value);
+ target.setSequenceSetId( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontName
+ //-- validation code for: _sequenceSetId
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.StringValidator typeValidator;
typeValidator.setWhiteSpace("preserve");
}
desc.setValidator(fieldValidator);
- //-- _fontSize
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontSize", "fontSize", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _gatheredViews
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_gatheredViews", "gatheredViews", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasFontSize()) { return null; }
- return new java.lang.Integer(target.getFontSize());
+ if (!target.hasGatheredViews()) { return null; }
+ return (target.getGatheredViews() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteFontSize();
+ target.deleteGatheredViews();
return;
}
- target.setFontSize( ((java.lang.Integer) value).intValue());
+ target.setGatheredViews( ((java.lang.Boolean) value).booleanValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontSize
+ //-- validation code for: _gatheredViews
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IntValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IntValidator();
+ org.exolab.castor.xml.validators.BooleanValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setMinInclusive(-2147483648);
- typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _fontStyle
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_fontStyle", "fontStyle", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _textCol1
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textCol1", "textCol1", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasFontStyle()) { return null; }
- return new java.lang.Integer(target.getFontStyle());
+ if (!target.hasTextCol1()) { return null; }
+ return new java.lang.Integer(target.getTextCol1());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteFontStyle();
+ target.deleteTextCol1();
return;
}
- target.setFontStyle( ((java.lang.Integer) value).intValue());
+ target.setTextCol1( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _fontStyle
+ //-- validation code for: _textCol1
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _viewName
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_viewName", "viewName", org.exolab.castor.xml.NodeType.Attribute);
- desc.setImmutable(true);
+ //-- _textCol2
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textCol2", "textCol2", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- return target.getViewName();
+ if (!target.hasTextCol2()) { return null; }
+ return new java.lang.Integer(target.getTextCol2());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- target.setViewName( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteTextCol2();
+ return;
+ }
+ target.setTextCol2( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _viewName
+ //-- validation code for: _textCol2
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.StringValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.StringValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setWhiteSpace("preserve");
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _sequenceSetId
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_sequenceSetId", "sequenceSetId", org.exolab.castor.xml.NodeType.Attribute);
- desc.setImmutable(true);
+ //-- _textColThreshold
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textColThreshold", "textColThreshold", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- return target.getSequenceSetId();
+ if (!target.hasTextColThreshold()) { return null; }
+ return new java.lang.Integer(target.getTextColThreshold());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- target.setSequenceSetId( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteTextColThreshold();
+ return;
+ }
+ target.setTextColThreshold( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _sequenceSetId
+ //-- validation code for: _textColThreshold
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.StringValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.StringValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
- typeValidator.setWhiteSpace("preserve");
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _gatheredViews
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_gatheredViews", "gatheredViews", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _id
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
+ super.setIdentity(desc);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasGatheredViews()) { return null; }
- return (target.getGatheredViews() ? java.lang.Boolean.TRUE : java.lang.Boolean.FALSE);
+ return target.getId();
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- // if null, use delete method for optional primitives
- if (value == null) {
- target.deleteGatheredViews();
- return;
- }
- target.setGatheredViews( ((java.lang.Boolean) value).booleanValue());
+ target.setId( (java.lang.String) value);
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
public java.lang.Object newInstance(java.lang.Object parent) {
- return null;
+ return new java.lang.String();
}
};
desc.setHandler(handler);
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _gatheredViews
+ //-- validation code for: _id
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.BooleanValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
+ org.exolab.castor.xml.validators.IdValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IdValidator();
fieldValidator.setValidator(typeValidator);
}
desc.setValidator(fieldValidator);
- //-- _textCol1
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textCol1", "textCol1", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _width
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_width", "width", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasTextCol1()) { return null; }
- return new java.lang.Integer(target.getTextCol1());
+ if (!target.hasWidth()) { return null; }
+ return new java.lang.Integer(target.getWidth());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteTextCol1();
+ target.deleteWidth();
return;
}
- target.setTextCol1( ((java.lang.Integer) value).intValue());
+ target.setWidth( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _textCol1
+ //-- validation code for: _width
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _textCol2
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textCol2", "textCol2", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _height
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_height", "height", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasTextCol2()) { return null; }
- return new java.lang.Integer(target.getTextCol2());
+ if (!target.hasHeight()) { return null; }
+ return new java.lang.Integer(target.getHeight());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteTextCol2();
+ target.deleteHeight();
return;
}
- target.setTextCol2( ((java.lang.Integer) value).intValue());
+ target.setHeight( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _textCol2
+ //-- validation code for: _height
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _textColThreshold
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_textColThreshold", "textColThreshold", org.exolab.castor.xml.NodeType.Attribute);
+ //-- _xpos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_xpos", "xpos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- if (!target.hasTextColThreshold()) { return null; }
- return new java.lang.Integer(target.getTextColThreshold());
+ if (!target.hasXpos()) { return null; }
+ return new java.lang.Integer(target.getXpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
Viewport target = (Viewport) object;
// if null, use delete method for optional primitives
if (value == null) {
- target.deleteTextColThreshold();
+ target.deleteXpos();
return;
}
- target.setTextColThreshold( ((java.lang.Integer) value).intValue());
+ target.setXpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _textColThreshold
+ //-- validation code for: _xpos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
org.exolab.castor.xml.validators.IntValidator typeValidator;
typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
- //-- _id
- desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.String.class, "_id", "id", org.exolab.castor.xml.NodeType.Attribute);
- super.setIdentity(desc);
+ //-- _ypos
+ desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Integer.TYPE, "_ypos", "ypos", org.exolab.castor.xml.NodeType.Attribute);
handler = new org.exolab.castor.xml.XMLFieldHandler() {
public java.lang.Object getValue( java.lang.Object object )
throws IllegalStateException
{
Viewport target = (Viewport) object;
- return target.getId();
+ if (!target.hasYpos()) { return null; }
+ return new java.lang.Integer(target.getYpos());
}
public void setValue( java.lang.Object object, java.lang.Object value)
throws IllegalStateException, IllegalArgumentException
{
try {
Viewport target = (Viewport) object;
- target.setId( (java.lang.String) value);
+ // if null, use delete method for optional primitives
+ if (value == null) {
+ target.deleteYpos();
+ return;
+ }
+ target.setYpos( ((java.lang.Integer) value).intValue());
} catch (java.lang.Exception ex) {
throw new IllegalStateException(ex.toString());
}
}
public java.lang.Object newInstance(java.lang.Object parent) {
- return new java.lang.String();
+ return null;
}
};
desc.setHandler(handler);
desc.setMultivalued(false);
addFieldDescriptor(desc);
- //-- validation code for: _id
+ //-- validation code for: _ypos
fieldValidator = new org.exolab.castor.xml.FieldValidator();
{ //-- local scope
- org.exolab.castor.xml.validators.IdValidator typeValidator;
- typeValidator = new org.exolab.castor.xml.validators.IdValidator();
+ org.exolab.castor.xml.validators.IntValidator typeValidator;
+ typeValidator = new org.exolab.castor.xml.validators.IntValidator();
fieldValidator.setValidator(typeValidator);
+ typeValidator.setMinInclusive(-2147483648);
+ typeValidator.setMaxInclusive(2147483647);
}
desc.setValidator(fieldValidator);
//-- initialize element descriptors