Class SGraph
- java.lang.Object
-
- com.opentext.livelink.service.core.ServiceDataObject
-
- com.opentext.livelink.service.searchservices.SGraph
-
- All Implemented Interfaces:
IServiceDataObject,java.io.Serializable
public class SGraph extends ServiceDataObject implements java.io.Serializable
A Graph with attributed edges and nodes, where the edges are binary and directional.- Version:
- 2013-08-26
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SEdge[]getE()Gets the edges of this graph.SEdgegetE(int index)Gets the value at the specified index in the E array.java.lang.StringgetID()Gets the ID of this graph.SNode[]getN()Gets the nodes of this graph.SNodegetN(int index)Gets the value at the specified index in the N array.voidload(com.opentext.api.LLValue value)Deserialize an ServiceDataObject from an LLValue that is received from Livelink.voidsetE(int index, SEdge value)Sets the value at the specified index in the fE array.voidsetE(SEdge[] value)Sets the edges of this graph.voidsetID(java.lang.String value)Sets the ID of this graph.voidsetN(int index, SNode value)Sets the value at the specified index in the fN array.voidsetN(SNode[] value)Sets the nodes of this graph.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
-
setE
public void setE(SEdge[] value)
Sets the edges of this graph.
-
getE
public SEdge[] getE()
Gets the edges of this graph.
-
setE
public void setE(int index, SEdge value)Sets the value at the specified index in the fE array.
-
getE
public SEdge getE(int index)
Gets the value at the specified index in the E array.
-
setID
public void setID(java.lang.String value)
Sets the ID of this graph.
-
getID
public java.lang.String getID()
Gets the ID of this graph.
-
setN
public void setN(SNode[] value)
Sets the nodes of this graph.
-
getN
public SNode[] getN()
Gets the nodes of this graph.
-
setN
public void setN(int index, SNode value)Sets the value at the specified index in the fN array.
-
getN
public SNode getN(int index)
Gets the value at the specified index in the N array.
-
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
-
-