public class DocPropertyOptions extends Object
Constructor and Description |
---|
DocPropertyOptions()
Construct with no values set.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(io.ebean.annotation.DocMapping docMapping)
Apply override mapping from the document level or embedded property level.
|
void |
apply(io.ebean.annotation.DocProperty docMapping)
Apply the property level mapping options.
|
DocPropertyOptions |
copy()
Create a copy of this such that it can be overridden on a per index basis.
|
String |
getAnalyzer() |
Float |
getBoost() |
Boolean |
getCode() |
String |
getCopyTo() |
Boolean |
getDocValues() |
Boolean |
getEnabled() |
Boolean |
getIncludeInAll() |
Boolean |
getNorms() |
String |
getNullValue() |
io.ebean.annotation.DocProperty.Option |
getOptions() |
String |
getSearchAnalyzer() |
Boolean |
getSortable() |
Boolean |
getStore() |
boolean |
isCode() |
boolean |
isOptionsSet()
Return true if the index options is set to a non-default value.
|
boolean |
isSortable() |
void |
setAnalyzer(String analyzer) |
void |
setBoost(Float boost) |
void |
setCode(Boolean code) |
void |
setCopyTo(String copyTo) |
void |
setDocValues(Boolean docValues) |
void |
setEnabled(Boolean enabled) |
void |
setIncludeInAll(Boolean includeInAll) |
void |
setNorms(Boolean norms) |
void |
setNullValue(String nullValue) |
void |
setOptions(io.ebean.annotation.DocProperty.Option options) |
void |
setSearchAnalyzer(String searchAnalyzer) |
void |
setSortable(Boolean sortable) |
void |
setStore(Boolean store) |
String |
toString() |
public DocPropertyOptions()
public boolean isCode()
public boolean isSortable()
public Boolean getSortable()
public void setSortable(Boolean sortable)
public String getNullValue()
public void setNullValue(String nullValue)
public Boolean getIncludeInAll()
public void setIncludeInAll(Boolean includeInAll)
public Boolean getDocValues()
public void setDocValues(Boolean docValues)
public String getAnalyzer()
public void setAnalyzer(String analyzer)
public String getSearchAnalyzer()
public void setSearchAnalyzer(String searchAnalyzer)
public Boolean getEnabled()
public void setEnabled(Boolean enabled)
public boolean isOptionsSet()
public io.ebean.annotation.DocProperty.Option getOptions()
public void setOptions(io.ebean.annotation.DocProperty.Option options)
public DocPropertyOptions copy()
public void apply(io.ebean.annotation.DocMapping docMapping)
public void apply(io.ebean.annotation.DocProperty docMapping)
Copyright © 2019. All rights reserved.