|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.cnes.sitools.dataset.model.DataSet
public final class DataSet
Class defining a DataSet The DataSet is shared by all resources of the DataSetApplication. Do not modify the element TODO : voir comment faire un dataset plugin qui permet d'accéder au dataset uniquement en lecture
Constructor Summary | |
---|---|
DataSet()
Default constructor |
|
DataSet(java.lang.String id)
Constructor : return an initialized DataSet, depending of the Id |
|
DataSet(java.lang.String id,
java.lang.String name,
java.lang.String description)
Full constructor |
Method Summary | |
---|---|
void |
addColumn(Column column)
Add a column to DataSet |
Column |
findByColumnAlias(java.lang.String columnAlias)
Gets the column with a header |
java.util.List<Column> |
getColumnModel()
Gets the columnModel value Warning : do not modify the List |
java.util.List<Column> |
getColumnOrderBy()
Get the list of columns "order-by"-ed |
DatasetView |
getDatasetView()
Gets the datasetView value |
java.util.List<Property> |
getDatasetViewConfig()
Gets the datasetViewConfig value |
Resource |
getDatasource()
Gets the DataSource value |
java.util.List<Column> |
getDefaultColumnVisible()
Get the list of default column set to visible |
java.lang.String |
getDescription()
Gets the description value |
java.lang.String |
getDescriptionHTML()
Gets the descriptionHTML value |
java.util.List<java.lang.String> |
getDictionaryIds()
Gets the list of dictionary identifiers involved in a mapping |
DictionaryMapping |
getDictionaryMapping(java.lang.String dictionaryId)
Gets the DictionaryMapping corresponding to the given dictionaryId |
java.util.List<DictionaryMapping> |
getDictionaryMappings()
Gets the dictionaryMappings value |
java.lang.Boolean |
getDirty()
Gets the dirty value |
java.util.Date |
getExpirationDate()
Gets the expirationDate value |
java.util.List<Resource> |
getExpositions()
Gets the expositions value |
java.lang.String |
getId()
Gets the id value |
Resource |
getImage()
Gets the image value |
java.lang.String |
getName()
Gets the name value |
int |
getNbRecords()
Gets the number of results for the DataSet |
java.util.List<Predicat> |
getPredicat()
Gets the predicate value |
java.util.List<SitoolsProperty> |
getProperties()
Gets the properties value |
SitoolsProperty |
getProperty(java.lang.String propertyName)
Get a SitoolsProperty for a given propertyName |
java.lang.String |
getQueryType()
Gets the queryType value |
java.lang.String |
getSitoolsAttachementForUsers()
Gets the sitoolsAttachementForUsers value |
java.lang.String |
getSqlQuery()
Gets the sqlQuery value |
java.lang.String |
getStatus()
Gets the status value |
SitoolsStructure |
getStructure()
Gets the structure value |
java.util.List<Structure> |
getStructures()
Gets the structures value |
boolean |
isAuthorized()
Gets the authorized value |
boolean |
isVisible()
Gets the visible value |
void |
setAuthorized(boolean authorized)
Sets the value of authorized |
void |
setColumnModel(java.util.List<Column> columnModel)
Sets the value of columnModel Warning : do not modify the List |
void |
setDatasetView(DatasetView datasetView)
Sets the value of datasetView |
void |
setDatasetViewConfig(java.util.List<Property> datasetViewConfig)
Sets the value of datasetViewConfig |
void |
setDatasource(Resource datasource)
Sets the value of DataSource |
void |
setDescription(java.lang.String description)
Sets the value of description |
void |
setDescriptionHTML(java.lang.String descriptionHTML)
Sets the value of descriptionHTML |
void |
setDictionaryMappings(java.util.List<DictionaryMapping> dictionaryMappings)
Sets the value of dictionaryMappings |
void |
setDirty(java.lang.Boolean dirty)
Sets the value of dirty |
void |
setExpirationDate(java.util.Date expirationDate)
Sets the value of expirationDate |
void |
setExpositions(java.util.List<Resource> expositions)
Sets the value of expositions |
void |
setId(java.lang.String id)
Sets the value of id |
void |
setImage(Resource image)
Sets the value of image |
void |
setName(java.lang.String name)
Sets the value of name |
void |
setNbRecords(int nbRecords)
Sets the number of results |
void |
setPredicat(java.util.List<Predicat> predicat)
Sets the value of predicate |
void |
setProperties(java.util.List<SitoolsProperty> properties)
Sets the value of properties |
void |
setQueryType(java.lang.String queryType)
Sets the value of queryType |
void |
setSitoolsAttachementForUsers(java.lang.String sitoolsAttachementForUsers)
Sets the value of sitoolsAttachementForUsers |
void |
setSqlQuery(java.lang.String sqlQuery)
Sets the value of sqlQuery |
void |
setStatus(java.lang.String status)
Sets the value of status |
void |
setStructure(SitoolsStructure structure)
Sets the value of structure |
void |
setStructures(java.util.List<Structure> structures)
Sets the value of structures |
void |
setVisible(boolean visible)
Sets the value of visible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSet(java.lang.String id)
id
- identifierpublic DataSet(java.lang.String id, java.lang.String name, java.lang.String description)
id
- identifiername
- namedescription
- descriptionpublic DataSet()
Method Detail |
---|
public void addColumn(Column column)
column
- Columnpublic java.lang.String getId()
getId
in interface IResource
public void setId(java.lang.String id)
setId
in interface IResource
id
- the id to setpublic java.lang.String getName()
getName
in interface IResource
public void setName(java.lang.String name)
name
- the name to setpublic java.lang.String getDescription()
getDescription
in interface IResource
public int getNbRecords()
public void setNbRecords(int nbRecords)
nbRecords
- number of recordspublic void setDescription(java.lang.String description)
description
- the description to setpublic Resource getImage()
public void setImage(Resource image)
image
- the image to setpublic Resource getDatasource()
public void setDatasource(Resource datasource)
datasource
- the DataSource to setpublic java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- the status to setpublic java.util.List<Resource> getExpositions()
public void setExpositions(java.util.List<Resource> expositions)
expositions
- the expositions to setpublic java.lang.String getSitoolsAttachementForUsers()
public void setSitoolsAttachementForUsers(java.lang.String sitoolsAttachementForUsers)
sitoolsAttachementForUsers
- the sitoolsAttachementForUsers to setpublic java.util.List<Column> getColumnModel()
Warning : do not modify the List
public void setColumnModel(java.util.List<Column> columnModel)
Warning : do not modify the List
columnModel
- the columnModel to setpublic java.util.List<Structure> getStructures()
public void setStructures(java.util.List<Structure> structures)
structures
- the structures to setpublic java.lang.String getQueryType()
public void setQueryType(java.lang.String queryType)
queryType
- the queryType to setpublic java.lang.String getSqlQuery()
public void setSqlQuery(java.lang.String sqlQuery)
sqlQuery
- the sqlQuery to setpublic java.util.List<Predicat> getPredicat()
public void setPredicat(java.util.List<Predicat> predicat)
predicat
- the predicate to setpublic java.util.Date getExpirationDate()
public void setExpirationDate(java.util.Date expirationDate)
expirationDate
- the expirationDate to setpublic void setDescriptionHTML(java.lang.String descriptionHTML)
descriptionHTML
- the descriptionHTML to setpublic java.lang.String getDescriptionHTML()
public boolean isVisible()
public void setVisible(boolean visible)
visible
- the visible to setpublic boolean isAuthorized()
public void setAuthorized(boolean authorized)
authorized
- the authorized to setpublic java.lang.Boolean getDirty()
public void setDirty(java.lang.Boolean dirty)
dirty
- the dirty to setpublic SitoolsStructure getStructure()
public void setStructure(SitoolsStructure structure)
structure
- the structure to setpublic DatasetView getDatasetView()
public void setDatasetView(DatasetView datasetView)
datasetView
- the datasetView to setpublic Column findByColumnAlias(java.lang.String columnAlias)
columnAlias
- the columnAlias looked at
public java.util.List<Column> getDefaultColumnVisible()
public java.util.List<Column> getColumnOrderBy()
public void setDictionaryMappings(java.util.List<DictionaryMapping> dictionaryMappings)
dictionaryMappings
- the dictionaryMappings to setpublic java.util.List<DictionaryMapping> getDictionaryMappings()
public java.util.List<java.lang.String> getDictionaryIds()
public DictionaryMapping getDictionaryMapping(java.lang.String dictionaryId)
dictionaryId
- the id of the dictionary
public java.util.List<SitoolsProperty> getProperties()
public void setProperties(java.util.List<SitoolsProperty> properties)
properties
- the properties to setpublic SitoolsProperty getProperty(java.lang.String propertyName)
SitoolsProperty
for a given propertyName
propertyName
- the name of the property
public java.util.List<Property> getDatasetViewConfig()
public void setDatasetViewConfig(java.util.List<Property> datasetViewConfig)
datasetViewConfig
- the datasetViewConfig to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |