org.gcube.contentmanagement.timeseriesservice.impl.curation
Class Curation
java.lang.Object
org.gcube.contentmanagement.timeseriesservice.impl.curation.Curation
public class Curation
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Curation
public Curation(String id)
getTitle
public String getTitle()
- Returns:
- the title
setTitle
public void setTitle(String title)
- Parameters:
title - the title to set
getDescription
public String getDescription()
- Returns:
- the description
setDescription
public void setDescription(String description)
- Parameters:
description - the description to set
getCreator
public String getCreator()
- Returns:
- the creator
setCreator
public void setCreator(String creator)
- Parameters:
creator - the creator to set
getSourceId
public String getSourceId()
- Returns:
- the sourceId
setSourceId
public void setSourceId(String sourceId)
- Parameters:
sourceId - the sourceId to set
getSourceName
public String getSourceName()
- Returns:
- the sourceName
setSourceName
public void setSourceName(String sourceName)
- Parameters:
sourceName - the sourceName to set
getDate
public Timestamp getDate()
- Returns:
- the date
setDate
public void setDate(Timestamp date)
- Parameters:
date - the date to set
getLength
public int getLength()
- Returns:
- the length
setLength
public void setLength(int length)
- Parameters:
length - the length to set
getType
public String getType()
- Returns:
- the type
setType
public void setType(String type)
- Parameters:
type - the type to set
getPublisher
public String getPublisher()
- Returns:
- the publisher
setPublisher
public void setPublisher(String publisher)
- Parameters:
publisher - the publisher to set
getRights
public String getRights()
- Returns:
- the rights
setRights
public void setRights(String rights)
- Parameters:
rights - the rights to set
getScope
public String getScope()
- Returns:
- the scope
setScope
public void setScope(String scope)
- Parameters:
scope - the scope to set
getId
public String getId()
- Returns:
- the id
getFieldRulesMapping
public HashMap<String,ArrayList<Rule>> getFieldRulesMapping()
- Returns:
- the fieldRulesMapping
addRuleToField
public void addRuleToField(String fieldId,
Rule rule)
removeAllRulesForField
public void removeAllRulesForField(String fieldId)
store
public void store()
throws Exception
- Throws:
Exception
getCurationItem
public static Curation getCurationItem(String id)
throws Exception
- Throws:
Exception
Copyright © 2012. All Rights Reserved.