org.simantics.databoard.method
Class Interface

java.lang.Object
  extended by org.simantics.databoard.method.Interface

public class Interface
extends java.lang.Object

An interface, a description of methods.

Author:
Toni Kalajainen

Constructor Summary
Interface()
           
Interface(MethodTypeDefinition... methodDefs)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 MethodTypeDefinition[] getMethodDefinitions()
          Get ordered list of method descriptions
 java.util.Set<MethodTypeDefinition> getMethodDefinitionSet()
          Get ordered list of method descriptions
 int hashCode()
           
 void remove(MethodTypeDefinition methodDef)
          Remove method
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Interface

public Interface()

Interface

public Interface(MethodTypeDefinition... methodDefs)
Method Detail

remove

public void remove(MethodTypeDefinition methodDef)
Remove method

Parameters:
methodDef - method type definition

getMethodDefinitions

public MethodTypeDefinition[] getMethodDefinitions()
Get ordered list of method descriptions

Returns:
method descriptions

getMethodDefinitionSet

public java.util.Set<MethodTypeDefinition> getMethodDefinitionSet()
Get ordered list of method descriptions

Returns:
method descriptions

toString

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

equals

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

hashCode

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