|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.units4j.dependency.Package<DEP_TYPE>
DEP_TYPE - Type of dependency.public final class Package<DEP_TYPE extends Dependency>
Package and it's allowed or disallowed dependencies (this depends on the context of this object. Two objects are considered equal if the names are equal.
| Constructor Summary | |
|---|---|
Package(String name)
Constructor with name. |
|
Package(String name,
String comment)
Constructor with name and comment. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getComment()
Returns a comment why restrictions apply. |
List<DEP_TYPE> |
getDependencies()
Returns the list of related packages. |
String |
getName()
Returns the package name. |
int |
hashCode()
|
String |
toDebugString()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Package(String name)
name - Name of the package - Cannot be null.
public Package(String name,
String comment)
name - Name of the package - Cannot be null.comment - Comment why restrictions apply.| Method Detail |
|---|
public final String getName()
public final List<DEP_TYPE> getDependencies()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic final String getComment()
public final String toString()
toString in class Objectpublic String toDebugString()
toDebugString in interface org.fuin.utils4j.ToDebugStringCapable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||