|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.model.SymbolicName
Represents a symbolic name (tags).
It is a container for Revision
s.
Constructor Summary | |
SymbolicName(String name)
Creates a new symbolic name. |
|
SymbolicName(String name,
Date date)
Creates a new symbolic name. |
Method Summary | |
protected void |
addRevision(Revision rev)
Adds a revision to this symbolic name. |
int |
compareTo(Object o)
|
boolean |
equals(Object obj)
|
Date |
getDate()
Returns the 'date' of this symbolic name. |
String |
getName()
Returns the symbolic name's name. |
SortedSet |
getRevisions()
Returns a set of Revision s contained in this symbolic name. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SymbolicName(String name, Date date)
name
- the symbolic name's namedate
- of the symbolic name creationpublic SymbolicName(String name)
name
- the symbolic name's nameMethod Detail |
public String getName()
protected void addRevision(Revision rev)
rev
- the revisionpublic SortedSet getRevisions()
Revision
s contained in this symbolic name.
public Date getDate()
public int compareTo(Object o)
compareTo
in interface Comparable
Comparable.compareTo(java.lang.Object)
public String toString()
Object.toString()
public boolean equals(Object obj)
Object.equals(java.lang.Object)
public int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |