com.sun.mdm.index.webservice
Interface ObjectBean


public interface ObjectBean

Interface for object bean


Method Summary
 int countChildren()
          Count of all children
 int countChildren(java.lang.String type)
          Count of children of specified type
 java.util.Collection pGetChildren()
          Getter for all children nodes
 java.util.Collection pGetChildren(java.lang.String type)
          Getter for children of a specified type
 java.util.ArrayList pGetChildTypes()
          Getter for child types
 ObjectNode pGetObject()
          Getter for Object node
 

Method Detail

countChildren

public int countChildren()
Count of all children

Returns:
number of children

countChildren

public int countChildren(java.lang.String type)
Count of children of specified type

Parameters:
type - of children to count
Returns:
number of children of specified type

pGetChildren

public java.util.Collection pGetChildren()
                                  throws ObjectException
Getter for all children nodes

Returns:
collection of children nodes
Throws:
ObjectException - if error occures

pGetChildren

public java.util.Collection pGetChildren(java.lang.String type)
Getter for children of a specified type

Parameters:
type - Type of children to retrieve
Returns:
Collection of children of specified type

pGetChildTypes

public java.util.ArrayList pGetChildTypes()
Getter for child types

Returns:
Arraylist of child types

pGetObject

public ObjectNode pGetObject()
Getter for Object node

Returns:
object node


Sun Microsystems, Inc.