ch.claudio.trainer.data
Class ConnectedWords

java.lang.Object
  extended by ch.claudio.trainer.data.ConnectedWords

public class ConnectedWords
extends java.lang.Object

Connects two sentences together. It defines a relation between two sentences and records who suplied this information.

Version:
$Id: ConnectedWords.java 298 2008-10-02 22:18:56Z claudio $
Author:
Claudio Nieder

Copyright (C) 2006-2008 Claudio Nieder <private@claudio.ch>, CH-8610 Uster

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA


Constructor Summary
ConnectedWords(ConnectionType typeArg, Sentence sentence1Arg, Sentence sentence2Arg, User originatorArg)
           
 
Method Summary
 User getOriginator()
           
 Sentence getSentence1()
           
 Sentence getSentence2()
           
 ConnectionType getType()
           
static void main(java.lang.String[] args)
          Print license.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectedWords

public ConnectedWords(ConnectionType typeArg,
                      Sentence sentence1Arg,
                      Sentence sentence2Arg,
                      User originatorArg)
Parameters:
typeArg -
sentence1Arg -
sentence2Arg -
originatorArg -
Method Detail

getOriginator

public User getOriginator()
Returns:
the originator

getSentence1

public Sentence getSentence1()
Returns:
the sentence1

getSentence2

public Sentence getSentence2()
Returns:
the sentence2

getType

public ConnectionType getType()
Returns:
the type

main

public static void main(java.lang.String[] args)
Print license.

Parameters:
args - ignored