Uses of Class
dev.morphia.mapping.codec.pojo.PropertyModel
-
-
Uses of PropertyModel in dev.morphia
Methods in dev.morphia with parameters of type PropertyModel Modifier and Type Method Description ObjectObjectFactory. createInstance(Mapper mapper, PropertyModel mf, Document document)Creates an instance of the class defined in the discriminator field in the document passed in.ListObjectFactory. createList(PropertyModel mf)Defines how morphia creates a List object.MapObjectFactory. createMap(PropertyModel mf)Defines how morphia creates a Map object.SetObjectFactory. createSet(PropertyModel mf)Defines how morphia creates a Set object. -
Uses of PropertyModel in dev.morphia.mapping
Methods in dev.morphia.mapping that return PropertyModel Modifier and Type Method Description PropertyModelMapper. findIdProperty(Class<?> type)Methods in dev.morphia.mapping with parameters of type PropertyModel Modifier and Type Method Description voidNoArgCreator. set(Object value, PropertyModel model) -
Uses of PropertyModel in dev.morphia.mapping.codec
Methods in dev.morphia.mapping.codec that return PropertyModel Modifier and Type Method Description PropertyModelBaseReferenceCodec. getPropertyModel()Methods in dev.morphia.mapping.codec with parameters of type PropertyModel Modifier and Type Method Description protected static ReferenceBaseReferenceCodec. getReferenceAnnotation(PropertyModel model)voidMorphiaInstanceCreator. set(Object value, PropertyModel model)Sets a value for the given FieldModelConstructors in dev.morphia.mapping.codec with parameters of type PropertyModel Constructor Description BaseReferenceCodec(Datastore datastore, PropertyModel property)Creates a codec -
Uses of PropertyModel in dev.morphia.mapping.codec.pojo
Methods in dev.morphia.mapping.codec.pojo that return PropertyModel Modifier and Type Method Description PropertyModelPropertyModelBuilder. build()Creates thePropertyModel.PropertyModelEntityModel. getIdProperty()PropertyModelEntityModel. getProperty(String name)PropertyModelEntityModel. getVersionProperty()Methods in dev.morphia.mapping.codec.pojo that return types with arguments of type PropertyModel Modifier and Type Method Description List<PropertyModel>EntityModel. getProperties()Returns all the properties on this modelList<PropertyModel>EntityModel. getProperties(Class<? extends Annotation> type)Returns all the properties on this model annotated by the given typeList<PropertyModel>EntityModel. getShardKeys()Methods in dev.morphia.mapping.codec.pojo with parameters of type PropertyModel Modifier and Type Method Description protected voidEntityDecoder. decodeModel(BsonReader reader, DecoderContext decoderContext, MorphiaInstanceCreator instanceCreator, PropertyModel model)protected voidEntityEncoder. encodeIdProperty(BsonWriter writer, Object instance, EncoderContext encoderContext, PropertyModel idModel)protected voidMergingEncoder. encodeIdProperty(BsonWriter writer, Object instance, EncoderContext encoderContext, PropertyModel idModel)voidEntityEncoder. encodeProperty(BsonWriter writer, PropertyModel propertyModel, Object value, EncoderContext encoderContext)Encodes a property on the modelprotected voidEntityEncoder. encodeValue(BsonWriter writer, EncoderContext encoderContext, PropertyModel model, Object value)protected voidMergingEncoder. encodeValue(BsonWriter writer, EncoderContext encoderContext, PropertyModel model, Object value)protected voidEntityEncoder. writeValue(BsonWriter writer, EncoderContext encoderContext, PropertyModel model, Object value) -
Uses of PropertyModel in dev.morphia.mapping.codec.references
Constructors in dev.morphia.mapping.codec.references with parameters of type PropertyModel Constructor Description ReferenceCodec(Datastore datastore, PropertyModel propertyModel)Creates a codec -
Uses of PropertyModel in dev.morphia.mapping.experimental
Methods in dev.morphia.mapping.experimental with parameters of type PropertyModel Modifier and Type Method Description static MapReferenceMapReference. decode(Datastore datastore, Mapper mapper, PropertyModel property, Document document)Deprecated, for removal: This API element is subject to removal in a future version.Decodes a document in to entitiesstatic MorphiaReference<?>SingleReference. decode(Datastore datastore, Mapper mapper, PropertyModel mappedField, Class<?> paramType, Document document)Deprecated, for removal: This API element is subject to removal in a future version.Decodes a document in to an entityConstructors in dev.morphia.mapping.experimental with parameters of type PropertyModel Constructor Description MorphiaReferenceCodec(Datastore datastore, PropertyModel propertyModel)Deprecated, for removal: This API element is subject to removal in a future version.Creates a codec -
Uses of PropertyModel in dev.morphia.mapping.validation
Constructors in dev.morphia.mapping.validation with parameters of type PropertyModel Constructor Description ConstraintViolation(ConstraintViolation.Level level, EntityModel entityModel, PropertyModel property, Class<? extends ClassConstraint> validator, String message)Creates a violation instance to record invalid mapping metadata -
Uses of PropertyModel in dev.morphia.mapping.validation.classrules
Constructors in dev.morphia.mapping.validation.classrules with parameters of type PropertyModel Constructor Description FieldEnumString(PropertyModel... fields)Creates a FieldEnumString for the given fieldsConstructor parameters in dev.morphia.mapping.validation.classrules with type arguments of type PropertyModel Constructor Description FieldEnumString(List<PropertyModel> fields)Creates a FieldEnumString for the given fields -
Uses of PropertyModel in dev.morphia.mapping.validation.fieldrules
Methods in dev.morphia.mapping.validation.fieldrules with parameters of type PropertyModel 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)protected voidReferenceToUnidentifiable. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)protected voidVersionMisuse. check(Mapper mapper, EntityModel entityModel, PropertyModel propertyModel, Set<ConstraintViolation> ve)
-