org.simantics.databoard.type
Class UnionType

java.lang.Object
  extended by org.simantics.databoard.type.DataType
      extended by org.simantics.databoard.type.UnionType

public class UnionType
extends DataType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.DataType
DataType.Visitor<T>, DataType.Visitor1
 
Field Summary
 Component[] components
           
 
Constructor Summary
UnionType()
           
UnionType(Component... components)
           
 
Method Summary
<T> T
accept(DataType.Visitor<T> v)
           
 void accept(DataType.Visitor1 v, java.lang.Object obj)
           
 int count()
           
 Component getComponent(int i)
           
 java.lang.Integer getComponentIndex(java.lang.String tagName)
           
 Component[] getComponents()
           
 int hashCode()
           
 
Methods inherited from class org.simantics.databoard.type.DataType
equals, toSingleLineString, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

components

public Component[] components
Constructor Detail

UnionType

public UnionType()

UnionType

public UnionType(Component... components)
Method Detail

hashCode

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

accept

public void accept(DataType.Visitor1 v,
                   java.lang.Object obj)
Specified by:
accept in class DataType

accept

public <T> T accept(DataType.Visitor<T> v)
Specified by:
accept in class DataType

count

public int count()

getComponentIndex

public java.lang.Integer getComponentIndex(java.lang.String tagName)

getComponent

public Component getComponent(int i)

getComponents

public Component[] getComponents()