001    /***************************************************************************/
002    /*  Copyright (C) 2010-2011, Sebastian Hellmann                            */
003    /*  Note: If you need parts of NLP2RDF in another licence due to licence   */
004    /*  incompatibility, please mail hellmann@informatik.uni-leipzig.de        */
005    /*                                                                         */
006    /*  This file is part of NLP2RDF.                                          */
007    /*                                                                         */
008    /*  NLP2RDF is free software; you can redistribute it and/or modify        */
009    /*  it under the terms of the GNU General Public License as published by   */
010    /*  the Free Software Foundation; either version 3 of the License, or      */
011    /*  (at your option) any later version.                                    */
012    /*                                                                         */
013    /*  NLP2RDF is distributed in the hope that it will be useful,             */
014    /*  but WITHOUT ANY WARRANTY; without even the implied warranty of         */
015    /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the           */
016    /*  GNU General Public License for more details.                           */
017    /*                                                                         */
018    /*  You should have received a copy of the GNU General Public License      */
019    /*  along with this program. If not, see <http://www.gnu.org/licenses/>.   */
020    /***************************************************************************/
021    
022    package eu.lod2.nlp2rdf.schema.error;
023    
024    import java.util.List;
025    import java.util.Iterator;
026    
027    import com.hp.hpl.jena.ontology.Individual;
028    
029    /**
030     * Interface http://nlp2rdf.lod2.eu/schema/error/Error
031     */
032    
033    public interface IError extends Individual, eu.lod2.nlp2rdf.schema.IThing {
034    
035            /**
036             * Domain property Fatal
037             * with uri http://nlp2rdf.lod2.eu/schema/error/fatal
038             */
039    
040            public boolean existsFatal();
041    
042            public boolean hasFatal(java.lang.Boolean booleanValue);
043    
044            public java.lang.Boolean getFatal();
045    
046            public void setFatal(java.lang.Boolean booleanValue);
047    
048            public void removeFatal();
049    
050            /**
051             * Domain property Source
052             * with uri http://nlp2rdf.lod2.eu/schema/error/source
053             */
054    
055            public boolean existsSource();
056    
057            public boolean hasSource(java.lang.String stringValue);
058    
059            public int countSource();
060    
061            public Iterator<java.lang.String> iterateSource();
062    
063            public List<java.lang.String> listSource();
064    
065            public void addSource(java.lang.String stringValue);
066    
067            public void addAllSource(List<java.lang.String> stringList);
068    
069            public void removeSource(java.lang.String stringValue);
070    
071            public void removeAllSource();
072    
073            /**
074             * Domain property Message
075             * with uri http://nlp2rdf.lod2.eu/schema/error/hasMessage
076             */
077    
078            public boolean existsMessage();
079    
080            public boolean hasMessage(java.lang.String stringValue);
081    
082            public int countMessage();
083    
084            public Iterator<java.lang.String> iterateMessage();
085    
086            public List<java.lang.String> listMessage();
087    
088            public void addMessage(java.lang.String stringValue);
089    
090            public void addAllMessage(List<java.lang.String> stringList);
091    
092            public void removeMessage(java.lang.String stringValue);
093    
094            public void removeAllMessage();
095    
096    }