01: /*
02: * This file or a portion of this file is licensed under the terms of
03: * the Globus Toolkit Public License, found in file GTPL, or at
04: * http://www.globus.org/toolkit/download/license.html. This notice must
05: * appear in redistributions of this file, with or without modification.
06: *
07: * Redistributions of this Software, with or without modification, must
08: * reproduce the GTPL in: (1) the Software, or (2) the Documentation or
09: * some other similar material which is provided with the Software (if
10: * any).
11: *
12: * Copyright 1999-2004 University of Chicago and The University of
13: * Southern California. All rights reserved.
14: */
15: package org.griphyn.vdl.invocation;
16:
17: /**
18: * This interface defines a common base for all File elements in an invocation
19: * record that carry a filename in their values. It exists primarily for
20: * grouping purposes and for easier access for the database manager.
21: *
22: * @author Jens-S. Vöckler
23: * @author Yong Zhao
24: * @version $Revision: 50 $
25: */
26: public interface HasFilename {
27: /**
28: * Accessor: Obtains the name of the file
29: * @return the name of the file objects. Null is legal.
30: *
31: * @see #setFilename(String)
32: */
33: public String getFilename();
34:
35: /**
36: * Accessor: Sets the name of an file object.
37: * @param filename is the new name to store as filename.
38: * @see #getFilename()
39: */
40: public void setFilename(String filename);
41: }
|