From commits-return-6427-apmail-sis-commits-archive=sis.apache.org@sis.apache.org Tue Oct 6 17:07:27 2015 Return-Path: X-Original-To: apmail-sis-commits-archive@www.apache.org Delivered-To: apmail-sis-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B548518A89 for ; Tue, 6 Oct 2015 17:07:27 +0000 (UTC) Received: (qmail 15510 invoked by uid 500); 6 Oct 2015 17:07:27 -0000 Delivered-To: apmail-sis-commits-archive@sis.apache.org Received: (qmail 15281 invoked by uid 500); 6 Oct 2015 17:07:27 -0000 Mailing-List: contact commits-help@sis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sis-dev@sis.apache.org Delivered-To: mailing list commits@sis.apache.org Received: (qmail 15269 invoked by uid 500); 6 Oct 2015 17:07:27 -0000 Delivered-To: apmail-incubator-sis-commits@incubator.apache.org Received: (qmail 15265 invoked by uid 99); 6 Oct 2015 17:07:27 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2015 17:07:27 +0000 Date: Tue, 6 Oct 2015 17:07:27 +0000 (UTC) From: "Martin Desruisseaux (JIRA)" To: sis-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (SIS-173) Adds @XmlIdRef annotations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SIS-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Desruisseaux reassigned SIS-173: --------------------------------------- Assignee: Martin Desruisseaux > Adds @XmlIdRef annotations > -------------------------- > > Key: SIS-173 > URL: https://issues.apache.org/jira/browse/SIS-173 > Project: Spatial Information Systems > Issue Type: Task > Components: Referencing > Reporter: Martin Desruisseaux > Assignee: Martin Desruisseaux > > XML documents of objects in the {{gml}} namespace shall have a {{gml:id}} attribute allowing cross-references of the same objects in the document. SIS 0.4 provides this attribute (because it is mandatory) and annotates it with {{@XmlID}}, but does not really use it since we have no corresponding member annotated with {{@XmlIdRef}}. > More specifically we need to: > * Add a {{Context.isValidID(...)}} method. > * Invoke the above {{isValid(...)}} method in {{AbstractIdentifiedObject.getID()}} in order to determine if we need to generate an other ID. > * Add {{@XmlIdRef}} annotation somewhere and test. -- This message was sent by Atlassian JIRA (v6.3.4#6332)