Uses of Class
dev.morphia.mapping.codec.pojo.EntityModel
-
-
Uses of EntityModel in dev.morphia
Methods in dev.morphia with parameters of type EntityModel Modifier and Type Method Description voidDatastoreImpl. enableValidation(EntityModel model, Validation validation)booleanDatastoreImpl. hasLifecycle(EntityModel model, Class<? extends Annotation> type)protected DocumentDatastoreImpl. shardCollection(EntityModel model) -
Uses of EntityModel in dev.morphia.mapping
Methods in dev.morphia.mapping that return EntityModel Modifier and Type Method Description EntityModelMapper. register(EntityModel entityModel)Methods in dev.morphia.mapping that return types with arguments of type EntityModel Modifier and Type Method Description List<EntityModel>Mapper. getClassesMappedToCollection(String collection)Finds all the types mapped to a named collectionList<EntityModel>Mapper. getMappedEntities()List<EntityModel>EntityModelImporter. getModels(Mapper mapper)Returns the models to be introduced by this importer.Methods in dev.morphia.mapping with parameters of type EntityModel Modifier and Type Method Description voidDiscriminatorLookup. addModel(EntityModel entityModel)Adds a model to the mapEntityModelMapper. register(EntityModel entityModel)voidMapper. updateQueryWithDiscriminators(EntityModel model, Document query)Updates a query with any discriminators from subtypes if polymorphic queries are enabledConstructors in dev.morphia.mapping with parameters of type EntityModel Constructor Description InstanceCreatorFactoryImpl(EntityModel model)Creates a factory for this type -
Uses of EntityModel in dev.morphia.mapping.codec
Methods in dev.morphia.mapping.codec that return EntityModel Modifier and Type Method Description protected EntityModelBaseReferenceCodec. getEntityModelForField() -
Uses of EntityModel in dev.morphia.mapping.codec.pojo
Fields in dev.morphia.mapping.codec.pojo declared as EntityModel Modifier and Type Field Description EntityModelEntityModel. superClassFields in dev.morphia.mapping.codec.pojo with type parameters of type EntityModel Modifier and Type Field Description Set<EntityModel>EntityModel. subtypesMethods in dev.morphia.mapping.codec.pojo that return EntityModel Modifier and Type Method Description EntityModelEntityModelBuilder. build()Creates a new ClassModel instance based on the mapping data provided.EntityModelMorphiaCodec. getEntityModel()EntityModelPropertyModel. getEntityModel()EntityModelEntityModel. getSubtype(Class<?> type)EntityModelEntityModel. getSuperClass()EntityModelPropertyModelBuilder. owner()EntityModelEntityModelBuilder. superclass()Methods in dev.morphia.mapping.codec.pojo that return types with arguments of type EntityModel Modifier and Type Method Description Set<EntityModel>EntityModel. getSubtypes()Get the subtypes of this modelList<EntityModel>EntityModelBuilder. interfaces()Methods in dev.morphia.mapping.codec.pojo with parameters of type EntityModel Modifier and Type Method Description voidEntityModel. addSubtype(EntityModel entityModel)protected voidEntityDecoder. decodeProperties(BsonReader reader, DecoderContext decoderContext, MorphiaInstanceCreator instanceCreator, EntityModel classModel)protected voidEntityEncoder. encodeDiscriminator(BsonWriter writer, EntityModel model)protected voidMergingEncoder. encodeDiscriminator(BsonWriter writer, EntityModel model)PropertyModelBuilderPropertyModelBuilder. owner(EntityModel entityModel)Sets the entity model ownervoidEntityModel. setSuperClass(EntityModel model)Constructors in dev.morphia.mapping.codec.pojo with parameters of type EntityModel Constructor Description EntityModel(EntityModel other)MorphiaCodec(Datastore datastore, EntityModel model, List<PropertyCodecProvider> propertyCodecProviders, DiscriminatorLookup discriminatorLookup, CodecRegistry registry)Creates a new codecPropertyModel(EntityModel owner, PropertyModel other) -
Uses of EntityModel in dev.morphia.mapping.codec.references
Methods in dev.morphia.mapping.codec.references with parameters of type EntityModel Modifier and Type Method Description static ObjectReferenceCodec. encodeId(Mapper mapper, Object value, EntityModel model)Encodes a value -
Uses of EntityModel in dev.morphia.mapping.experimental
Methods in dev.morphia.mapping.experimental with parameters of type EntityModel Modifier and Type Method Description Map<String,Object>MapReference. getId(Mapper mapper, EntityModel field)Deprecated, for removal: This API element is subject to removal in a future version.Constructors in dev.morphia.mapping.experimental with parameters of type EntityModel Constructor Description CollectionReference(Datastore datastore, EntityModel entityModel, List ids)Deprecated, for removal: This API element is subject to removal in a future version.ListReference(Datastore datastore, EntityModel model, List ids)Deprecated, for removal: This API element is subject to removal in a future version.MapReference(Datastore datastore, Map<String,Object> ids, EntityModel entityModel)Deprecated, for removal: This API element is subject to removal in a future version.SetReference(Datastore datastore, EntityModel entityModel, List ids)Deprecated, for removal: This API element is subject to removal in a future version.SingleReference(Datastore datastore, EntityModel entityModel, Object id)Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of EntityModel in dev.morphia.mapping.validation
Methods in dev.morphia.mapping.validation with parameters of type EntityModel Modifier and Type Method Description voidClassConstraint. check(Mapper mapper, EntityModel model, Set<ConstraintViolation> ve)Check that an EntityModel meets the constraintvoidMappingValidator. validate(Mapper mapper, EntityModel entityModel)Constructors in dev.morphia.mapping.validation with parameters of type EntityModel Constructor Description ConstraintViolation(ConstraintViolation.Level level, EntityModel entityModel, PropertyModel property, Class<? extends ClassConstraint> validator, String message)Creates a violation instance to record invalid mapping metadataConstraintViolation(ConstraintViolation.Level level, EntityModel entityModel, Class<? extends ClassConstraint> validator, String message)Creates a violation instance to record invalid mapping metadata -
Uses of EntityModel in dev.morphia.mapping.validation.classrules
Methods in dev.morphia.mapping.validation.classrules with parameters of type EntityModel Modifier and Type Method Description voidDuplicatedAttributeNames. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidEntityAndEmbed. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidEntityOrEmbed. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidMultipleId. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidMultipleVersions. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)voidShardKeyNames. check(Mapper mapper, EntityModel model, Set<ConstraintViolation> ve) -
Uses of EntityModel in dev.morphia.mapping.validation.fieldrules
Methods in dev.morphia.mapping.validation.fieldrules with parameters of type EntityModel Modifier and Type Method Description protected voidContradictingAnnotations. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidIdDoesNotMix. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidLazyReferenceMissingDependencies. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidLazyReferenceOnArray. check(Mapper mapper, EntityModel model, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidMapKeyTypeConstraint. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected abstract voidPropertyConstraint. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)voidPropertyConstraint. check(Mapper mapper, EntityModel entityModel, Set<ConstraintViolation> ve)protected voidReferenceToUnidentifiable. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidVersionMisuse. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve) -
Uses of EntityModel in dev.morphia.query
Constructors in dev.morphia.query with parameters of type EntityModel Constructor Description FieldEndImpl(Datastore datastore, String field, T target, EntityModel model, boolean validating)Deprecated, for removal: This API element is subject to removal in a future version.Creates a FieldEnd for a particular field.Operations(Datastore datastore, EntityModel model)
-