Class BasicInformation
- java.lang.Object
-
- org.gcube.resourcemanagement.contexts.impl.properties.BasicInformation
-
public class BasicInformation extends Object
Basic Information about a GCube Context- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdescriptionDescription of the Contextprotected Set<String>designersDesigners of the Contextprotected DatefromStart date of the Contextprotected Set<String>managersManagers of the Contextprotected DatetoCan be null.
-
Constructor Summary
Constructors Constructor Description BasicInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDesigner(String designer)Add a designer to the ContextvoidaddManager(String manager)Add a manager to the ContextStringgetDescription()Description of the ContextSet<String>getDesigners()Designers of the ContextDategetFrom()Start date of the ContextSet<String>getManagers()Managers of the ContextDategetTo()End date of the ContextvoidsetDescription(String description)Description of the ContextvoidsetDesigners(Set<String> designers)Designers of the ContextvoidsetFrom(Date from)Start date of the ContextvoidsetManagers(Set<String> managers)Managers of the ContextvoidsetTo(Date to)End date of the Context
-
-
-
Method Detail
-
getDescription
public String getDescription()
Description of the Context- Returns:
- the description
-
setDescription
public void setDescription(String description)
Description of the Context- Parameters:
description- the description to set
-
setDesigners
public void setDesigners(Set<String> designers)
Designers of the Context- Parameters:
designers- the designers to set
-
addDesigner
public void addDesigner(String designer)
Add a designer to the Context- Parameters:
designer- the designer to add
-
setManagers
public void setManagers(Set<String> managers)
Managers of the Context- Parameters:
managers- the managers to set
-
addManager
public void addManager(String manager)
Add a manager to the Context- Parameters:
manager- the manager to add
-
getFrom
public Date getFrom()
Start date of the Context- Returns:
- the start date
-
setFrom
public void setFrom(Date from)
Start date of the Context- Parameters:
from- the start date to set
-
getTo
public Date getTo()
End date of the Context- Returns:
- the end date
-
setTo
public void setTo(Date to)
End date of the Context- Parameters:
to- the end date to set
-
-