org.simantics.databoard.method
Class MethodType

java.lang.Object
  extended by org.simantics.databoard.method.MethodType
All Implemented Interfaces:
java.lang.Comparable<MethodType>

public class MethodType
extends java.lang.Object
implements java.lang.Comparable<MethodType>


Constructor Summary
MethodType(Datatype requestType, Datatype responseType, UnionType errorType)
           
 
Method Summary
 int compareTo(MethodType o)
           
 boolean equals(java.lang.Object obj)
           
 UnionType getErrorType()
           
 Datatype getRequestType()
           
 Datatype getResponseType()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodType

public MethodType(Datatype requestType,
                  Datatype responseType,
                  UnionType errorType)
Method Detail

getRequestType

public Datatype getRequestType()

getResponseType

public Datatype getResponseType()

getErrorType

public UnionType getErrorType()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(MethodType o)
Specified by:
compareTo in interface java.lang.Comparable<MethodType>