Package nz.org.riskscape.engine.typeset
Class CanonicalType
java.lang.Object
nz.org.riskscape.engine.typeset.IdentifiedType
nz.org.riskscape.engine.typeset.CanonicalType
- All Implemented Interfaces:
Identified
,Type
,WrappingType
-
Constructor Summary
-
Method Summary
Methods inherited from class nz.org.riskscape.engine.typeset.IdentifiedType
coerce, equals, estimateSize, fromBytes, getId, getTypeSet, hashCode, internalType, isA, strip, toBytes, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface nz.org.riskscape.engine.Identified
getIdentifiedClass
Methods inherited from interface nz.org.riskscape.engine.types.Type
checkForNull, find, findAllowNull, getUnwrappedType, isNumeric, isWrapped, toString, unwrap
Methods inherited from interface nz.org.riskscape.engine.types.WrappingType
asStruct, isNullable, visit
-
Constructor Details
-
CanonicalType
-
-
Method Details
-
getUnderlyingType
- Specified by:
getUnderlyingType
in interfaceWrappingType
- Specified by:
getUnderlyingType
in classIdentifiedType
- Returns:
- the type that we immediately wrap. Used by
Type.getUnwrappedType()
to descend through all wrappedType
to find the first unwrapped one.
-