org.biomoby.client
Class FilterDataTypes
java.lang.Object
org.biomoby.client.FilterDataTypes
public abstract class FilterDataTypes
- extends Object
Utilities for dealing with a set of MobyDataType
s.
- Version:
- $Id: FilterDataTypes.java,v 1.1 2005/08/26 06:27:04 senger Exp $
- Author:
- Martin Senger
Method Summary |
static MobyDataType[] |
getSubTree(MobyDataType dataType,
MobyDataType[] allDataTypes)
Return a subset of 'allDataTypes' that contains only a path
from 'dataType' to the top-level object, including all HAS and
HASA members along the way. |
FilterDataTypes
public FilterDataTypes()
getSubTree
public static MobyDataType[] getSubTree(MobyDataType dataType,
MobyDataType[] allDataTypes)
- Return a subset of 'allDataTypes' that contains only a path
from 'dataType' to the top-level object, including all HAS and
HASA members along the way. In other words, it shows a full
contents (all members and the whole inheritance) of a data
type.
- Parameters:
dataType
- a dat type whose tree is being createdallDataTypes
- a cellection of all data type, usually
retrieved from a Biomoby registry
- Returns:
- a subset defining a tree for 'dataType'. The tree can
be shorter if a parent is not found (but it is unlikely).
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010