|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.simantics.databoard.type.Datatype
public abstract class Datatype
Nested Class Summary | |
---|---|
static interface |
Datatype.Visitor<T>
|
static interface |
Datatype.Visitor1
|
Constructor Summary | |
---|---|
Datatype()
|
Method Summary | ||
---|---|---|
abstract
|
accept(Datatype.Visitor<T> v)
|
|
abstract void |
accept(Datatype.Visitor1 v,
java.lang.Object obj)
|
|
abstract int |
count()
Get component type count |
|
boolean |
equals(java.lang.Object obj)
Deep equals-compare |
|
abstract Datatype |
getComponentType(ChildReference path)
Get component type |
|
abstract Datatype |
getComponentType(int index)
Get component type |
|
java.lang.String |
toSingleLineString()
Print the type in data type notation. |
|
java.lang.String |
toString()
Print the type in data type notation. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Datatype()
Method Detail |
---|
public abstract int count()
public abstract Datatype getComponentType(int index)
index
- component index
public abstract Datatype getComponentType(ChildReference path)
path
- child path or null to return this.
public java.lang.String toString()
Datatypes.getDatatype(String)
to parse string to data type.
toString
in class java.lang.Object
public java.lang.String toSingleLineString()
Datatypes.getDatatype(String)
to parse string to data type.
public abstract void accept(Datatype.Visitor1 v, java.lang.Object obj)
public abstract <T> T accept(Datatype.Visitor<T> v)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |