java.lang.Object
io.ebeanservice.docstore.api.mapping.DocPropertyMapping
Property mapping in a doc store document structure.
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct ROOT.DocPropertyMapping(String name, DocPropertyType type) Construct property mapping.DocPropertyMapping(String name, DocPropertyType type, DocPropertyOptions options) Construct property mapping with options. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(DocPropertyMapping docMapping) Add a child property.voidapply(io.ebean.annotation.DocMapping docMapping) Apply mapping options to this property.children()Return the child nested properties.name()Return the property name.options()Return the property options.toString()type()Return the type of the property.voidtype(DocPropertyType type) Set the type of the property.voidvisit(DocPropertyVisitor visitor) Visit this property and any nested children.
-
Constructor Details
-
DocPropertyMapping
public DocPropertyMapping()Construct ROOT. -
DocPropertyMapping
Construct property mapping. -
DocPropertyMapping
Construct property mapping with options.
-
-
Method Details
-
visit
Visit this property and any nested children. -
toString
-
type
Return the type of the property. -
type
Set the type of the property. -
name
Return the property name. -
options
Return the property options. -
children
Return the child nested properties. -
addChild
Add a child property. -
apply
Apply mapping options to this property.
-