org.gcube.contentmanagement.timeseriesservice.impl.timeseries
Class TimeSeries

java.lang.Object
  extended by org.gcube.contentmanagement.timeseriesservice.impl.timeseries.TimeSeries


Constructor Summary
TimeSeries(java.lang.String id)
          
Method Summary
 void delete()
          
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeSeries

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

getType

public java.lang.String getType()
Returns:
the type

setType

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

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 cretor

setCreator

public void setCreator(java.lang.String creator)
Parameters:
cretor - the cretor 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

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

getIsVersionOf

public java.lang.String getIsVersionOf()
Returns:
the isVersionOf

setIsVersionOf

public void setIsVersionOf(java.lang.String isVersionOf)
Parameters:
isVersionOf - the isVersionOf 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

getDate

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

setDate

public void setDate(java.sql.Timestamp date)
Parameters:
date - the date to set

getLegth

public int getLegth()
Returns:
the legth

setLegth

public void setLegth(int legth)
Parameters:
legth - the legth to set

isPublished

public boolean isPublished()
Returns:
the published

setPublished

public void setPublished(boolean published)
Parameters:
published - the published to set

getUsers

public java.lang.String getUsers()
Returns:
the users

setUsers

public void setUsers(java.lang.String users)
Parameters:
users - the users 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

store

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

delete

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

get

public static TimeSeries get(java.lang.String id)
                      throws java.lang.Exception
Throws:
java.lang.Exception

getTableName

public static java.lang.String getTableName()
                                     throws java.lang.Exception
Throws:
java.lang.Exception