public abstract class NameAndSourceAttributes extends NameAttributes
Attributes with a name and a set of sources.| Constructor and Description |
|---|
NameAndSourceAttributes(String name)
Creates an instance for the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSource(String source)
Adds the specified source.
|
protected void |
addSourcesOf(NameAndSourceAttributes attributes)
Adds the source of the specified attributes.
|
String |
getSources()
Returns a comma separated list of sources.
|
compareTo, getName, getSizepublic NameAndSourceAttributes(String name)
protected void addSource(String source)
protected void addSourcesOf(NameAndSourceAttributes attributes)
public String getSources()
Copyright © 2014. All rights reserved.