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

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

public class Curation
extends Object


Constructor Summary
Curation(String id)
           
 
Method Summary
 void addRuleToField(String fieldId, Rule rule)
           
 String getCreator()
           
static Curation getCurationItem(String id)
           
 Timestamp getDate()
           
 String getDescription()
           
 HashMap<String,ArrayList<Rule>> getFieldRulesMapping()
           
 String getId()
           
 int getLength()
           
 String getPublisher()
           
 String getRights()
           
 String getScope()
           
 String getSourceId()
           
 String getSourceName()
           
 String getTitle()
           
 String getType()
           
 void removeAllRulesForField(String fieldId)
           
 void setCreator(String creator)
           
 void setDate(Timestamp date)
           
 void setDescription(String description)
           
 void setLength(int length)
           
 void setPublisher(String publisher)
           
 void setRights(String rights)
           
 void setScope(String scope)
           
 void setSourceId(String sourceId)
           
 void setSourceName(String sourceName)
           
 void setTitle(String title)
           
 void setType(String type)
           
 void store()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Curation

public Curation(String id)
Method Detail

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.