From 81f025aa7331bcfa4fe29a62f7436a028a89d416 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 12 Sep 2006 10:04:04 +0000 Subject: [PATCH] added id for RangeAnnotation types. git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@238 be28352e-c001-0410-b1a7-c7978e42abec --- schemas/document.xml | 15 +++++++++++++++ schemas/vamsas.xsd | 10 ++++++++++ .../core/AlignmentSequenceAnnotationDescriptor.java | 6 ++++++ 3 files changed, 31 insertions(+) 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() { -- 1.7.10.2