From 085ea8f76daf3b292d77d6fb0b24ca10a32d9388 Mon Sep 17 00:00:00 2001 From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04> Date: Tue, 4 Jul 2006 10:54:08 +0000 Subject: [PATCH] add feature_relationship list git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@4493 ee4ac58c-ac51-4696-9907-e4b3aa274f04 --- uk/ac/sanger/artemis/chado/ChadoFeature.java | 28 +++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/uk/ac/sanger/artemis/chado/ChadoFeature.java b/uk/ac/sanger/artemis/chado/ChadoFeature.java index 7be4bde02..dbd304096 100644 --- a/uk/ac/sanger/artemis/chado/ChadoFeature.java +++ b/uk/ac/sanger/artemis/chado/ChadoFeature.java @@ -68,6 +68,10 @@ public class ChadoFeature private Hashtable qualifiers; /** list of ChadoFeatureProp */ private List featurepropList; + /** list of ChadoFeatureRelationship children */ + private List featureRelationshipsForObjectId; + /** list of ChadoFeatureRelationship parent */ + private List featureRelationshipsForSubjectId; private List featureCvterms = new Vector(); @@ -357,6 +361,28 @@ public class ChadoFeature } } + public List getFeatureRelationshipsForObjectId() + { + return featureRelationshipsForObjectId; + } + + public void setFeatureRelationshipsForObjectId( + List featureRelationshipsForObjectId) + { + this.featureRelationshipsForObjectId = featureRelationshipsForObjectId; + } + + public List getFeatureRelationshipsForSubjectId() + { + return featureRelationshipsForSubjectId; + } + + public void setFeatureRelationshipsForSubjectId( + List featureRelationshipsForSubjectId) + { + this.featureRelationshipsForSubjectId = featureRelationshipsForSubjectId; + } + /** * Used in merging the qualifiers to store them as a <code>Hashtable</code> of * the cvterm type_id (of the property name) and the property values as a @@ -393,5 +419,5 @@ public class ChadoFeature { return qualifiers; } - + } -- GitLab