From: Xuan B. <med...@us...> - 2008-01-21 19:58:20
|
Update of /cvsroot/tm4j/tm4j/src/org/tm4j/topicmap/tmdm In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv28499/src/org/tm4j/topicmap/tmdm Added Files: Occurrence.java ReadableOccurrence.java Removed Files: Occurence.java ReadableOccurence.java Log Message: Spelling fix: s/ccurence/ccurrence/ part 1 (found thanks to a code-review by Benjamin Bock <bb-...@bo...>) --- NEW FILE: ReadableOccurrence.java --- package org.tm4j.topicmap.tmdm; import java.util.Set; import org.tm4j.net.Locator; /** @author <a href="mailto:xua...@pu...">Xuân Baldauf</a> */ public interface ReadableOccurence extends ReadableScopeable { @TMDM @TMAPI public Topic getType(); @TMDM public Locator getDatatype(); @TMDM @TMAPI public String getValue(); /** FIXME: it is unclear whether we should expose this method in this interface. */ @TMDM public ReadableTopic getParent(); } /* Copyright (c) 2007-2008 Xuân Baldauf. This software is licensed, under the terms of * Apache 2 License * GPL v2 License * GPL v3 License * LGPL v2.1 License * MPL v1.1 License as well as each later version of these licenses. This means: (1) If you are using this software, you can choose any subset of the licenses mentioned, and you can choose any version of each of these licenses (starting with the respective version indicated). (Note that, however, choosing the empty set of licenses means that you do not have any right granted by any license at all.) (2) If you are committing contributions to this software (i.e. this software as part of the official TM4J sourcecode), then you agree to each of these licenses for your contribution (such that each user of this software has still at least the same set of rights and licenses when using this software together with you contribution compared to when using this software without your contribution). */ // :tabSize=2:indentSize=2: --- ReadableOccurence.java DELETED --- --- NEW FILE: Occurrence.java --- package org.tm4j.topicmap.tmdm; import java.util.Set; import org.tm4j.net.Locator; /** @author <a href="mailto:xua...@pu...">Xuân Baldauf</a> */ public interface Occurence extends ReadableOccurence,Scopeable { @TMDM @TMAPI public void setType(Topic type); @TMDM @TMAPI public Topic getType(); @TMDM public void setDatatype(Locator datatype); @TMDM public Locator getDatatype(); @TMDM @TMAPI public void setValue(String value); @TMDM @TMAPI public String getValue(); } /* Copyright (c) 2007-2008 Xuân Baldauf. This software is licensed, under the terms of * Apache 2 License * GPL v2 License * GPL v3 License * LGPL v2.1 License * MPL v1.1 License as well as each later version of these licenses. This means: (1) If you are using this software, you can choose any subset of the licenses mentioned, and you can choose any version of each of these licenses (starting with the respective version indicated). (Note that, however, choosing the empty set of licenses means that you do not have any right granted by any license at all.) (2) If you are committing contributions to this software (i.e. this software as part of the official TM4J sourcecode), then you agree to each of these licenses for your contribution (such that each user of this software has still at least the same set of rights and licenses when using this software together with you contribution compared to when using this software without your contribution). */ // :tabSize=2:indentSize=2: --- Occurence.java DELETED --- |