de.matthias_burbach.deputy.core.repository
Class RepositoryArtifactVersion

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byde.matthias_burbach.deputy.core.repository.RepositoryArtifactVersion
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, ProjectHolderTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public class RepositoryArtifactVersion
extends javax.swing.tree.DefaultMutableTreeNode
implements ProjectHolderTreeNode

Is a version node in the repositories tree.

Author:
Matthias Burbach
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
RepositoryArtifactVersion(java.lang.String groupId, java.lang.String artifactId, java.lang.String version)
          Constructs a version node.
 
Method Summary
 Project getProject()
          
 boolean isLeaf()
          
 java.lang.String toString()
          
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RepositoryArtifactVersion

public RepositoryArtifactVersion(java.lang.String groupId,
                                 java.lang.String artifactId,
                                 java.lang.String version)
Constructs a version node.

Parameters:
groupId - The group id of this node's artifact.
artifactId - The artifact id of this node's artifact.
version - The version of this node's artifact.
Method Detail

getProject

public Project getProject()

Specified by:
getProject in interface ProjectHolderTreeNode
Returns:
The project associated with this tree node.

isLeaf

public boolean isLeaf()

Specified by:
isLeaf in interface javax.swing.tree.TreeNode

toString

public java.lang.String toString()



Copyright © 2005-2007 . All Rights Reserved.