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