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