edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator
Interface Source
- All Known Implementing Classes:
- SourceImp
- public interface Source
- extends SpecialOperator
An interface for the Source opertor.
- Since:
- 1.0
Method Summary |
java.lang.String |
getName()
get the current name of this source. |
int |
getType()
Return the type of this source. |
java.lang.String |
setName(java.lang.String newName)
Set the new name of this source. |
int |
setType(int newType)
Set the type of this source. |
Methods inherited from interface edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperator |
clone,
getNode,
getOutput,
getOutputColumnName,
getOutputDataSource,
getOutputDataSources,
getPrimaryDataSource,
getPrimarySource,
setNode,
setOutput,
setOutputColumnName |
XML
public static final int XML
TABLE
public static final int TABLE
TEXT
public static final int TEXT
TEMP
public static final int TEMP
getName
public java.lang.String getName()
- get the current name of this source.
- Returns:
- the current name.
- Since:
- 1.0
getType
public int getType()
- Return the type of this source. It could be either XML or TABLE.
- Returns:
- int.
- Since:
- 1.0
setName
public java.lang.String setName(java.lang.String newName)
- Set the new name of this source.
- Parameters:
The
- new name.- Returns:
- original name.
- Since:
- 1.0
setType
public int setType(int newType)
- Set the type of this source.
- Parameters:
newType
- the new type of this source, could be either Source.XML or Source.TABLE.- Returns:
- original type.
- Since:
- 1.0