|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.phoenix_int.aserver.PHXComponentVersion
public class PHXComponentVersion
This class represents a version on a revision history tree for a version controlled component.
Includes functionality for reading/writing XML version descriptions.
| Constructor Summary | |
|---|---|
PHXComponentVersion(org.w3c.dom.Element versionNode)
Constructs a version based on information In an XML Element |
|
PHXComponentVersion(java.lang.String name)
Constructs a version with a given name |
|
PHXComponentVersion(java.lang.String name,
java.lang.String author,
java.lang.String description,
java.util.Date date)
Constructs a version with the specified meta data |
|
| Method Summary | |
|---|---|
void |
addBranch(PHXComponentBranch b)
Adds a sub-branch to this version. |
java.lang.String |
getAuthor()
Gets the version author |
PHXComponentBranch |
getBranch(int i)
Returns the i'th sub-branch |
java.util.Iterator |
getBranches()
Returns an Iterator over the sub-branches |
java.util.Date |
getDate()
Gets the version date |
java.lang.String |
getDescription()
Gets the version description |
java.lang.String |
getName()
Gets the version name |
int |
getNumBranches()
Gets the number of sub-branches |
PHXComponentBranch |
getParent()
Gets our parent branch |
void |
setAuthor(java.lang.String author)
Sets the version author |
void |
setDate(java.util.Date date)
Sets the version date |
void |
setDescription(java.lang.String description)
Sets the version description |
void |
setName(java.lang.String name)
Sets the version name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PHXComponentVersion(java.lang.String name)
public PHXComponentVersion(java.lang.String name,
java.lang.String author,
java.lang.String description,
java.util.Date date)
name - The version nameauthor - The version authordescription - The version descriptiondate - The date of the version
public PHXComponentVersion(org.w3c.dom.Element versionNode)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public PHXComponentBranch getParent()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setAuthor(java.lang.String author)
public java.lang.String getAuthor()
public void setDescription(java.lang.String description)
public java.lang.String getDescription()
public void setDate(java.util.Date date)
public java.util.Date getDate()
public void addBranch(PHXComponentBranch b)
public int getNumBranches()
public java.util.Iterator getBranches()
public PHXComponentBranch getBranch(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||