Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.views.typehierarchy
Class TypeHierarchyContentProvider.ParentPath

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.views.typehierarchy.TypeHierarchyContentProvider.ParentPath
Enclosing class:
TypeHierarchyContentProvider

public static class TypeHierarchyContentProvider.ParentPath
extends Object

Parent path for a type definition


Constructor Summary
TypeHierarchyContentProvider.ParentPath(TypeDefinition main)
          Create a parent path for the given type
 
Method Summary
 List<TypeHierarchyContentProvider.ParentPath> createSubPaths()
          Create the sub-paths of the current path
 boolean equals(Object obj)
           
 TypeDefinition getHead()
          Get the head type in the path
 TypeHierarchyContentProvider.ParentPath getMainPath()
          Get the path that only represents the main type.
 TypeDefinition getMainType()
          Get the main type.
 TypeHierarchyContentProvider.ParentPath getTail()
          Get the path tail
 int hashCode()
           
 boolean isMainType()
          Determines if this path represents the main type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeHierarchyContentProvider.ParentPath

public TypeHierarchyContentProvider.ParentPath(TypeDefinition main)
Create a parent path for the given type

Parameters:
main - the main type definition
Method Detail

getHead

public TypeDefinition getHead()
Get the head type in the path

Returns:
the head type or null

getTail

public TypeHierarchyContentProvider.ParentPath getTail()
Get the path tail

Returns:
the tail or null

createSubPaths

public List<TypeHierarchyContentProvider.ParentPath> createSubPaths()
Create the sub-paths of the current path

Returns:
the sub-paths

isMainType

public boolean isMainType()
Determines if this path represents the main type.

Returns:
if this path represents the main type

getMainType

public TypeDefinition getMainType()
Get the main type.

Returns:
the main type

getMainPath

public TypeHierarchyContentProvider.ParentPath getMainPath()
Get the path that only represents the main type.

Returns:
the path that represents the main type

hashCode

public int hashCode()
Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object
See Also:
Object.equals(Object)

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d