public class SeedList extends Object implements Serializable, Named
Constructor and Description |
---|
SeedList(String name,
List<String> seeds)
Create new seedlist.
|
SeedList(String name,
String seedsAsString)
Create new seedlist.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Auto generated by IntelliJ IDEA.
|
String |
getComments()
Get the comments of this seedlist.
|
String |
getName()
Get the name of this seedlist.
|
List<String> |
getSeeds()
Gets all seeds in a list.
|
String |
getSeedsAsString()
Gets the seeds.
|
int |
hashCode()
Auto generated by IntelliJ IDEA.
|
void |
setComments(String s)
Set the comments for this list.
|
String |
toString()
Returns a human-readable representation of the seeds.
|
public SeedList(String name, String seedsAsString)
name
- the name of the new seedlistseedsAsString
- the seedsArgumentNotValid
- if name is null or empty or seeds are null. Empty seeds are allowed.public SeedList(String name, List<String> seeds)
name
- the name of the new seedlistseeds
- the seedsArgumentNotValid
- if the arguments are null or empty stringspublic String getSeedsAsString()
public String getComments()
getComments
in interface Named
public void setComments(String s)
s
- User-entered free-form comments.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.