Package dev.enola.datatype
Interface Datatype<T>
- All Known Implementing Classes:
- DatatypeThing,- ImmutableDatatype
- 
Method SummaryModifier and TypeMethodDescriptionchild()iri()IRI of this datatype.javaType()Typein Java.pattern()Regular ExpressionPatternwhich text of this datatype matches.Converter from/to T <=> text.default ObjectToStringBiConverter<Object> Converter from/to Object (expected to be of T) <==> text.
- 
Method Details- 
iriIRI of this datatype. Always present, never null or empty.
- 
patternRegular ExpressionPatternwhich text of this datatype matches.
- 
stringConverterConverter from/to T <=> text.
- 
stringConverterFromObjectConverter from/to Object (expected to be of T) <==> text. Just for convenience.
- 
javaTypeTypein Java.- Returns:
- Java Type of this datatype, if any. (It may be unknown or N/A.)
 
- 
child
 
-