@Entity public class StorableRule extends Object implements Identifiable, Serializable
| Constructor and Description |
|---|
StorableRule() |
StorableRule(String name,
String description,
org.gcube.data.analysis.tabulardata.commons.rules.Rule rule,
String owner,
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType ruleType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addScope(String scope) |
void |
addSharedWith(String entityRepresentation) |
Calendar |
getCreationDate() |
String |
getDescription() |
long |
getId() |
String |
getName() |
String |
getOwner() |
org.gcube.data.analysis.tabulardata.commons.rules.Rule |
getRule() |
List<RuleMapping> |
getRuleMappings() |
org.gcube.data.analysis.tabulardata.commons.rules.RuleScope |
getRuleScope() |
org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType |
getRuleType() |
List<String> |
getScopes() |
List<String> |
getSharedWith() |
boolean |
isDeleted() |
void |
removeScope(String scope) |
void |
removeSharedWith(String entityRepresentation) |
void |
setDeleted(boolean deleted) |
void |
setDescription(String description) |
void |
setId(long id) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setRule(org.gcube.data.analysis.tabulardata.commons.rules.Rule rule) |
void |
setRuleScope(org.gcube.data.analysis.tabulardata.commons.rules.RuleScope ruleScope) |
void |
setRuleType(org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType ruleType) |
public long getId()
public String getName()
public String getDescription()
public String getOwner()
getOwner in interface Identifiablepublic org.gcube.data.analysis.tabulardata.commons.rules.Rule getRule()
public org.gcube.data.analysis.tabulardata.commons.rules.RuleScope getRuleScope()
public org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType getRuleType()
public List<String> getScopes()
getScopes in interface Identifiablepublic List<String> getSharedWith()
getSharedWith in interface Identifiablepublic void setId(long id)
id - the id to setpublic void setName(String name)
name - the name to setpublic void setDescription(String description)
description - the description to setpublic void setOwner(String owner)
owner - the owner to setpublic Calendar getCreationDate()
public void setRule(org.gcube.data.analysis.tabulardata.commons.rules.Rule rule)
rule - the rule to setpublic void setRuleScope(org.gcube.data.analysis.tabulardata.commons.rules.RuleScope ruleScope)
ruleScope - the ruleScope to setpublic void addSharedWith(String entityRepresentation)
sharedWith - the sharedWith to setpublic void removeSharedWith(String entityRepresentation)
public void addScope(String scope)
scopes - the scopes to setpublic void removeScope(String scope)
public void setRuleType(org.gcube.data.analysis.tabulardata.commons.rules.types.RuleType ruleType)
public boolean isDeleted()
public void setDeleted(boolean deleted)
public List<RuleMapping> getRuleMappings()
Copyright © 2017. All Rights Reserved.