Class TableData
- java.lang.Object
-
- com.inductiveautomation.snap.filedata.SnapData
-
- com.inductiveautomation.snap.filedata.TableData
-
public class TableData extends SnapData
A file that represents a table of data.
-
-
Constructor Summary
Constructors Constructor Description TableData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EntitycreateEntity()Creates the entity for this table.voiddelete()Override to delete entity.static TableDataget(WebFile aFile)Returns the TableData for given file.EntitygetEntity()Returns the entity.java.util.List<Row>getRows(Query aQuery)Returns a list of rows for a query.SnapTablegetTable()Returns the SnapTable for this TableFile.SnapTableViewgetTableView()Returns the default view for this table.voidrefresh()Reverts file.voidsave()Override to save entity.voidsetEntity(Entity anEntity)Sets the entity.-
Methods inherited from class com.inductiveautomation.snap.filedata.SnapData
createBytes, createSourceURL, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, setBytes, setSource
-
-
-
-
Method Detail
-
getEntity
public Entity getEntity()
Returns the entity.
-
setEntity
public void setEntity(Entity anEntity)
Sets the entity.
-
createEntity
public Entity createEntity()
Creates the entity for this table.
-
getTable
public SnapTable getTable()
Returns the SnapTable for this TableFile.
-
getTableView
public SnapTableView getTableView()
Returns the default view for this table.
-
save
public void save() throws java.lang.ExceptionOverride to save entity.
-
delete
public void delete() throws java.lang.ExceptionOverride to delete entity.
-
-