Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


oracle.search.query.webservice.client
Class Node

java.lang.Object
  extended by oracle.search.query.webservice.client.Node

All Implemented Interfaces:
Serializable

public class Node
extends Object
implements Serializable

Node encapsulates infosource node information.

See Also:
Serialized Form

Constructor Summary
Node()
           
Node(String id, String fedId, String name, Integer docCount, Boolean hasChildren, String[] fullpath, String[] fullpathIds)
           

 

Method Summary
 Integer getDocCount()
          Returns the number of documents under the node.
 String getFedId()
          Returns the ID of the federated instance.
 String[] getFullpath()
          Returns an array of names of the nodes in the full path of the infosource node.
 String[] getFullpathIds()
          Returns an array of infosource node IDs in the full path to the node.
 Boolean getHasChildren()
          Returns a Boolean value indicating if the node has children.
 String getId()
          Returns the ID of the infosource node.
 String getName()
          Returns number of documents under the infosource node.
 Boolean isHasChildren()
           
 void setDocCount(Integer docCount)
          Sets the value indicating the number of documents under the node.
 void setFedId(String fedId)
          Sets the federated instance ID of the infosource node.
 void setFullpath(String[] fullpath)
          Sets the names of the nodes in the full path to the infosource node.
 void setFullpathIds(String[] fullpathIds)
          Sets the IDs of the nodes in the full path to the infosource node.
 void setHasChildren(Boolean hasChildren)
          Sets the Boolean value indicating if the node has children.
 void setId(String id)
          Sets the ID of the infosource node.
 void setName(String name)
          Sets the name of the infosource node.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

Node

public Node()

Node

public Node(String id,
            String fedId,
            String name,
            Integer docCount,
            Boolean hasChildren,
            String[] fullpath,
            String[] fullpathIds)
Parameters:
id - ID of the infosource node
fedId - ID of the federated instance
name - name of the infosource node
docCount - number of documents under the infosource node
hasChildren - indicates if the node has any children
fullpath - full infosource path to the node
fullpathIds - IDs of each node in the full path to the node

Method Detail

getId

public String getId()
Returns the ID of the infosource node.

setId

public void setId(String id)
Sets the ID of the infosource node.
Parameters:
id - ID of the infosource node

getFedId

public String getFedId()
Returns the ID of the federated instance.

setFedId

public void setFedId(String fedId)
Sets the federated instance ID of the infosource node.
Parameters:
fedId - ID of the federated instance of the infosource node

getName

public String getName()
Returns number of documents under the infosource node.

setName

public void setName(String name)
Sets the name of the infosource node.
Parameters:
name - name of the infosource node

getDocCount

public Integer getDocCount()
Returns the number of documents under the node.

setDocCount

public void setDocCount(Integer docCount)
Sets the value indicating the number of documents under the node.
Parameters:
docCount - number of documents under the infosource node

getHasChildren

public Boolean getHasChildren()
Returns a Boolean value indicating if the node has children.

isHasChildren

public Boolean isHasChildren()

setHasChildren

public void setHasChildren(Boolean hasChildren)
Sets the Boolean value indicating if the node has children.
Parameters:
hasChildren - Boolean value indicating if the node has children

getFullpath

public String[] getFullpath()
Returns an array of names of the nodes in the full path of the infosource node.

setFullpath

public void setFullpath(String[] fullpath)
Sets the names of the nodes in the full path to the infosource node.
Parameters:
fullpath - names of the nodes in the full path to the infosource node

getFullpathIds

public String[] getFullpathIds()
Returns an array of infosource node IDs in the full path to the node.

setFullpathIds

public void setFullpathIds(String[] fullpathIds)
Sets the IDs of the nodes in the full path to the infosource node.
Parameters:
fullpathIds - IDs of nodes in the full path to the infosource node

Skip navigation links

Oracle Secure Enterprise Search Java API Reference
11g Release 1 (11.1.2.0.0)

E14433-02


Copyright © 2006, 2010, Oracle and/or its affiliates. All rights reserved.