org.gcube.contentmanagement.timeseriesservice.impl.curation.rules
Class Rule
java.lang.Object
org.gcube.common.dbinterface.persistence.ObjectStateControl
org.gcube.contentmanagement.timeseriesservice.impl.curation.rules.Rule
- All Implemented Interfaces:
- Serializable
public class Rule
- extends org.gcube.common.dbinterface.persistence.ObjectStateControl
- implements Serializable
- See Also:
- Serialized Form
|
Constructor Summary |
Rule(String name,
String description,
String humanReadable,
org.gcube.contentmanagement.timeseriesservice.stubs.types.FilterCondition filter,
org.gcube.common.dbinterface.types.Type.Types type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Rule
public Rule(String name,
String description,
String humanReadable,
org.gcube.contentmanagement.timeseriesservice.stubs.types.FilterCondition filter,
org.gcube.common.dbinterface.types.Type.Types type)
getId
public String getId()
- Returns:
- the id
getName
public String getName()
- Returns:
- the name
getDescription
public String getDescription()
- Returns:
- the description
getHumanReadable
public String getHumanReadable()
- Returns:
- the humanReadable
getType
public org.gcube.common.dbinterface.types.Type.Types getType()
- Returns:
- the type
getFilter
public org.gcube.contentmanagement.timeseriesservice.stubs.types.FilterCondition getFilter()
- Returns:
- the filter
store
public boolean store()
getAll
public static Iterator<Rule> getAll()
throws Exception
- Returns:
-
- Throws:
Exception
getByType
public static Iterator<Rule> getByType(org.gcube.common.dbinterface.types.Type.Types type)
throws Exception
- Returns:
-
- Throws:
Exception
get
public static Rule get(String id)
throws Exception
- Parameters:
id -
- Returns:
-
- Throws:
Exception
destroy
public static void destroy(String id)
throws Exception
- Parameters:
id -
- Throws:
Exception
Copyright © 2012. All Rights Reserved.