01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2004 Danet GmbH (www.danet.de), GS-AN.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: ExternalReference.java,v 1.4 2006/11/20 09:52:37 drmlipp Exp $
21: *
22: * $Log: ExternalReference.java,v $
23: * Revision 1.4 2006/11/20 09:52:37 drmlipp
24: * Fixed problems with using URL class.
25: *
26: * Revision 1.3 2006/11/19 11:16:35 mlipp
27: * Made ExternalReference an interface.
28: *
29: * Revision 1.2 2006/09/29 12:32:07 drmlipp
30: * Consistently using WfMOpen as projct name now.
31: *
32: * Revision 1.1.1.2 2004/08/18 15:17:36 drmlipp
33: * Update to 1.2
34: *
35: * Revision 1.2 2004/01/19 15:20:45 lipp
36: * Fixed serializability.
37: *
38: * Revision 1.1 2004/01/19 12:30:58 lipp
39: * SchemaType now supported properly.
40: *
41: */
42: package de.danet.an.workflow.api;
43:
44: import java.io.Serializable;
45:
46: import java.net.URI;
47:
48: /**
49: * This interface represents an <code>ExternalReference</code> as
50: * specified by XPDL.
51: *
52: * @author <a href="mailto:lipp@danet.de">Michael Lipp</a>
53: * @version $Revision: 1.4 $
54: * @since 1.1
55: */
56:
57: public interface ExternalReference extends Serializable {
58:
59: /**
60: * Returns the location information of the external document.
61: * @return location information
62: */
63: public URI location();
64:
65: /**
66: * Returns the identity of the entity within the external document
67: * or <code>null</code> if no such information is supplied.
68: * @return identity of entity
69: */
70: public String xref();
71:
72: /**
73: * Returns the scope in which the entity is defined or
74: * <code>null</code> if no such information is supplied.
75: * @return namespace information
76: */
77: public String namespace();
78: }
|