public class PointFieldConfig extends StandardFieldConfig implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PointFieldConfig.GeoType |
StandardFieldConfig.Transformer<T>, StandardFieldConfig.Visitor
FieldConfig.FromDataModel
Modifier and Type | Field and Description |
---|---|
int |
blockSize |
static int |
DEFAULT_BLOCK_SIZE |
static boolean |
DEFAULT_EXACT |
static java.lang.String |
DEFAULT_GEO_TYPE |
boolean |
exact
Deprecated.
|
java.lang.String |
geoType |
DEFAULT_MULTI_CONTEXT, DEFAULT_RAM_BASED, multiContext, ramBased
dataModelClass, dataModelProperty, dataModelState, DEFAULT_MULTIVALUED, DEFAULT_RETRIEVABLE, DEFAULT_SEARCHABLE, DEFAULT_VERSION, fieldName, fromDataModel, listsEncoderConfig, multivalued, retrievable, searchable, version
Constructor and Description |
---|
PointFieldConfig() |
PointFieldConfig(PointFieldConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(FieldConfig.Transformer<T> transformer,
T[] t) |
void |
accept(FieldConfig.Visitor visitor) |
<T> T |
accept(StandardFieldConfig.Transformer<T> transformer,
T[] t) |
void |
accept(StandardFieldConfig.Visitor visitor) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this PointFieldConfig.
|
static PointFieldConfig |
fromString(java.lang.String s)
String representation of this PointFieldConfig.
|
int |
getBlockSize() |
java.lang.String |
getGeoType()
Value can be one of
WGS84
Meter
|
PointFieldConfig.GeoType |
getGeoTypeAsEnum()
Value can be one of
WGS84
Meter
|
static boolean |
isA(java.lang.String str,
PointFieldConfig.GeoType item) |
boolean |
isExact()
Deprecated.
|
static boolean |
isOneOf(java.lang.String str,
PointFieldConfig.GeoType... items) |
PointFieldConfig |
makeCopy()
Creates and returns a deep copy of this PointFieldConfig.
|
static PointFieldConfig |
readFrom(java.io.InputStream is)
Read this PointFieldConfig from an XML fragment.
|
void |
setBlockSize(int blockSize) |
void |
setExact(boolean exact)
Deprecated.
|
void |
setGeoType(PointFieldConfig.GeoType item)
Value can be one of
WGS84
Meter
|
void |
setGeoType(java.lang.String geoType)
Value can be one of
WGS84
Meter
|
java.lang.String |
toString()
String representation of this PointFieldConfig.
|
PointFieldConfig |
withBlockSize(int blockSize) |
PointFieldConfig |
withBlockSize(java.lang.Integer blockSize) |
PointFieldConfig |
withDataModelClass(java.lang.String dataModelClass) |
PointFieldConfig |
withDataModelProperty(java.lang.String dataModelProperty) |
PointFieldConfig |
withDataModelState(java.lang.String dataModelState) |
PointFieldConfig |
withExact(boolean exact)
Deprecated.
|
PointFieldConfig |
withExact(java.lang.Boolean exact)
Deprecated.
|
PointFieldConfig |
withFieldName(java.lang.String fieldName) |
PointFieldConfig |
withFromDataModel(FieldConfig fromDataModel) |
PointFieldConfig |
withGeoType(java.lang.String geoType) |
PointFieldConfig |
withListsEncoderConfig(ListsEncoderConfig listsEncoderConfig) |
PointFieldConfig |
withMultiContext(boolean multiContext) |
PointFieldConfig |
withMultiContext(java.lang.Boolean multiContext) |
PointFieldConfig |
withMultivalued(boolean multivalued) |
PointFieldConfig |
withMultivalued(java.lang.Boolean multivalued) |
PointFieldConfig |
withRamBased(boolean ramBased) |
PointFieldConfig |
withRamBased(java.lang.Boolean ramBased) |
PointFieldConfig |
withRetrievable(boolean retrievable) |
PointFieldConfig |
withRetrievable(java.lang.Boolean retrievable) |
PointFieldConfig |
withSearchable(boolean searchable) |
PointFieldConfig |
withSearchable(java.lang.Boolean searchable) |
PointFieldConfig |
withVersion(int version) |
PointFieldConfig |
withVersion(java.lang.Integer version) |
void |
writeTo(java.io.OutputStream os)
Write this PointFieldConfig as an XML fragment
|
isMultiContext, isRamBased, setMultiContext, setRamBased
getDataModelClass, getDataModelProperty, getDataModelState, getFieldName, getFromDataModel, getListsEncoderConfig, getVersion, isMultivalued, isRetrievable, isSearchable, setDataModelClass, setDataModelProperty, setDataModelState, setFieldName, setFromDataModel, setListsEncoderConfig, setMultivalued, setRetrievable, setSearchable, setVersion
public java.lang.String geoType
public static final java.lang.String DEFAULT_GEO_TYPE
public int blockSize
public static final int DEFAULT_BLOCK_SIZE
@Deprecated public boolean exact
public static final boolean DEFAULT_EXACT
public PointFieldConfig()
public PointFieldConfig(PointFieldConfig o)
public static boolean isA(java.lang.String str, PointFieldConfig.GeoType item)
public static boolean isOneOf(java.lang.String str, PointFieldConfig.GeoType... items)
public void setGeoType(PointFieldConfig.GeoType item)
public PointFieldConfig.GeoType getGeoTypeAsEnum()
public PointFieldConfig withRamBased(boolean ramBased)
withRamBased
in class StandardFieldConfig
public PointFieldConfig withRamBased(java.lang.Boolean ramBased)
withRamBased
in class StandardFieldConfig
public PointFieldConfig withMultiContext(boolean multiContext)
withMultiContext
in class StandardFieldConfig
public PointFieldConfig withMultiContext(java.lang.Boolean multiContext)
withMultiContext
in class StandardFieldConfig
public PointFieldConfig withFieldName(java.lang.String fieldName)
withFieldName
in class StandardFieldConfig
public PointFieldConfig withSearchable(boolean searchable)
withSearchable
in class StandardFieldConfig
public PointFieldConfig withSearchable(java.lang.Boolean searchable)
withSearchable
in class StandardFieldConfig
public PointFieldConfig withRetrievable(boolean retrievable)
withRetrievable
in class StandardFieldConfig
public PointFieldConfig withRetrievable(java.lang.Boolean retrievable)
withRetrievable
in class StandardFieldConfig
public PointFieldConfig withDataModelState(java.lang.String dataModelState)
withDataModelState
in class StandardFieldConfig
public PointFieldConfig withFromDataModel(FieldConfig fromDataModel)
withFromDataModel
in class StandardFieldConfig
public PointFieldConfig withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class StandardFieldConfig
public PointFieldConfig withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class StandardFieldConfig
public PointFieldConfig withMultivalued(boolean multivalued)
withMultivalued
in class StandardFieldConfig
public PointFieldConfig withMultivalued(java.lang.Boolean multivalued)
withMultivalued
in class StandardFieldConfig
public PointFieldConfig withVersion(int version)
withVersion
in class StandardFieldConfig
public PointFieldConfig withVersion(java.lang.Integer version)
withVersion
in class StandardFieldConfig
public PointFieldConfig withListsEncoderConfig(ListsEncoderConfig listsEncoderConfig)
withListsEncoderConfig
in class StandardFieldConfig
public void setGeoType(java.lang.String geoType)
public java.lang.String getGeoType()
public PointFieldConfig withGeoType(java.lang.String geoType)
public void setBlockSize(int blockSize)
public int getBlockSize()
public PointFieldConfig withBlockSize(int blockSize)
public PointFieldConfig withBlockSize(java.lang.Integer blockSize)
@Deprecated public void setExact(boolean exact)
@Deprecated public boolean isExact()
@Deprecated public PointFieldConfig withExact(boolean exact)
@Deprecated public PointFieldConfig withExact(java.lang.Boolean exact)
public PointFieldConfig makeCopy()
makeCopy
in class StandardFieldConfig
public static PointFieldConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class StandardFieldConfig
javax.xml.bind.JAXBException
java.io.IOException
public static PointFieldConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class StandardFieldConfig
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class StandardFieldConfig
com.exalead.util.TypedException
public void accept(StandardFieldConfig.Visitor visitor) throws com.exalead.util.TypedException
accept
in class StandardFieldConfig
com.exalead.util.TypedException
public void accept(FieldConfig.Visitor visitor) throws com.exalead.util.TypedException
accept
in class FieldConfig
com.exalead.util.TypedException
public <T> T accept(StandardFieldConfig.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class StandardFieldConfig
com.exalead.util.TypedException
public <T> T accept(FieldConfig.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class FieldConfig
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.