Package dev.enola.datatype
Interface Datatype<T>
- All Known Implementing Classes:
DatatypeThing,ImmutableDatatype
-
Method Summary
Modifier 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
-
iri
IRI of this datatype. Always present, never null or empty. -
pattern
Regular ExpressionPatternwhich text of this datatype matches. -
stringConverter
Converter from/to T <=> text. -
stringConverterFromObject
Converter from/to Object (expected to be of T) <==> text. Just for convenience. -
javaType
Typein Java.- Returns:
- Java Type of this datatype, if any. (It may be unknown or N/A.)
-
child
-