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 SummaryConstructors Constructor Description TableData()
 - 
Method SummaryAll 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.SnapDatacreateBytes, createSourceURL, get, getBytes, getInputStream, getSite, getSource, getSourceFile, getSourceURL, is, setBytes, setSource
 
- 
 
- 
- 
- 
Method Detail- 
getEntitypublic Entity getEntity() Returns the entity.
 - 
setEntitypublic void setEntity(Entity anEntity) Sets the entity.
 - 
createEntitypublic Entity createEntity() Creates the entity for this table.
 - 
getTablepublic SnapTable getTable() Returns the SnapTable for this TableFile.
 - 
getTableViewpublic SnapTableView getTableView() Returns the default view for this table.
 - 
savepublic void save() throws java.lang.ExceptionOverride to save entity.
 - 
deletepublic void delete() throws java.lang.ExceptionOverride to delete entity.
 
- 
 
-