public interface IParent
| Modifier and Type | Method and Description |
|---|---|
ICElement[] |
getChildren()
Returns the immediate children of this element.
|
java.util.List<ICElement> |
getChildrenOfType(int type)
returns the children of a certain type
|
boolean |
hasChildren()
Returns whether this element has one or more immediate children.
|
ICElement[] getChildren() throws CModelException
CModelException - if this element does not exist or if an
exception occurs while accessing its corresponding resourcejava.util.List<ICElement> getChildrenOfType(int type) throws CModelException
CModelExceptionboolean hasChildren()
getChildren() returns an empty array.Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.