org.simantics.databoard.type
Class OptionalType

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

public class OptionalType
extends DataType


Nested Class Summary
 
Nested classes/interfaces inherited from class org.simantics.databoard.type.DataType
DataType.Visitor<T>, DataType.Visitor1
 
Field Summary
 DataType componentType
           
 
Constructor Summary
OptionalType()
           
OptionalType(DataType componentType)
           
 
Method Summary
<T> T
accept(DataType.Visitor<T> v)
           
 void accept(DataType.Visitor1 v, java.lang.Object obj)
           
 DataType getComponentType()
           
 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

componentType

public DataType componentType
Constructor Detail

OptionalType

public OptionalType()

OptionalType

public OptionalType(DataType componentType)
Method Detail

getComponentType

public DataType getComponentType()

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