View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3    Copyright (c) 2005, University of Innsbruck, Austria
4    This library is free software; you can redistribute it and/or modify it under
5    the terms of the GNU Lesser General Public License as published by the Free
6    Software Foundation; either version 2.1 of the License, or (at your option)
7    any later version.
8    This library is distributed in the hope that it will be useful, but WITHOUT
9    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
11   details.
12   You should have received a copy of the GNU Lesser General Public License along
13   with this library; if not, write to the Free Software Foundation, Inc.,
14   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15   */
16  package org.wsmo.validator;
17  
18  import org.omwg.ontology.Attribute;
19  
20  /**
21   * Gives Structure to an attribute validation error.
22   *
23   * <pre>
24   *  Created on November 15, 2005
25   *  Committed by $Author: nathaliest $
26   *  $Source$,
27   * </pre>
28   *
29   * @author nathalie.steinmetz@deri.org
30   * @version $Revision: 1275 $ $Date: 2005-11-15 18:50:37 +0200 (Tue, 15 Nov 2005) $
31   */
32  public interface AttributeError extends ValidationError {
33  
34      /**
35       * Returns the attribute in which the violation occured.
36       * 
37       * @return an Attribute
38       */
39      public Attribute getAttribute();
40      
41  }