public class DocPropertyMapping extends Object
Constructor and Description |
---|
DocPropertyMapping()
Construct ROOT.
|
DocPropertyMapping(String name,
DocPropertyType type)
Construct property mapping.
|
DocPropertyMapping(String name,
DocPropertyType type,
DocPropertyOptions options)
Construct property mapping with options.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(DocPropertyMapping docMapping)
Add a child property.
|
void |
apply(io.ebean.annotation.DocMapping docMapping)
Apply mapping options to this property.
|
List<DocPropertyMapping> |
getChildren()
Return the child nested properties.
|
String |
getName()
Return the property name.
|
DocPropertyOptions |
getOptions()
Return the property options.
|
DocPropertyType |
getType()
Return the type of the property.
|
void |
setType(DocPropertyType type)
Set the type of the property.
|
String |
toString() |
void |
visit(DocPropertyVisitor visitor)
Visit this property and any nested children.
|
public DocPropertyMapping()
public DocPropertyMapping(String name, DocPropertyType type)
public DocPropertyMapping(String name, DocPropertyType type, DocPropertyOptions options)
public void visit(DocPropertyVisitor visitor)
public DocPropertyType getType()
public void setType(DocPropertyType type)
public DocPropertyOptions getOptions()
public List<DocPropertyMapping> getChildren()
public void addChild(DocPropertyMapping docMapping)
public void apply(io.ebean.annotation.DocMapping docMapping)
Copyright © 2019. All rights reserved.