org.simantics.databoard.type
Class OptionalType
java.lang.Object
org.simantics.databoard.type.Datatype
org.simantics.databoard.type.OptionalType
public class OptionalType
- extends Datatype
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
componentType
public Datatype componentType
OptionalType
public OptionalType()
OptionalType
public OptionalType(Datatype componentType)
getComponentType
public Datatype getComponentType()
count
public int count()
- Description copied from class:
Datatype
- Get component type count
- Specified by:
count
in class Datatype
- Returns:
- component count
getComponentType
public Datatype getComponentType(int index)
- Description copied from class:
Datatype
- Get component type
- Specified by:
getComponentType
in class Datatype
- Parameters:
index
- component index
- Returns:
- datatype
getComponentType
public Datatype getComponentType(ChildReference path)
- Description copied from class:
Datatype
- Get component type
- Specified by:
getComponentType
in class Datatype
- Parameters:
path
- child path or null to return this.
- Returns:
- datatype
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