Class SEdge
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.searchservices.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.DategetD(int index)Gets the value at the specified index in the D array.java.lang.StringgetFromID()Gets the ID of the node this edge points from.int[]getI()Gets the values of any integer fields on this edge.intgetI(int index)Gets the value at the specified index in the I array.java.lang.StringgetID()Gets the ID of this edge.double[]getR()Gets the values of any real fields on this edge.doublegetR(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.StringgetS(int index)Gets the value at the specified index in the S array.java.lang.StringgetToID()Gets the ID of the node this edge points to.java.lang.StringgetType()Gets the id of the DataBagType which describes this edge.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetD(int index, java.util.Date value)Sets the value at the specified index in the fD array.voidsetD(java.util.Date[] value)Sets the values of any date fields on this edge.voidsetFromID(java.lang.String value)Sets the ID of the node this edge points from.voidsetI(int[] value)Sets the values of any integer fields on this edge.voidsetI(int index, int value)Sets the value at the specified index in the fI array.voidsetID(java.lang.String value)Sets the ID of this edge.voidsetR(double[] value)Sets the values of any real fields on this edge.voidsetR(int index, double value)Sets the value at the specified index in the fR array.voidsetS(int index, java.lang.String value)Sets the value at the specified index in the fS array.voidsetS(java.lang.String[] value)Sets the values of any string fields on this edge.voidsetToID(java.lang.String value)Sets the ID of the node this edge points to.voidsetType(java.lang.String value)Sets the id of the DataBagType which describes this edge.com.opentext.api.LLValuetoLLValue()Serialize an SDO object to an LLValue that can be sent to Livelink.java.lang.StringtoString()Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
-
-
-
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:IServiceDataObjectDeserialize 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:
loadin interfaceIServiceDataObject- Overrides:
loadin classServiceDataObject- Parameters:
value- the LLValue containing the data to be loaded
-
toLLValue
public com.opentext.api.LLValue toLLValue()
Description copied from interface:IServiceDataObjectSerialize 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:
toLLValuein interfaceIServiceDataObject- Overrides:
toLLValuein classServiceDataObject- Returns:
- Returns the LLValue object that represents this SDO
-
toString
public java.lang.String toString()
Description copied from class:ServiceDataObjectReturns 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:
toStringin classServiceDataObject
-
-