Package com.merative.acd.v1.model
Class Relation
- java.lang.Object
- 
- com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
- 
- com.merative.acd.v1.model.Relation
 
 
- 
- All Implemented Interfaces:
- com.ibm.cloud.sdk.core.service.model.ObjectModel
 
 public class Relation extends com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
- 
- 
Constructor SummaryConstructors Constructor Description Relation()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(java.lang.String key)Returns the value from Relation annotation by specified key.RelationNodegetNode(int index)Gets the node.java.util.List<RelationNode>getNodes()Gets the node.java.lang.DoublegetScore()Gets the score.java.lang.StringgetSource()Gets the source.java.lang.StringgetType()Gets the type.
 
- 
- 
- 
Method Detail- 
getTypepublic java.lang.String getType() Gets the type.- Returns:
- the type
 
 - 
getSourcepublic java.lang.String getSource() Gets the source.- Returns:
- the source
 
 - 
getScorepublic java.lang.Double getScore() Gets the score.- Returns:
- the score
 
 - 
getNodespublic java.util.List<RelationNode> getNodes() Gets the node.- Returns:
- the node list
 
 - 
getNodepublic RelationNode getNode(int index) Gets the node.- Parameters:
- index- position to retrieve
- Returns:
- the node
 
 - 
getpublic java.lang.Object get(java.lang.String key) Returns the value from Relation annotation by specified key.- Overrides:
- getin class- com.ibm.cloud.sdk.core.service.model.DynamicModel<java.lang.Object>
- Parameters:
- key- the name of the field to get
 
 
- 
 
-