From: jprocter Date: Mon, 15 Dec 2008 10:31:38 +0000 (+0000) Subject: structureState element to structure view Id is a many to one relationship - so viewId... X-Git-Tag: Release_2_5~378 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=021739e797e6cb0a3158412d87ac0bbd6c92c4cf;p=jalview.git structureState element to structure view Id is a many to one relationship - so viewId cannot be an XML element ID. --- diff --git a/schemas/jalview.xsd b/schemas/jalview.xsd index 00a589b..06473bc 100755 --- a/schemas/jalview.xsd +++ b/schemas/jalview.xsd @@ -26,7 +26,15 @@ - + + + additional identifier which properly disambiguates + the structure view from any other view with the same attributes. This is not an ID, + because it is possible to have many references to the same physical structure view + from different sequences in an alignment. A structureState element citing the same + viewId will appear for each instance. + + diff --git a/src/jalview/schemabinding/version2/.castor.cdr b/src/jalview/schemabinding/version2/.castor.cdr index 5b13ce1..7e3a754 100644 --- a/src/jalview/schemabinding/version2/.castor.cdr +++ b/src/jalview/schemabinding/version2/.castor.cdr @@ -1,4 +1,4 @@ -#Mon Nov 10 11:15:07 GMT 2008 +#Sun Dec 14 18:51:51 GMT 2008 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 @@ -33,12 +33,12 @@ jalview.schemabinding.version2.MapListFrom=jalview.schemabinding.version2.descri jalview.schemabinding.version2.PdbentryItem=jalview.schemabinding.version2.descriptors.PdbentryItemDescriptor jalview.schemabinding.version2.FeatureSettings=jalview.schemabinding.version2.descriptors.FeatureSettingsDescriptor jalview.schemabinding.version2.JGroup=jalview.schemabinding.version2.descriptors.JGroupDescriptor -jalview.schemabinding.version2.VamsasModel=jalview.schemabinding.version2.descriptors.VamsasModelDescriptor -jalview.schemabinding.version2.JalviewUserColours=jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor jalview.schemabinding.version2.MapListTo=jalview.schemabinding.version2.descriptors.MapListToDescriptor +jalview.schemabinding.version2.JalviewUserColours=jalview.schemabinding.version2.descriptors.JalviewUserColoursDescriptor +jalview.schemabinding.version2.VamsasModel=jalview.schemabinding.version2.descriptors.VamsasModelDescriptor jalview.schemabinding.version2.Pdbentry=jalview.schemabinding.version2.descriptors.PdbentryDescriptor jalview.schemabinding.version2.HiddenColumns=jalview.schemabinding.version2.descriptors.HiddenColumnsDescriptor -jalview.schemabinding.version2.Features=jalview.schemabinding.version2.descriptors.FeaturesDescriptor jalview.schemabinding.version2.DseqFor=jalview.schemabinding.version2.descriptors.DseqForDescriptor +jalview.schemabinding.version2.Features=jalview.schemabinding.version2.descriptors.FeaturesDescriptor jalview.schemabinding.version2.VAMSAS=jalview.schemabinding.version2.descriptors.VAMSASDescriptor jalview.schemabinding.version2.MappingChoiceItem=jalview.schemabinding.version2.descriptors.MappingChoiceItemDescriptor diff --git a/src/jalview/schemabinding/version2/StructureState.java b/src/jalview/schemabinding/version2/StructureState.java index 6f43108..24eed77 100644 --- a/src/jalview/schemabinding/version2/StructureState.java +++ b/src/jalview/schemabinding/version2/StructureState.java @@ -82,7 +82,14 @@ public class StructureState implements java.io.Serializable { private boolean _has_height; /** - * Field _viewId. + * additional identifier which properly disambiguates + * the structure view from any other view with the same + * attributes. This is not an ID, + * because it is possible to have many references to the same + * physical structure view + * from different sequences in an alignment. A structureState + * element citing the same + * viewId will appear for each instance. */ private java.lang.String _viewId; @@ -158,7 +165,16 @@ public class StructureState implements java.io.Serializable { } /** - * Returns the value of field 'viewId'. + * Returns the value of field 'viewId'. The field 'viewId' has + * the following description: additional identifier which + * properly disambiguates + * the structure view from any other view with the same + * attributes. This is not an ID, + * because it is possible to have many references to the same + * physical structure view + * from different sequences in an alignment. A structureState + * element citing the same + * viewId will appear for each instance. * * @return the value of field 'ViewId'. */ @@ -337,7 +353,16 @@ public class StructureState implements java.io.Serializable { } /** - * Sets the value of field 'viewId'. + * Sets the value of field 'viewId'. The field 'viewId' has the + * following description: additional identifier which properly + * disambiguates + * the structure view from any other view with the same + * attributes. This is not an ID, + * because it is possible to have many references to the same + * physical structure view + * from different sequences in an alignment. A structureState + * element citing the same + * viewId will appear for each instance. * * @param viewId the value of field 'viewId'. */