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  
29  import org.wsmo.common.Identifier;
30  import org.wsmo.service.Choreography;
31  
32  import com.ontotext.wsmo4j.common.TopEntityImpl;
33  
34  /**
35   * This implementation represents the choreography
36   * of a web service.
37   *
38   * @author not attributable
39   * @version $Revision: 387 $ $Date: 2005-06-01 15:14:23 +0300 (Wed, 01 Jun 2005) $
40   */
41  public class ChoreographyImpl extends TopEntityImpl
42          implements Choreography {
43      
44      public ChoreographyImpl(Identifier id) {
45          super(id);
46      }
47      
48      public boolean equals(Object object) {
49          if (object == null 
50                  || false == object instanceof Choreography) {
51              return false;
52          }
53          return super.equals(object);
54      }
55  }
56  
57  /*
58  * $Log$
59  * Revision 1.13  2005/06/01 12:14:23  marin_dimitrov
60  * v0.4.0
61  *
62  * Revision 1.1  2005/05/13 09:32:23  alex
63  * initial commit
64  *
65  */