Package classycle
Class NameAndSourceAttributes
- java.lang.Object
-
- classycle.graph.NameAttributes
-
- classycle.NameAndSourceAttributes
-
- All Implemented Interfaces:
Attributes
,java.lang.Comparable<Attributes>
- Direct Known Subclasses:
ClassAttributes
,PackageAttributes
public abstract class NameAndSourceAttributes extends NameAttributes
Abstract super class ofAttributes
with a name and a set of sources.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description NameAndSourceAttributes(java.lang.String name)
Creates an instance for the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class classycle.graph.NameAttributes
compareTo, getName, getSize
-
-
-
-
Method Detail
-
addSource
protected void addSource(java.lang.String source)
Adds the specified source.
-
addSourcesOf
protected void addSourcesOf(NameAndSourceAttributes attributes)
Adds the source of the specified attributes.
-
getSources
public java.lang.String getSources()
Returns a comma separated list of sources.
-
-