Uses of Interface
cz.cvut.kbss.jopa.model.descriptors.Descriptor
Packages that use Descriptor
Package
Description
-
Uses of Descriptor in cz.cvut.kbss.jopa.model
Methods in cz.cvut.kbss.jopa.model that return DescriptorModifier and TypeMethodDescription<T> Descriptor
CachingEntityDescriptorFactory.createDescriptor
(Class<T> cls) <T> Descriptor
DefaultEntityDescriptorFactory.createDescriptor
(Class<T> cls) <T> Descriptor
EntityDescriptorFactory.createDescriptor
(Class<T> cls) Creates a descriptor for the specified entity class.default Descriptor
EntityManager.createDescriptor
(Class<?> cls) Creates aDescriptor
for instances of the specified entity class.EntityManagerImpl.createDescriptor
(Class<?> cls) TypedQueryImpl.getDescriptor()
Methods in cz.cvut.kbss.jopa.model with parameters of type DescriptorModifier and TypeMethodDescriptionboolean
Cache.contains
(Class<?> cls, Object identifier, Descriptor descriptor) Checks whether the cache contains data for the given entity.<T> T
EntityManager.find
(Class<T> entityClass, Object identifier, Descriptor descriptor) Find by identifier.<T> T
EntityManagerImpl.find
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
EntityManager.getReference
(Class<T> entityClass, Object identifier, Descriptor descriptor) Get an instance, whose state may be lazily fetched.<T> T
EntityManagerImpl.getReference
(Class<T> entityClass, Object identifier, Descriptor descriptor) <T> T
EntityManager.merge
(T entity, Descriptor descriptor) Merge the state of the given entity into the current persistence context and into the repository specified bydescriptor
.<T> T
EntityManagerImpl.merge
(T entity, Descriptor descriptor) void
EntityManager.persist
(Object entity, Descriptor descriptor) Make an instance managed and persistent.void
EntityManagerImpl.persist
(Object entity, Descriptor descriptor) TypedQueryImpl.setDescriptor
(Descriptor descriptor) -
Uses of Descriptor in cz.cvut.kbss.jopa.model.descriptors
Classes in cz.cvut.kbss.jopa.model.descriptors that implement DescriptorModifier and TypeClassDescriptionclass
Defines base descriptor, which is used to specify context information for entities and their fields.class
Describes an entity.class
Describes a singular data property or a plural data, object or annotation property field.class
Allows providing descriptor for elements of an object property collection.Methods in cz.cvut.kbss.jopa.model.descriptors that return DescriptorModifier and TypeMethodDescriptionDescriptor.addAttributeContext
(FieldSpecification<?, ?> attribute, URI context) Adds repository context for the specified attribute.Descriptor.addAttributeDescriptor
(FieldSpecification<?, ?> attribute, Descriptor descriptor) Adds descriptor for the specified attribute.AbstractDescriptor.addContext
(URI context) Descriptor.addContext
(URI context) Adds the specified context to this descriptor.ObjectPropertyCollectionDescriptor.addContext
(URI context) AbstractDescriptor.anyLanguage()
Descriptor.anyLanguage()
Configures this descriptor to support any language tag (including no language tags).Descriptor.copy()
Creates a copy of this descriptor.AbstractDescriptor.disableInference()
Descriptor.disableInference()
Instructs this descriptor to specify that only asserted statements should be loaded for otherwise inferred attributes.AbstractDescriptor.enableInference()
Descriptor.enableInference()
Instructs this descriptor to specify that both inferred and asserted statements should be loaded for otherwise inferred attributes.Descriptor.getAttributeDescriptor
(FieldSpecification<?, ?> attribute) Gets descriptor for the specified attribute.EntityDescriptor.getAttributeDescriptor
(FieldSpecification<?, ?> attribute) FieldDescriptor.getAttributeDescriptor
(FieldSpecification<?, ?> attribute) ObjectPropertyCollectionDescriptor.getAttributeDescriptor
(FieldSpecification<?, ?> attribute) Descriptor.setAttributeLanguage
(FieldSpecification<?, ?> attribute, String languageTag) Sets language to be used when working (retrieving, persisting) with values of the specified attribute.AbstractDescriptor.setLanguage
(String languageTag) Descriptor.setLanguage
(String languageTag) Sets language tag of this descriptor.default Descriptor
Descriptor.unwrap()
Unwraps this descriptor if it wraps another descriptor (such as in the case of a collection descriptor).Methods in cz.cvut.kbss.jopa.model.descriptors that return types with arguments of type DescriptorModifier and TypeMethodDescriptionDescriptor.getAttributeDescriptors()
Gets attribute descriptors specified in this descriptor.EntityDescriptor.getAttributeDescriptors()
FieldDescriptor.getAttributeDescriptors()
Methods in cz.cvut.kbss.jopa.model.descriptors with parameters of type DescriptorModifier and TypeMethodDescriptionDescriptor.addAttributeDescriptor
(FieldSpecification<?, ?> attribute, Descriptor descriptor) Adds descriptor for the specified attribute.EntityDescriptor.addAttributeDescriptor
(FieldSpecification<?, ?> attribute, Descriptor descriptor) FieldDescriptor.addAttributeDescriptor
(FieldSpecification<?, ?> attribute, Descriptor descriptor) ObjectPropertyCollectionDescriptor.addAttributeDescriptor
(FieldSpecification<?, ?> attribute, Descriptor descriptor) Constructor parameters in cz.cvut.kbss.jopa.model.descriptors with type arguments of type DescriptorModifierConstructorDescriptionprotected
EntityDescriptor
(Set<URI> contexts, boolean assertionsInSubjectContext, String language, boolean hasLanguage, boolean includeInferred, Map<Field, Descriptor> fieldDescriptors) -
Uses of Descriptor in cz.cvut.kbss.jopa.model.query
Methods in cz.cvut.kbss.jopa.model.query with parameters of type DescriptorModifier and TypeMethodDescriptionTypedQuery.setDescriptor
(Descriptor descriptor) Sets descriptor to use with this query. -
Uses of Descriptor in cz.cvut.kbss.jopa.oom
Methods in cz.cvut.kbss.jopa.oom with parameters of type DescriptorModifier and TypeMethodDescription<T> boolean
ObjectOntologyMapper.containsEntity
(Class<T> cls, URI identifier, Descriptor descriptor) Checks whether the storage contains individual with the specified identifier and of the specified type.<T> boolean
ObjectOntologyMapperImpl.containsEntity
(Class<T> cls, URI identifier, Descriptor descriptor) ObjectOntologyMapper.getAttributeAxioms
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor entityDescriptor) Extracts the value of the specified field from the specified entity and transforms it to axioms.ObjectOntologyMapperImpl.getAttributeAxioms
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor entityDescriptor) <T> T
ObjectOntologyMapperImpl.getEntityFromCacheOrOntology
(Class<T> cls, URI identifier, Descriptor descriptor) <T> boolean
ObjectOntologyMapper.isInferred
(T entity, FieldSpecification<? super T, ?> fieldSpec, Object value, Descriptor entityDescriptor) Checks if the specified attribute value of the specified entity is inferred in the repository.<T> boolean
ObjectOntologyMapperImpl.isInferred
(T entity, FieldSpecification<? super T, ?> fieldSpec, Object value, Descriptor entityDescriptor) <T> void
ObjectOntologyMapper.loadFieldValue
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor descriptor) Loads entity field value and sets it on the specified entity.<T> void
ObjectOntologyMapperImpl.loadFieldValue
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor descriptor) <T> void
ObjectOntologyMapper.persistEntity
(URI identifier, T entity, Descriptor descriptor) Persists the specified entity into the underlying ontology.<T> void
ObjectOntologyMapperImpl.persistEntity
(URI identifier, T entity, Descriptor descriptor) <T> void
ObjectOntologyMapper.removeEntity
(URI identifier, Class<T> cls, Descriptor descriptor) Removes entity with specified identifier from the ontology.<T> void
ObjectOntologyMapperImpl.removeEntity
(URI identifier, Class<T> cls, Descriptor descriptor) <T> void
ObjectOntologyMapper.updateFieldValue
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor descriptor) Sets value of property represented by the specified field to the field's value.<T> void
ObjectOntologyMapperImpl.updateFieldValue
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor entityDescriptor) -
Uses of Descriptor in cz.cvut.kbss.jopa.proxy.reference
Methods in cz.cvut.kbss.jopa.proxy.reference that return DescriptorMethods in cz.cvut.kbss.jopa.proxy.reference with parameters of type DescriptorModifier and TypeMethodDescriptionvoid
EntityReferenceProxyPropertyAccessor.setDescriptor
(Descriptor descriptor) -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions
Methods in cz.cvut.kbss.jopa.sessions that return DescriptorModifier and TypeMethodDescriptionprotected <T> Descriptor
AbstractUnitOfWork.getFieldDescriptor
(T entity, Field field, Descriptor entityDescriptor) Methods in cz.cvut.kbss.jopa.sessions with parameters of type DescriptorModifier and TypeMethodDescriptionCloneBuilder.buildClone
(Object cloneOwner, Field clonedField, Object original, Descriptor descriptor) Builds clone of the given object.<T> boolean
ConnectionWrapper.contains
(Object identifier, Class<T> cls, Descriptor descriptor) protected static ObjectChangeSet
AbstractUnitOfWork.copyChangeSet
(ObjectChangeSet changeSet, Object original, Object clone, Descriptor descriptor) protected void
AbstractUnitOfWork.evictAfterMerge
(EntityType<?> et, URI identifier, Descriptor descriptor) protected void
ReadOnlyUnitOfWork.evictAfterMerge
(EntityType<?> et, URI identifier, Descriptor descriptor) Method not supported.ConnectionWrapper.getAttributeAxioms
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor entityDescriptor) protected <T> Descriptor
AbstractUnitOfWork.getFieldDescriptor
(T entity, Field field, Descriptor entityDescriptor) protected <T> T
AbstractUnitOfWork.getInstanceForMerge
(URI identifier, EntityType<T> et, Descriptor descriptor) protected <T> T
ReadOnlyUnitOfWork.getInstanceForMerge
(URI identifier, EntityType<T> et, Descriptor descriptor) Method not supported.<T> T
AbstractUnitOfWork.getManagedOriginal
(Class<T> cls, Object identifier, Descriptor descriptor) Gets managed original with the specified identifier ornull
if there is none matching.<T> T
ReadOnlyUnitOfWork.getManagedOriginal
(Class<T> cls, Object identifier, Descriptor descriptor) Gets managed original with the specified identifier ornull
if there is none matching.<T> T
AbstractUnitOfWork.getReference
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
ReadOnlyUnitOfWork.getReference
(Class<T> cls, Object identifier, Descriptor descriptor) Retrieves an object with the specified identifier.<T> T
UnitOfWork.getReference
(Class<T> cls, Object identifier, Descriptor descriptor) Retrieves a reference to an object with the specified identifier.AbstractUnitOfWork.getState
(Object entity, Descriptor descriptor) ReadOnlyUnitOfWork.getState
(Object entity, Descriptor descriptor) UnitOfWork.getState
(Object entity, Descriptor descriptor) Gets the lifecycle state of the specified entity with respect to a repository context indicated by the specified descriptor.<T> boolean
ConnectionWrapper.isInferred
(T entity, FieldSpecification<? super T, ?> fieldSpec, Object value, Descriptor entityDescriptor) protected boolean
AbstractUnitOfWork.isInRepository
(Descriptor descriptor, Object entity) <T> void
ConnectionWrapper.loadFieldValue
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor descriptor) <T> void
ConnectionWrapper.merge
(T entity, FieldSpecification<? super T, ?> fieldSpec, Descriptor descriptor) <T> T
AbstractUnitOfWork.mergeDetached
(T entity, Descriptor descriptor) <T> T
ReadOnlyUnitOfWork.mergeDetached
(T entity, Descriptor descriptor) Method not supported.<T> T
UnitOfWork.mergeDetached
(T entity, Descriptor descriptor) Merges the state of the given entity into the current persistence context.<T> T
ReadOnlyUnitOfWork.mergeDetachedInternal
(T entity, Descriptor descriptor) Method not supported.<T> void
ConnectionWrapper.persist
(Object identifier, T entity, Descriptor descriptor) void
AbstractUnitOfWork.putObjectIntoCache
(Object identifier, Object entity, Descriptor descriptor) void
ReadOnlyUnitOfWork.putObjectIntoCache
(Object identifier, Object entity, Descriptor descriptor) Does nothing.void
UnitOfWork.putObjectIntoCache
(Object identifier, Object entity, Descriptor descriptor) Puts the specified object into the live object cache.<T> T
AbstractUnitOfWork.readObject
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
UnitOfWork.readObject
(Class<T> cls, Object identifier, Descriptor descriptor) Retrieves object with the specified identifier.protected <T> T
AbstractUnitOfWork.readObjectInternal
(Class<T> cls, Object identifier, Descriptor descriptor) protected <T> T
ChangeTrackingUnitOfWork.readObjectInternal
(Class<T> cls, Object identifier, Descriptor descriptor) protected <T> T
ReadOnlyUnitOfWork.readObjectInternal
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
AbstractUnitOfWork.readObjectWithoutRegistration
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
UnitOfWork.readObjectWithoutRegistration
(Class<T> cls, Object identifier, Descriptor descriptor) Reads an object but does not register it with this persistence context.AbstractUnitOfWork.registerExistingObject
(Object entity, Descriptor descriptor) ReadOnlyUnitOfWork.registerExistingObject
(Object entity, Descriptor descriptor) Register an existing object in this Unit of Work without cloning it.UnitOfWork.registerExistingObject
(Object object, Descriptor descriptor) Register an existing object in this Unit of Work.void
AbstractUnitOfWork.registerNewObject
(Object entity, Descriptor descriptor) void
ChangeTrackingUnitOfWork.registerNewObject
(Object entity, Descriptor descriptor) void
ReadOnlyUnitOfWork.registerNewObject
(Object entity, Descriptor descriptor) Method is not supported.void
UnitOfWork.registerNewObject
(Object object, Descriptor descriptor) Registers the specified new object in this Unit of Work.<T> void
ConnectionWrapper.remove
(Object identifier, Class<T> cls, Descriptor descriptor) void
CloneBuilder.removeVisited
(Object instance, Descriptor descriptor) Removes the specified instance from the clone builder's visited entities cache. -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions.cache
Methods in cz.cvut.kbss.jopa.sessions.cache that return DescriptorModifier and TypeMethodDescriptionDescriptors.repositoryDescriptor()
Returns the value of therepositoryDescriptor
record component.Methods in cz.cvut.kbss.jopa.sessions.cache with parameters of type DescriptorModifier and TypeMethodDescriptionboolean
DisabledCacheManager.contains
(Class<?> cls, Object identifier, Descriptor descriptor) boolean
LruCacheManager.contains
(Class<?> cls, Object identifier, Descriptor descriptor) boolean
TtlCacheManager.contains
(Class<?> cls, Object identifier, Descriptor descriptor) <T> T
CacheManager.get
(Class<T> cls, Object identifier, Descriptor descriptor) Gets entity with the specified identifier from the cache.<T> T
DisabledCacheManager.get
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
LruCacheManager.get
(Class<T> cls, Object identifier, Descriptor descriptor) <T> T
TtlCacheManager.get
(Class<T> cls, Object identifier, Descriptor descriptor) Constructors in cz.cvut.kbss.jopa.sessions.cache with parameters of type DescriptorModifierConstructorDescriptionDescriptors
(Descriptor repositoryDescriptor, LoadStateDescriptor<?> loadStateDescriptor) Creates an instance of aDescriptors
record class. -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions.change
Methods in cz.cvut.kbss.jopa.sessions.change that return DescriptorModifier and TypeMethodDescriptionChange.getDescriptor()
Gets descriptor of the changed object.DeleteObjectChange.getDescriptor()
NewObjectChange.getDescriptor()
ObjectChangeSet.getDescriptor()
Methods in cz.cvut.kbss.jopa.sessions.change with parameters of type DescriptorModifier and TypeMethodDescriptionstatic DeleteObjectChange
ChangeSetFactory.createDeleteObjectChange
(Object clone, Object original, Descriptor descriptor) Creates a change representing object deletion.static NewObjectChange
ChangeSetFactory.createNewObjectChange
(Object newObject, Descriptor descriptor) Creates a change representing object persist.static ObjectChangeSet
ChangeSetFactory.createObjectChangeSet
(Object original, Object clone, Descriptor descriptor) Creates new change set for the specified original-clone pair.Constructors in cz.cvut.kbss.jopa.sessions.change with parameters of type DescriptorModifierConstructorDescriptionDeleteObjectChange
(Object clone, Object original, Descriptor descriptor) NewObjectChange
(Object object, Descriptor descriptor) ObjectChangeSet
(Object changedObject, Object cloneObject, Descriptor descriptor) -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions.merge
Methods in cz.cvut.kbss.jopa.sessions.merge with parameters of type DescriptorModifier and TypeMethodDescriptionvoid
DefaultValueMerger.mergeValue
(Object target, ChangeRecord changeRecord, Descriptor attributeDescriptor) void
DetachedValueMerger.mergeValue
(Object target, ChangeRecord changeRecord, Descriptor attributeDescriptor) void
MapValueMerger.mergeValue
(Object target, ChangeRecord changeRecord, Descriptor attributeDescriptor) void
ValueMerger.mergeValue
(Object target, ChangeRecord changeRecord, Descriptor attributeDescriptor) Merges new value specified by the change record into the target object. -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions.util
Methods in cz.cvut.kbss.jopa.sessions.util that return DescriptorModifier and TypeMethodDescriptionCloneConfiguration.getDescriptor()
CloneRegistrationDescriptor.getDescriptor()
LoadingParameters.getDescriptor()
Methods in cz.cvut.kbss.jopa.sessions.util with parameters of type DescriptorModifier and TypeMethodDescriptionstatic CloneConfiguration
CloneConfiguration.withDescriptor
(Descriptor descriptor) Constructors in cz.cvut.kbss.jopa.sessions.util with parameters of type DescriptorModifierConstructorDescriptionCloneConfiguration
(Descriptor descriptor, boolean forPersistenceContext) CloneRegistrationDescriptor
(Descriptor descriptor) LoadingParameters
(Class<T> cls, URI identifier, Descriptor descriptor) LoadingParameters
(Class<T> cls, URI identifier, Descriptor descriptor, boolean forceEager) -
Uses of Descriptor in cz.cvut.kbss.jopa.sessions.validator
Methods in cz.cvut.kbss.jopa.sessions.validator with parameters of type DescriptorModifier and TypeMethodDescription<T> boolean
InferredAttributeChangeValidator.isInferredValueRemoval
(T instance, T original, FieldSpecification<? super T, ?> fieldSpec, Descriptor instanceDescriptor) Checks whether a change to the specified attribute on the specified instance involves removal of an inferred value.<T> void
InferredAttributeChangeValidator.validateChange
(T instance, T original, FieldSpecification<? super T, ?> fieldSpec, Descriptor instanceDescriptor) Checks whether the changes to the specified attribute on the specified instance are valid w.r.t.