View Javadoc

1   /*
2    wsmo4j - a WSMO API and Reference Implementation
3    
4    Copyright (c) 2004-2005, OntoText Lab. / SIRMA
5    
6    This library is free software; you can redistribute it and/or modify it under
7    the terms of the GNU Lesser General Public License as published by the Free
8    Software Foundation; either version 2.1 of the License, or (at your option)
9    any later version.
10   This library is distributed in the hope that it will be useful, but WITHOUT
11   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12   FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13   details.
14   You should have received a copy of the GNU Lesser General Public License along
15   with this library; if not, write to the Free Software Foundation, Inc.,
16   59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17   */
18  
19  /**
20   * <p>Title: WSMO4J</p>
21   * <p>Description: WSMO API and a Reference Implementation</p>
22   * <p>Copyright:  Copyright (c) 2004-2005</p>
23   * <p>Company: OntoText Lab. / SIRMA </p>
24   */
25  
26  package com.ontotext.wsmo4j.service;
27  
28  import org.wsmo.service.Goal;
29  import org.wsmo.common.*;
30  
31  /**
32   *  This interface represents a WSMO Goal.
33   *
34   * @author not attributable
35   * @version $Revision: 1574 $ $Date: 2006-02-13 12:41:05 +0200 (Mon, 13 Feb 2006) $
36   */
37  public class GoalImpl extends ServiceDescriptionImpl 
38          implements Goal {
39  
40      public GoalImpl(IRI goalIRI) {
41          super(goalIRI);
42      }
43      
44      public boolean equals(Object object) {
45          if (object == null
46                  || false == object instanceof Goal) {
47              return false;
48          }
49          return super.equals(object);
50      }
51  }
52  
53  /*
54  * $Log$
55  * Revision 1.2  2006/02/13 10:41:05  vassil_momtchev
56  * the constructors of the topentities to disallow Identifier; see WsmoFactoryImpl
57  *
58  * Revision 1.1  2005/06/01 12:14:05  marin_dimitrov
59  * v0.4.0
60  *
61  * Revision 1.1  2005/05/13 08:47:27  alex
62  * initial commit
63  *
64  */