public class Dataset extends AbstractBean
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
void |
addContributor(Person contributor)
Add the contributor to the set of contributors to the artifact.
|
void |
addFileDescriptor(FileDescriptor fileDescriptor)
Add the file descriptor to the set of file descriptors to the dataset.
|
List<Person> |
getContributors()
Return the set of PersonBeans that represents those that are contributors
to the artifact.
|
Person |
getCreator()
Return the PersonBean that is the creator of the artifact
|
Date |
getDate()
Return the date when the artifact was created.
|
String |
getDescription()
Return the description of the artifact.
|
List<FileDescriptor> |
getFileDescriptors()
Return the set of file descriptors associated with the dataset.
|
String |
getTitle()
Return the title of the artifact.
|
void |
removeContributor(Person contributor)
Remove the contributor from the set of contributors to the dataset.
|
void |
removeFileDescriptor(FileDescriptor fileDescriptor)
Remove the file descriptor from the set of files of the dataset.
|
void |
setContributors(List<Person> contributors)
Set the set of PersonBeans that represents those that contributed to the
artifact.
|
void |
setCreator(Person creator)
Sets the PersonBean that represents the creator of the artifact.
|
void |
setDate(Date date)
Sets the date when the artifact was created.
|
void |
setDescription(String description)
Sets the description of the artifact
|
void |
setFileDescriptors(List<FileDescriptor> fileDescriptors)
Set the set of file descriptors associated with the dataset.
|
void |
setTitle(String title)
Sets the title of the artifact
|
String |
toString() |
equals, getId, hashCode, isDeleted, setDeleted, setId
public String getTitle()
public void setTitle(String title)
title
- sets the title of the artifact.public String getDescription()
public void setDescription(String description)
description
- sets the description of the artifactpublic Date getDate()
public void setDate(Date date)
date
- sets the date when the artifact was created.public Person getCreator()
public void setCreator(Person creator)
creator
- sets the PersonBeans that represents the creator of the
artifact.public List<Person> getContributors()
public void setContributors(List<Person> contributors)
contributors
- the set of contributors to the artifact.public void addContributor(Person contributor)
contributor
- the PersonBean of the contributor to be added.public void removeContributor(Person contributor)
contributor
- the PersonBean of the contributor to be removed.public List<FileDescriptor> getFileDescriptors()
public void setFileDescriptors(List<FileDescriptor> fileDescriptors)
fileDescriptors
- the set of file descriptors to the dataset.public void addFileDescriptor(FileDescriptor fileDescriptor)
fileDescriptor
- the file descriptors to be added.public void removeFileDescriptor(FileDescriptor fileDescriptor)
fileDescriptor
- the file descriptor to be removed.Copyright © 2019. All rights reserved.