com.microsoft.tfs.core.clients.framework.catalog
Class CatalogNode

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.framework.catalog.CatalogNode

public class CatalogNode
extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper

Wrapper class for the _CatalogNode proxy object of the TFS catalog web service. A CatalogNode represents a node in the catalogs resource hierarchy.

Since:
TEE-SDK-10.1
Thread-safety:
thread-safe

Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
CatalogNode(ms.ws._CatalogNode catalogNode)
          Wrapper constructor.
 
Method Summary
 CatalogService getCatalogService()
          Returns the catalog service which was used to retrieve this node.
 java.lang.String getChildItem()
          Returns the leaf segment of the child's full hierarchy path.
 CatalogDependencyGroup getDependencyGroup()
          Returns the dependency groups for this node.
 java.lang.String getFullPath()
          Returns the node's full path in the hierarchy.
 CatalogNodeDependency[] getNodeDependencies()
          Returns an array of nodes which are dependent on this node.
 CatalogNode getParentNode()
          Return the parent node of this node.
 java.lang.String getParentPath()
          Returns the node's parent path in the hierarchy.
 CatalogResource getResource()
          Returns the resource associated with this node.
 java.lang.String getResourceIdentifier()
          Returns the node's resource identifier.
 ms.ws._CatalogNode getWebServiceObject()
          Returns the underlying web service proxy object.
 void initializeFromWebService(CatalogService service)
          Called during post-processing of the web service result.
 boolean isMatchedQuery()
          Returns true if this node matched the query criteria.
 boolean isNodeDependenciesIncluded()
          Returns true if dependents for this node were include in the query result.
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatalogNode

public CatalogNode(ms.ws._CatalogNode catalogNode)
Wrapper constructor.

Method Detail

getWebServiceObject

public ms.ws._CatalogNode getWebServiceObject()
Returns the underlying web service proxy object.


getFullPath

public java.lang.String getFullPath()
Returns the node's full path in the hierarchy.


getParentPath

public java.lang.String getParentPath()
Returns the node's parent path in the hierarchy.


getResourceIdentifier

public java.lang.String getResourceIdentifier()
Returns the node's resource identifier.


isMatchedQuery

public boolean isMatchedQuery()
Returns true if this node matched the query criteria.


isNodeDependenciesIncluded

public boolean isNodeDependenciesIncluded()
Returns true if dependents for this node were include in the query result.


getResource

public CatalogResource getResource()
Returns the resource associated with this node.


getParentNode

public CatalogNode getParentNode()
Return the parent node of this node.


getChildItem

public java.lang.String getChildItem()
Returns the leaf segment of the child's full hierarchy path.


getCatalogService

public CatalogService getCatalogService()
Returns the catalog service which was used to retrieve this node.


getNodeDependencies

public CatalogNodeDependency[] getNodeDependencies()
Returns an array of nodes which are dependent on this node.


getDependencyGroup

public CatalogDependencyGroup getDependencyGroup()
Returns the dependency groups for this node.


initializeFromWebService

public void initializeFromWebService(CatalogService service)
Called during post-processing of the web service result. This method initializes members that are not part of the underlying proxy object.



© 2015 Microsoft. All rights reserved.