com.microsoft.tfs.core.clients.framework.configuration.catalog
Class TFSCatalogEntity

java.lang.Object
  extended by com.microsoft.tfs.core.clients.framework.configuration.catalog.TFSCatalogEntity
All Implemented Interfaces:
TFSEntity
Direct Known Subclasses:
AnalysisDatabaseCatalogEntity, InfrastructureRootCatalogEntity, OrganizationalRootCatalogEntity, ProcessGuidanceCatalogEntity, ProjectCollectionCatalogEntity, ProjectPortalCatalogEntity, ReportingConfigurationCatalogEntity, ReportingFolderCatalogEntity, ReportingServerCatalogEntity, SharePointWebApplicationCatalogEntity, TeamFoundationServerCatalogEntity, TeamProjectCatalogEntity, TFSUnknownCatalogEntity, WarehouseDatabaseCatalogEntity

public abstract class TFSCatalogEntity
extends java.lang.Object
implements TFSEntity

A CatalogService entity.

Since:
TEE-SDK-10.1

Constructor Summary
TFSCatalogEntity(com.microsoft.tfs.core.clients.framework.configuration.internal.TFSCatalogEntitySession session, CatalogNode catalogNode)
           
 
Method Summary
<T extends TFSEntity>
T
getAncestorOfType(java.lang.Class<T> type)
           
 CatalogNode getCatalogNode()
           
<T extends TFSEntity>
T
getChildOfType(java.lang.Class<T> type)
           
 TFSEntity[] getChildren()
           
<T extends TFSEntity>
T[]
getChildrenOfType(java.lang.Class<T> type)
           
 TFSEntity[] getDependencies()
           
<T extends TFSEntity>
T[]
getDependenciesOfType(java.lang.Class<T> type)
           
<T extends TFSEntity>
T
getDependencyOfType(java.lang.Class<T> type)
           
 java.lang.String getDescription()
           
 java.lang.String getDisplayName()
           
 java.lang.String getDisplayPath()
           
 TFSEntity getParent()
          Returns the direct parent of this configuration object.
 java.lang.String getProperty(java.lang.String propertyName)
           
 com.microsoft.tfs.util.GUID getResourceID()
           
protected  TFSEntitySession getSession()
           
 TFSEntity getSingletonDependency(java.lang.String key)
           
 void setParent(TFSEntity parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TFSCatalogEntity

public TFSCatalogEntity(com.microsoft.tfs.core.clients.framework.configuration.internal.TFSCatalogEntitySession session,
                        CatalogNode catalogNode)
Method Detail

getSession

protected TFSEntitySession getSession()

getCatalogNode

public CatalogNode getCatalogNode()

getResourceID

public com.microsoft.tfs.util.GUID getResourceID()
Specified by:
getResourceID in interface TFSEntity

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in interface TFSEntity

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface TFSEntity

getProperty

public java.lang.String getProperty(java.lang.String propertyName)

getDisplayPath

public java.lang.String getDisplayPath()
Specified by:
getDisplayPath in interface TFSEntity

setParent

public void setParent(TFSEntity parent)

getParent

public TFSEntity getParent()
Returns the direct parent of this configuration object. May be null for the root of the tree.

Specified by:
getParent in interface TFSEntity
Returns:
The direct parent, or null

getAncestorOfType

public <T extends TFSEntity> T getAncestorOfType(java.lang.Class<T> type)

getChildren

public TFSEntity[] getChildren()

getChildrenOfType

public <T extends TFSEntity> T[] getChildrenOfType(java.lang.Class<T> type)

getChildOfType

public <T extends TFSEntity> T getChildOfType(java.lang.Class<T> type)

getSingletonDependency

public TFSEntity getSingletonDependency(java.lang.String key)

getDependencies

public TFSEntity[] getDependencies()

getDependenciesOfType

public <T extends TFSEntity> T[] getDependenciesOfType(java.lang.Class<T> type)

getDependencyOfType

public <T extends TFSEntity> T getDependencyOfType(java.lang.Class<T> type)


© 2015 Microsoft. All rights reserved.