Class SEdge

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

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

      Constructors 
      Constructor Description
      SEdge()  
    • 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 edge.
      java.util.Date getD​(int index)
      Gets the value at the specified index in the D array.
      java.lang.String getFromID()
      Gets the ID of the node this edge points from.
      int[] getI()
      Gets the values of any integer fields on this edge.
      int getI​(int index)
      Gets the value at the specified index in the I array.
      java.lang.String getID()
      Gets the ID of this edge.
      double[] getR()
      Gets the values of any real fields on this edge.
      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 edge.
      java.lang.String getS​(int index)
      Gets the value at the specified index in the S array.
      java.lang.String getToID()
      Gets the ID of the node this edge points to.
      java.lang.String getType()
      Gets the id of the DataBagType which describes this edge.
      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 edge.
      void setFromID​(java.lang.String value)
      Sets the ID of the node this edge points from.
      void setI​(int[] value)
      Sets the values of any integer fields on this edge.
      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 edge.
      void setR​(double[] value)
      Sets the values of any real fields on this edge.
      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 edge.
      void setToID​(java.lang.String value)
      Sets the ID of the node this edge points to.
      void setType​(java.lang.String value)
      Sets the id of the DataBagType which describes this edge.
      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

      • SEdge

        public SEdge()
    • Method Detail

      • setD

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

        public java.util.Date[] getD()
        Gets the values of any date fields on this edge.
      • 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.
      • setFromID

        public void setFromID​(java.lang.String value)
        Sets the ID of the node this edge points from.
      • getFromID

        public java.lang.String getFromID()
        Gets the ID of the node this edge points from.
      • setI

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

        public int[] getI()
        Gets the values of any integer fields on this edge.
      • 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 edge.
      • getID

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

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

        public double[] getR()
        Gets the values of any real fields on this edge.
      • 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 edge.
      • getS

        public java.lang.String[] getS()
        Gets the values of any string fields on this edge.
      • 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.
      • setToID

        public void setToID​(java.lang.String value)
        Sets the ID of the node this edge points to.
      • getToID

        public java.lang.String getToID()
        Gets the ID of the node this edge points to.
      • setType

        public void setType​(java.lang.String value)
        Sets the id of the DataBagType which describes this edge. 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 edge. 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