Package classycle
Class NameAndSourceAttributes
java.lang.Object
classycle.graph.NameAttributes
classycle.NameAndSourceAttributes
- All Implemented Interfaces:
Attributes
,Comparable<Attributes>
- Direct Known Subclasses:
ClassAttributes
,PackageAttributes
Abstract super class of
Attributes
with a name and a set of sources.- Author:
- Franz-Josef Elmer
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance for the specified name. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds the specified source.protected void
addSourcesOf
(NameAndSourceAttributes attributes) Adds the source of the specified attributes.Returns a comma separated list of sources.Methods inherited from class classycle.graph.NameAttributes
compareTo, getName, getSize
-
Constructor Details
-
NameAndSourceAttributes
Creates an instance for the specified name. Initially there are no sources.
-
-
Method Details
-
addSource
Adds the specified source. -
addSourcesOf
Adds the source of the specified attributes. -
getSources
Returns a comma separated list of sources.
-