streamlet-examples/Streamlet.java
branchv_0
changeset 75 ecbf6504915c
parent 72 f7b9db6fc32b
equal deleted inserted replaced
74:a2aa84f310a5 75:ecbf6504915c
   177 			this.name = name;
   177 			this.name = name;
   178 			this.value = value;
   178 			this.value = value;
   179 		}
   179 		}
   180 	}
   180 	}
   181 
   181 
   182 	protected List<String> versionsSupported = new LinkedList<>();
   182 	private List<String> versionsSupported = new LinkedList<>();
   183 	protected List<AttributeMetadata> inputAttributes = new ArrayList<>();
   183 	private List<AttributeMetadata> inputAttributes = new ArrayList<>();
   184 	protected List<String> outputAttributeAliases = new ArrayList<>();
   184 	private List<String> outputAttributeAliases = new ArrayList<>();
   185 	protected List<Option> options = new LinkedList<>();
   185 	private List<Option> options = new LinkedList<>();
   186 	protected String currentRelation;
   186 	private String currentRelation;
   187 	protected String currentFile;
   187 	private String currentFile;
       
   188 
       
   189 	/**
       
   190 	 * @return n.b. generic streamlet (later in relpipe-tr-streamler) will not have currentFile
       
   191 	 */
       
   192 	public String getCurrentFile() {
       
   193 		return currentFile;
       
   194 	}
       
   195 
       
   196 	public String getCurrentRelation() {
       
   197 		return currentRelation;
       
   198 	}
   188 
   199 
   189 	protected static enum Type {
   200 	protected static enum Type {
   190 		BOOLEAN,
   201 		BOOLEAN,
   191 		INTEGER,
   202 		INTEGER,
   192 		STRING
   203 		STRING