- Timestamp:
- 2003-07-15T13:55:22+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/ArgumentContainer.java
r4675 r4932 6 6 * University of Waikato, New Zealand. 7 7 * 8 * <BR><BR>9 *10 8 * Author: John Thompson, Greenstone Digital Library, University of Waikato 11 9 * 12 * <BR><BR>13 *14 10 * Copyright (C) 1999 New Zealand Digital Library Project 15 *16 * <BR><BR>17 11 * 18 12 * This program is free software; you can redistribute it and/or modify … … 21 15 * (at your option) any later version. 22 16 * 23 * <BR><BR>24 *25 17 * This program is distributed in the hope that it will be useful, 26 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 27 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 20 * GNU General Public License for more details. 29 *30 * <BR><BR>31 21 * 32 22 * You should have received a copy of the GNU General Public License … … 35 25 *######################################################################## 36 26 */ 37 38 39 40 41 42 43 /* GPL_HEADER */44 27 package org.greenstone.gatherer.cdm; 45 28 /************************************************************************************** 46 * Title: Gatherer47 * Description: The Gatherer: a tool for gathering and enriching a digital collection.48 * Company: The University of Waikato49 29 * Written: 20/05/02 50 * Revised: 30 * Revised: 03/07/03 51 31 **************************************************************************************/ 52 32 import java.util.ArrayList; … … 57 37 public interface ArgumentContainer { 58 38 /** Method to retrieve the list of arguments from this container. Note that this method returns both the containers arguments plus its 'supers' arguments if any, and alphabetically orders them. 59 * @return The arguments within a <strong>ArrayList</strong>. 39 * @param include_normal true to filter so normal arguments are returned 40 * @param include_custom true to filter so custom arguments are returned 41 * @return the arguments within a ArrayList 60 42 */ 61 public ArrayList getArguments( );43 public ArrayList getArguments(boolean include_normal, boolean include_custom); 62 44 /** Method to retrieve this containers custom argument string. 63 * @return The custom arguments as a <strong>String</strong>.45 * @return the custom arguments as a String 64 46 */ 65 47 public String getCustom(); 66 48 /** Method to retrieve the name associated with this argument container. 67 * @return The name as a <strong>String</strong>.49 * @return the name as a String 68 50 */ 69 51 public String getName(); 70 52 /** Method to set the custom arguments string. 71 * @param custom The new custom argument <strong>String</strong>.53 * @param custom the new custom argument String 72 54 */ 73 55 public void setCustom(String custom);
Note:
See TracChangeset
for help on using the changeset viewer.