Class DocPropertyMapping
java.lang.Object
io.ebeanservice.docstore.api.mapping.DocPropertyMapping
public class DocPropertyMapping extends Object
Property mapping in a doc store document structure.
-
Constructor Summary
Constructors Constructor Description DocPropertyMapping()Construct 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 Type Method Description voidaddChild(DocPropertyMapping docMapping)Add a child property.voidapply(io.ebean.annotation.DocMapping docMapping)Apply mapping options to this property.List<DocPropertyMapping>getChildren()Return the child nested properties.StringgetName()Return the property name.DocPropertyOptionsgetOptions()Return the property options.DocPropertyTypegetType()Return the type of the property.voidsetType(DocPropertyType type)Set the type of the property.StringtoString()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
-
getType
Return the type of the property. -
setType
Set the type of the property. -
getName
Return the property name. -
getOptions
Return the property options. -
getChildren
Return the child nested properties. -
addChild
Add a child property. -
apply
Apply mapping options to this property.
-