From: jprocter Date: Tue, 12 Sep 2006 10:04:04 +0000 (+0000) Subject: added id for RangeAnnotation types. X-Git-Tag: Release_0.2~282 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=81f025aa7331bcfa4fe29a62f7436a028a89d416;p=vamsas.git added id for RangeAnnotation types. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@238 be28352e-c001-0410-b1a7-c7978e42abec --- diff --git a/schemas/document.xml b/schemas/document.xml index 7113ae1..b2c3ed1 100644 --- a/schemas/document.xml +++ b/schemas/document.xml @@ -53,6 +53,21 @@ Q87N22 + + + + Topali Breakpoint + ? + + + + Jim + topali + added-by hand + 2006-09-11 + + + KTAIITGGSRGIGKSIAIKLGKLGASIVLNYRNNTDALKNTIRELEDLN--INVIAVQGDISNYKECEKIIKAALDKFNG--IDILVNNAGITADNLILRMKEEEFDKVIETNLKGTFNCVKHCIPMIKRRYGKIINISSVVGVAGNVGQCNYAAAKAGVIGFTKSLAKEL Q899P0 diff --git a/schemas/vamsas.xsd b/schemas/vamsas.xsd index 996c187..f83f12c 100644 --- a/schemas/vamsas.xsd +++ b/schemas/vamsas.xsd @@ -797,6 +797,16 @@ + + + + Primary Key for + vamsas object + referencing + + + diff --git a/src/org/vamsas/objects/core/AlignmentSequenceAnnotationDescriptor.java b/src/org/vamsas/objects/core/AlignmentSequenceAnnotationDescriptor.java index a4aa126..9b8fbdc 100644 --- a/src/org/vamsas/objects/core/AlignmentSequenceAnnotationDescriptor.java +++ b/src/org/vamsas/objects/core/AlignmentSequenceAnnotationDescriptor.java @@ -67,6 +67,12 @@ public class AlignmentSequenceAnnotationDescriptor extends org.vamsas.objects.co org.exolab.castor.xml.FieldValidator fieldValidator = null; //-- initialize attribute descriptors + desc = (org.exolab.castor.xml.util.XMLFieldDescriptorImpl) getFieldDescriptor("id", nsURI, org.exolab.castor.xml.NodeType.Attribute); + //-- validation code for: _id + fieldValidator = new org.exolab.castor.xml.FieldValidator(); + { //-- local scope + } + desc.setValidator(fieldValidator); //-- _graph desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Boolean.TYPE, "_graph", "graph", org.exolab.castor.xml.NodeType.Attribute); handler = new org.exolab.castor.xml.XMLFieldHandler() {