Class OperationInfo

java.lang.Object
  |
  +--OperationInfo

public class OperationInfo
extends java.lang.Object

This class stores the input and output node name vectors. The objects of this class] will be used during mapping of operations with these vectors


Constructor Summary
OperationInfo()
          Constructor
OperationInfo(java.lang.String opConcept)
          Constructor that creates a object with the parameter passed as the operatoinConcept
OperationInfo(java.util.Vector inpNodeNames, java.util.Vector outNodeNames, java.lang.String opConcept, java.lang.String opName)
          Constructor that creates a object with the parameters passed
 
Method Summary
 void addInputConcept(java.lang.String concept)
          Adds a input concept to inputNodeNames Vector
 void addOutputConcept(java.lang.String concept)
          Adds a output concept to outputNodeNames Vector
static int compareOperationInfos(OperationInfo oInfo1, OperationInfo oInfo2)
          Compares two OperationInfo objects in detail
static boolean compareOperationInfosNonDetail(OperationInfo oInfo1, OperationInfo oInfo2)
          Compares two OperationInfo objects
 java.util.Vector getInputNodeNames()
          Returns inputNodeNames Vector
 java.lang.String getOperationConcept()
          Returns operationConcept
 java.lang.String getOperationName()
          Returns operationName
 java.util.Vector getOutputNodeNames()
          Returns outputNodeNames Vector
 java.lang.String toString()
          Returns the operationInfo object as String
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OperationInfo

public OperationInfo()
Constructor


OperationInfo

public OperationInfo(java.lang.String opConcept)
Constructor that creates a object with the parameter passed as the operatoinConcept


OperationInfo

public OperationInfo(java.util.Vector inpNodeNames,
                     java.util.Vector outNodeNames,
                     java.lang.String opConcept,
                     java.lang.String opName)
Constructor that creates a object with the parameters passed

Method Detail

getInputNodeNames

public java.util.Vector getInputNodeNames()
Returns inputNodeNames Vector

Returns:
Vector containing list of input concepts

getOutputNodeNames

public java.util.Vector getOutputNodeNames()
Returns outputNodeNames Vector

Returns:
Vector containing list of output concepts

getOperationConcept

public java.lang.String getOperationConcept()
Returns operationConcept

Returns:
String operationConcept that is mapped to input and output concepts

getOperationName

public java.lang.String getOperationName()
Returns operationName

Returns:
String operationName that is mapped to input and output concepts

addInputConcept

public void addInputConcept(java.lang.String concept)
Adds a input concept to inputNodeNames Vector


addOutputConcept

public void addOutputConcept(java.lang.String concept)
Adds a output concept to outputNodeNames Vector


compareOperationInfosNonDetail

public static boolean compareOperationInfosNonDetail(OperationInfo oInfo1,
                                                     OperationInfo oInfo2)
Compares two OperationInfo objects

Returns:
boolean representing equality of the objects

compareOperationInfos

public static int compareOperationInfos(OperationInfo oInfo1,
                                        OperationInfo oInfo2)
Compares two OperationInfo objects in detail

Returns:
boolean representing equality of the objects

toString

public java.lang.String toString()
Returns the operationInfo object as String

Overrides:
toString in class java.lang.Object
Returns:
String string equivalent of the object