org.gcube.contentmanagement.timeseriesservice.impl.curation
Class Curation

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.impl.curation.Curation


Constructor Summary
Curation(java.lang.String id)
          
Method Summary
 void addRuleToField(java.lang.String fieldId, Rule rule)
          
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Curation

public Curation(java.lang.String id)
Method Detail

getTitle

public java.lang.String getTitle()
Returns:
the title

setTitle

public void setTitle(java.lang.String title)
Parameters:
title - the title to set

getDescription

public java.lang.String getDescription()
Returns:
the description

setDescription

public void setDescription(java.lang.String description)
Parameters:
description - the description to set

getCreator

public java.lang.String getCreator()
Returns:
the creator

setCreator

public void setCreator(java.lang.String creator)
Parameters:
creator - the creator to set

getSourceId

public java.lang.String getSourceId()
Returns:
the sourceId

setSourceId

public void setSourceId(java.lang.String sourceId)
Parameters:
sourceId - the sourceId to set

getSourceName

public java.lang.String getSourceName()
Returns:
the sourceName

setSourceName

public void setSourceName(java.lang.String sourceName)
Parameters:
sourceName - the sourceName to set

getDate

public java.sql.Timestamp getDate()
Returns:
the date

setDate

public void setDate(java.sql.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 java.lang.String getType()
Returns:
the type

setType

public void setType(java.lang.String type)
Parameters:
type - the type to set

getPublisher

public java.lang.String getPublisher()
Returns:
the publisher

setPublisher

public void setPublisher(java.lang.String publisher)
Parameters:
publisher - the publisher to set

getRights

public java.lang.String getRights()
Returns:
the rights

setRights

public void setRights(java.lang.String rights)
Parameters:
rights - the rights to set

getScope

public java.lang.String getScope()
Returns:
the scope

setScope

public void setScope(java.lang.String scope)
Parameters:
scope - the scope to set

getId

public java.lang.String getId()
Returns:
the id

getFieldRulesMapping

public java.util.HashMap<java.lang.String,java.util.ArrayList<Rule>> getFieldRulesMapping()
Returns:
the fieldRulesMapping

addRuleToField

public void addRuleToField(java.lang.String fieldId,
                           Rule rule)

removeAllRulesForField

public void removeAllRulesForField(java.lang.String fieldId)

store

public void store()
           throws java.lang.Exception
Throws:
java.lang.Exception

getCurationItem

public static Curation getCurationItem(java.lang.String id)
                                throws java.lang.Exception
Throws:
java.lang.Exception