Uses of Class
org.incenp.linkml.core.LinkMLRuntimeException
Packages that use LinkMLRuntimeException
Package
Description
-
Uses of LinkMLRuntimeException in org.incenp.linkml.core
Subclasses of LinkMLRuntimeException in org.incenp.linkml.coreModifier and TypeClassDescriptionclassAn exception caused by an internal error within the LinkML runtime.classAn exception caused by some invalid data among the data manipulated by the LinkML runtime.Methods in org.incenp.linkml.core that throw LinkMLRuntimeExceptionModifier and TypeMethodDescriptionIConverter.convert(Object raw, ConverterContext ctx) Converts a raw object into a LinkML object.voidIConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) Converts a raw object into a LinkML object and assigns the result to a slot of another object.protected ObjectCurieConverter.convertImpl(Object raw, ConverterContext ctx) PrefixDeclarationExtractor.extractPrefixes(Map<String, Object> rawMap, Object dest, ConverterContext ctx) Extracts prefix declarations from the raw representation of a LinkML object.voidConverterContext.finalizeAssignments()Performs all delayed assignments.voidConverterContext.finalizeAssignments(boolean failOnMissing) Performs all delayed assignments, optionally failing if an assignment refers to a missing object.ConverterContext.getConverter(Class<?> type) Gets the converter for objects of the given type.ConverterContext.getConverter(Slot slot) Gets the converter for the type of object expected by the given slot.IConverterProvider.getConverter(Class<?> type) Gets a converter for objects of the given type.AliasTypeDesignatorResolver.getDesignator(ClassInfo klass) DefaultTypeDesignatorResolver.getDesignator(ClassInfo klass) ITypeDesignatorResolver.getDesignator(ClassInfo klass) Gets a single value that designates the provided class.ITypeDesignatorResolver.getDesignators(ClassInfo klass) Gets values that designate the provided class along with its ancestors.TypeDesignatorResolverBase.getDesignators(ClassInfo klass) <T> TDereferences a global object, optionally creating it if does not already exist.Dereferences a global object and assigns it to a slot on another object.<T> TLooks up for an object with the specified name.<T> TLooks up for an object with the specified name.voidDereferences several global objects and assigns them to a list.static SlotGets the Slot object corresponding to a given field in a given class.Gets the value of the slot for the given object.ClassInfo.newInstance()Creates a new instance of the class.voidPerforms the operation for the given slot of the given object.voidClassInfo.processSlots(Object object, ISlotProcessor processor, boolean unset) Applies an operation to all the slots for a given object.Resolves a single type designator into a LinkML class.Resolves a multi-valued designator into a LinkML class.CurieConverter.serialise(Object object, ConverterContext ctx) IConverter.serialise(Object object, ConverterContext ctx) Converts a LinkML object into a raw object.IConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) Converts a LinkML object into a raw object, when the object is the value of a specific LinkML slot.voidAssigns a value to the slot for the given object.Constructors in org.incenp.linkml.core that throw LinkMLRuntimeException -
Uses of LinkMLRuntimeException in org.incenp.linkml.core.converters
Methods in org.incenp.linkml.core.converters that throw LinkMLRuntimeExceptionModifier and TypeMethodDescriptionObjectConverter.convert(Object raw, ConverterContext ctx) Converts a raw map into a new instance of a LinkML object.ObjectConverter.convert(Map<String, Object> raw, ConverterContext ctx) Converts a raw map into a new instance of a LinkML object.ScalarConverterBase.convert(Object raw, ConverterContext ctx) TransparentConverter.convert(Object raw, ConverterContext ctx) voidObjectConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) Converts the value of a single slot and assigns it to the target object.voidScalarConverterBase.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) voidTransparentConverter.convertForSlot(Object raw, Object dest, Slot slot, ConverterContext ctx) protected ObjectBase16BlobConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectBase64BlobConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectBooleanConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDateConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDatetimeConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectDoubleConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectEnumConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectFloatConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectIntegerConverter.convertImpl(Object raw, ConverterContext ctx) protected abstract ObjectScalarConverterBase.convertImpl(Object raw, ConverterContext ctx) Performs the actual type conversion.protected ObjectStringConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectTimeConverter.convertImpl(Object raw, ConverterContext ctx) protected ObjectURIConverter.convertImpl(Object raw, ConverterContext ctx) voidObjectConverter.convertTo(Object raw, Object dest, ConverterContext ctx) Converts a raw object into an instance of a LinkML object, where the object already exists.voidConverts a raw map into an instance of a LinkML object, where the object already exists.protected StringObjectConverter.getGlobalIdentifier(Object raw, ConverterContext ctx) Converts the given raw object into an identifier for the target object type.ObjectConverter.getGlobalIdentifierList(Object raw, ConverterContext ctx) Converts the given list of raw objects into identifiers for the target object type.ObjectConverter.normaliseList(Object raw, InliningMode expected) Normalises a raw multi-valued slot.Base16BlobConverter.serialise(Object object, ConverterContext ctx) Base64BlobConverter.serialise(Object object, ConverterContext ctx) DateConverter.serialise(Object object, ConverterContext ctx) DatetimeConverter.serialise(Object object, ConverterContext ctx) EnumConverter.serialise(Object object, ConverterContext ctx) ObjectConverter.serialise(Object object, boolean withIdentifier, ConverterContext ctx) Converts a LinkML object into a raw object.ObjectConverter.serialise(Object object, ConverterContext ctx) ScalarConverterBase.serialise(Object object, ConverterContext ctx) TimeConverter.serialise(Object object, ConverterContext ctx) TransparentConverter.serialise(Object object, ConverterContext ctx) URIConverter.serialise(Object object, ConverterContext ctx) ObjectConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) ScalarConverterBase.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) TransparentConverter.serialiseForSlot(Object object, Slot slot, ConverterContext ctx) ObjectConverter.serialiseInit(Object object, boolean withIdentifier, ConverterContext ctx) Initialises the raw map that will be used to store the serialisation of the given object.protected voidObjectConverter.serialiseSlot(Slot slot, Object value, Map<String, Object> dest, ConverterContext ctx) Serialises the value of a single slot.protected ObjectObjectConverter.toIdentifier(Object object, ConverterContext ctx) Gets the unique identifier for the given object.Turns a raw object into a list.Checks that a raw object is a String-keyed map, and casts it as such.Constructors in org.incenp.linkml.core.converters that throw LinkMLRuntimeExceptionModifierConstructorDescriptionEnumConverter(Class<?> targetEnum) Creates a new converter for the specified type of enum. -
Uses of LinkMLRuntimeException in org.incenp.linkml.ext
Methods in org.incenp.linkml.ext that throw LinkMLRuntimeExceptionModifier and TypeMethodDescription<T> voidObjectLoader.dumpObject(File file, T object) Dumps a LinkML object into a YAML file.<T> voidObjectLoader.dumpObject(File file, T object, DataFormat format) Dumps a LinkML object into a file.<T> voidObjectLoader.dumpObject(OutputStream stream, T object) Dumps a LinkML object into a YAML stream.<T> voidObjectLoader.dumpObject(OutputStream stream, T object, DataFormat format) Dumps a LinkML object into a stream.<T> voidObjectLoader.dumpObjects(File file, List<T> objects) Dumps a list of LinkML objects into a YAML file.<T> voidObjectLoader.dumpObjects(File file, List<T> objects, DataFormat format) Dumps a list of LinkML objects into a file.<T> voidObjectLoader.dumpObjects(OutputStream stream, List<T> objects) Dumps a list of LinkML objects into a YAML file.<T> voidObjectLoader.dumpObjects(OutputStream stream, List<T> objects, DataFormat format) Dumps a list of LinkML objects into a file.<T> TObjectLoader.loadObject(File file, Class<T> type) Loads an instance of the specified type from a YAML file.<T> TObjectLoader.loadObject(File file, Class<T> type, DataFormat format) Loads an instance of the specified type from a file.<T> TObjectLoader.loadObject(InputStream stream, Class<T> type) Loads an instance of the specified type from a YAML stream.<T> TObjectLoader.loadObject(InputStream stream, Class<T> type, DataFormat format) Loads an instance of the specified type from a stream.<T> List<T> ObjectLoader.loadObjects(File file, Class<T> type) Loads a list of instances of the specified type from a YAML file.<T> List<T> ObjectLoader.loadObjects(File file, Class<T> type, DataFormat format) Loads a list of instances of the specified type from a file.<T> List<T> ObjectLoader.loadObjects(InputStream stream, Class<T> type) Loads a list of instances of the specified type from a YAML stream.<T> List<T> ObjectLoader.loadObjects(InputStream stream, Class<T> type, DataFormat format) Loads a list of instances of the specified type from a stream. -
Uses of LinkMLRuntimeException in org.incenp.linkml.schema
Methods in org.incenp.linkml.schema that throw LinkMLRuntimeExceptionModifier and TypeMethodDescriptionvoidvoidprotected booleanElementConverter.isOverridden(org.incenp.linkml.schema.model.Element element) Checks whether the schema schema is overridden by another one about the given element.