Class SNode

  • All Implemented Interfaces:
    IServiceDataObject, java.io.Serializable

    public class SNode
    extends ServiceDataObject
    implements java.io.Serializable
    A Node is used in describing the graphs at the base of the Search data model. Nodes in the graph may have fields associated with them.
    Version:
    2013-08-26
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SNode()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date[] getD()
      Gets the values of any date fields on this node.
      java.util.Date getD​(int index)
      Gets the value at the specified index in the D array.
      int[] getI()
      Gets the values of any integer fields on this node.
      int getI​(int index)
      Gets the value at the specified index in the I array.
      java.lang.String getID()
      Gets the ID of this node.
      double[] getR()
      Gets the values of any real fields on this node.
      double getR​(int index)
      Gets the value at the specified index in the R array.
      java.lang.String[] getS()
      Gets the values of any string fields on this node.
      java.lang.String getS​(int index)
      Gets the value at the specified index in the S array.
      java.lang.String getType()
      Gets the ID of the DataBagType which describes this node.
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setD​(int index, java.util.Date value)
      Sets the value at the specified index in the fD array.
      void setD​(java.util.Date[] value)
      Sets the values of any date fields on this node.
      void setI​(int[] value)
      Sets the values of any integer fields on this node.
      void setI​(int index, int value)
      Sets the value at the specified index in the fI array.
      void setID​(java.lang.String value)
      Sets the ID of this node.
      void setR​(double[] value)
      Sets the values of any real fields on this node.
      void setR​(int index, double value)
      Sets the value at the specified index in the fR array.
      void setS​(int index, java.lang.String value)
      Sets the value at the specified index in the fS array.
      void setS​(java.lang.String[] value)
      Sets the values of any string fields on this node.
      void setType​(java.lang.String value)
      Sets the ID of the DataBagType which describes this node.
      com.opentext.api.LLValue toLLValue()
      Serialize an SDO object to an LLValue that can be sent to Livelink.
      java.lang.String toString()
      Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SNode

        public SNode()
    • Method Detail

      • setD

        public void setD​(java.util.Date[] value)
        Sets the values of any date fields on this node.
      • getD

        public java.util.Date[] getD()
        Gets the values of any date fields on this node.
      • setD

        public void setD​(int index,
                         java.util.Date value)
        Sets the value at the specified index in the fD array.
      • getD

        public java.util.Date getD​(int index)
        Gets the value at the specified index in the D array.
      • setI

        public void setI​(int[] value)
        Sets the values of any integer fields on this node.
      • getI

        public int[] getI()
        Gets the values of any integer fields on this node.
      • setI

        public void setI​(int index,
                         int value)
        Sets the value at the specified index in the fI array.
      • getI

        public int getI​(int index)
        Gets the value at the specified index in the I array.
      • setID

        public void setID​(java.lang.String value)
        Sets the ID of this node.
      • getID

        public java.lang.String getID()
        Gets the ID of this node.
      • setR

        public void setR​(double[] value)
        Sets the values of any real fields on this node.
      • getR

        public double[] getR()
        Gets the values of any real fields on this node.
      • setR

        public void setR​(int index,
                         double value)
        Sets the value at the specified index in the fR array.
      • getR

        public double getR​(int index)
        Gets the value at the specified index in the R array.
      • setS

        public void setS​(java.lang.String[] value)
        Sets the values of any string fields on this node.
      • getS

        public java.lang.String[] getS()
        Gets the values of any string fields on this node.
      • setS

        public void setS​(int index,
                         java.lang.String value)
        Sets the value at the specified index in the fS array.
      • getS

        public java.lang.String getS​(int index)
        Gets the value at the specified index in the S array.
      • setType

        public void setType​(java.lang.String value)
        Sets the ID of the DataBagType which describes this node. The DataBagType should be a sibling of the graph containing this edge.
      • getType

        public java.lang.String getType()
        Gets the ID of the DataBagType which describes this node. The DataBagType should be a sibling of the graph containing this edge.
      • load

        public void load​(com.opentext.api.LLValue value)
        Description copied from interface: IServiceDataObject
        Deserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.
        Specified by:
        load in interface IServiceDataObject
        Overrides:
        load in class ServiceDataObject
        Parameters:
        value - the LLValue containing the data to be loaded
      • toLLValue

        public com.opentext.api.LLValue toLLValue()
        Description copied from interface: IServiceDataObject
        Serialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.
        Specified by:
        toLLValue in interface IServiceDataObject
        Overrides:
        toLLValue in class ServiceDataObject
        Returns:
        Returns the LLValue object that represents this SDO
      • toString

        public java.lang.String toString()
        Description copied from class: ServiceDataObject
        Returns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.
        Overrides:
        toString in class ServiceDataObject