Package dev.enola.thing.impl
Class ImmutableThing
java.lang.Object
dev.enola.thing.impl.ImmutablePredicatesObjects
dev.enola.thing.impl.ImmutableThing
- All Implemented Interfaces:
HasIRI,IImmutablePredicatesObjects,IImmutableThing,PredicatesObjects,Thing
@Immutable
@ThreadSafe
public class ImmutableThing
extends ImmutablePredicatesObjects
implements IImmutableThing
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classImmutableThing.Builder<B extends IImmutableThing>static interface -
Field Summary
FieldsFields inherited from class dev.enola.thing.impl.ImmutablePredicatesObjects
datatypes, properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedImmutableThing(String iri, ImmutableMap<String, Object> properties, ImmutableMap<String, String> datatypes) -
Method Summary
Modifier and TypeMethodDescriptionstatic Thing.Builder<? extends IImmutableThing> builder()static Thing.Builder<? extends IImmutableThing> builderWithExpectedSize(int expectedSize) Thing.Builder<? extends IImmutableThing> copy()final booleanfinal inthashCode()iri()final StringtoString()Methods inherited from class dev.enola.thing.impl.ImmutablePredicatesObjects
datatype, datatypes, get, predicateIRIs, propertiesMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.enola.thing.impl.IImmutablePredicatesObjects
datatypes, predicateIRIs, propertiesMethods 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
-
Field Details
-
FACTORY
-
-
Constructor Details
-
ImmutableThing
protected ImmutableThing(String iri, ImmutableMap<String, Object> properties, ImmutableMap<String, String> datatypes)
-
-
Method Details
-
builder
-
builderWithExpectedSize
-
iri
-
equals
- Overrides:
equalsin classImmutablePredicatesObjects
-
hashCode
- Overrides:
hashCodein classImmutablePredicatesObjects
-
toString
- Overrides:
toStringin classImmutablePredicatesObjects
-
copy
- Specified by:
copyin interfacePredicatesObjects- Specified by:
copyin interfaceThing- Overrides:
copyin classImmutablePredicatesObjects
-