Package dev.enola.thing.message
Class ThingAdapter
java.lang.Object
dev.enola.thing.message.PredicatesObjectsAdapter
dev.enola.thing.message.ThingAdapter
- All Implemented Interfaces:
HasIRI,IImmutablePredicatesObjects,PredicatesObjects,Thing
ThingAdapter adapts a
Thing to a Thing.
This is somewhat similar to ProtoThingIntoJavaThingBuilderConverter, but this one only
"wraps" whereas that one "converts".
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.enola.thing.PredicatesObjects
PredicatesObjects.Builder<B extends PredicatesObjects>Nested classes/interfaces inherited from interface dev.enola.thing.Thing
Thing.Builder<B extends Thing> -
Field Summary
Fields inherited from class dev.enola.thing.message.PredicatesObjectsAdapter
datatypeRepository, proto -
Constructor Summary
ConstructorsConstructorDescriptionThingAdapter(Thing proto) ThingAdapter(Thing proto, DatatypeRepository datatypeRepository) -
Method Summary
Methods inherited from class dev.enola.thing.message.PredicatesObjectsAdapter
datatype, datatypes, get, hashCode, predicateIRIs, propertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.enola.thing.PredicatesObjects
datatype, datatype, get, get, get, get, getLinks, getOptional, getString, getString, getThing, getThing, getThingOrThrow, getThings, getThings, getThings, getThings, hasLink, isIterable, isLinkObject, isOrdered, isStruct
-
Constructor Details
-
ThingAdapter
-
ThingAdapter
-
-
Method Details
-
iri
-
copy
- Specified by:
copyin interfacePredicatesObjects- Specified by:
copyin interfaceThing- Overrides:
copyin classPredicatesObjectsAdapter
-
equals
- Overrides:
equalsin classPredicatesObjectsAdapter
-
toString
- Overrides:
toStringin classPredicatesObjectsAdapter
-