|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.seventytwomiles.architecturerules.domain.JPackage
public class JPackage
A java package. This class wraps the java package to give it functionality, such as the ability to check and see if it matches another package.
| Constructor Summary | |
|---|---|
JPackage()
Constructs a new JPackage |
|
JPackage(String path)
Constructs a new JPackage with the given
path |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getPath()
Getter for property path. |
int |
hashCode()
|
boolean |
matches(Object that)
Determines if a given JPackage or String is
represented by this JPackage. |
void |
setPath(String path)
Setter for property path |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JPackage()
Constructs a new JPackage
public JPackage(String path)
Constructs a new JPackage with the given
path
path - String to set for path| Method Detail |
|---|
public String getPath()
Getter for property path.
public void setPath(String path)
Setter for property path
path - Value to set for property pathpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class ObjectObject.toString()public boolean matches(Object that)
Determines if a given JPackage or String is
represented by this JPackage.
If given Object is empty String then false<
that - a String or JPackage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||