@Entity public class StorableTabularResource extends Object implements Serializable, Identifiable
| Modifier and Type | Field and Description |
|---|---|
protected long |
id |
| Constructor and Description |
|---|
StorableTabularResource() |
StorableTabularResource(org.gcube.data.analysis.tabulardata.commons.webservice.types.TabularResourceType tabularResourceType,
String owner,
String name,
List<StorableHistoryStep> historySteps,
List<StorableTask> tasks,
List<String> scopes) |
StorableTabularResource(org.gcube.data.analysis.tabulardata.commons.webservice.types.TabularResourceType tabularResourceType,
String owner,
String name,
String scope) |
public StorableTabularResource()
public StorableTabularResource(org.gcube.data.analysis.tabulardata.commons.webservice.types.TabularResourceType tabularResourceType,
String owner,
String name,
List<StorableHistoryStep> historySteps,
List<StorableTask> tasks,
List<String> scopes)
public long getId()
public List<StorableHistoryStep> getHistorySteps()
public void removeHistoryStep(StorableHistoryStep step)
public void addHistorySteps(List<StorableHistoryStep> steps)
public void addHistoryStep(StorableHistoryStep step)
public void setHistorySteps(LinkedList<StorableHistoryStep> historySteps)
public List<StorableTask> getTasks()
public void addTask(StorableTask task)
public void setTasks(List<StorableTask> tasks)
public boolean isLocked()
public void lock()
public void unlock()
public List<String> getScopes()
getScopes in interface Identifiablepublic List<String> getSharedWith()
getSharedWith in interface Identifiablepublic String getName()
public void setName(String name)
public String getOwner()
getOwner in interface Identifiablepublic void setOwner(String owner)
public org.gcube.data.analysis.tabulardata.commons.webservice.types.TabularResourceType getTabularResourceType()
public Map<String,Serializable> getProperties()
public Calendar getCreationDate()
public void setProperties(Map<String,Serializable> properties)
public void addRule(RuleMapping rule)
public void addRules(List<RuleMapping> rules)
public StorableTabularResource getNewVersion()
public void setNewVersion(StorableTabularResource newVersion)
public StorableTabularResource getOldVersion()
public List<StorableNotification> getNotifications()
public boolean isHidden()
public void setHidden(boolean hidden)
hidden - the hidden to setpublic boolean isDeleted()
public void setDeleted(boolean deleted)
public void addEditEntries(EditEntry editEntry)
editEntry - the editEntries to setpublic String getVersion()
public RuleMapping removeColumnRuleMapping(long id, String columnLocalId)
public RuleMapping removeTableRuleMapping(long id)
public void removeAllRules()
public List<RuleMapping> getRules()
public Long getTableId()
public void setTableId(Long tableId)
public List<RelationLink> getLinkedBy()
public void setLinkedBy(List<RelationLink> linkedBy)
public List<RelationLink> getLinksTo()
public void setLinksTo(List<RelationLink> linksTo)
public String getTableType()
public void setTableType(String tableType)
tableType - the type to setpublic void addResource(StorableResource resource)
public void removeResource(StorableResource resource)
public List<StorableResource> getResources()
public boolean isValid()
public void setValid(boolean valid)
valid - the valid to setpublic boolean isFinalized()
public void finalize(boolean finalize)
public void setTabularResourceType(org.gcube.data.analysis.tabulardata.commons.webservice.types.TabularResourceType tabularResourceType)
Copyright © 2018. All Rights Reserved.