public class MappingEntryImpl extends Object implements MappingEntry
MappingEntry.IndexPropertiesINDEX_MAPPING_ATTRIBUTE| Constructor and Description |
|---|
MappingEntryImpl(String fieldName,
XPathExpression xPath,
Map<String,Object> indexProperties,
boolean identifier,
boolean location,
boolean rawXml) |
| Modifier and Type | Method and Description |
|---|---|
MappingEntryImpl |
addIndexProperty(String key,
Object value) |
String |
getCoordinatesType() |
List<XPathExpression[]> |
getCoordinatesXPaths() |
String |
getFieldName() |
Map<String,Object> |
getIndexProperties() |
Object |
getIndexPropery(String name) |
Map<String,String> |
getOutputProperties() |
Map<String,String> |
getReplacements() |
String |
getSplit() |
XPathExpression |
getXPath() |
boolean |
hasCoordinates() |
boolean |
hasCoordinatesType() |
boolean |
hasOutputProperties() |
boolean |
hasReplacements() |
boolean |
hasSplit() |
boolean |
isAnalyzed() |
boolean |
isIdentifier() |
boolean |
isLocation() |
boolean |
isRawXml() |
MappingEntryImpl |
setCoordinatesType(String type) |
MappingEntryImpl |
setCoordinatesXPaths(List<XPathExpression[]> coords) |
void |
setOutputProperties(Map<String,String> properties) |
MappingEntryImpl |
setReplacements(Map<String,String> replacements) |
MappingEntryImpl |
setSplit(String split) |
String |
toString() |
public MappingEntryImpl(String fieldName, XPathExpression xPath, Map<String,Object> indexProperties, boolean identifier, boolean location, boolean rawXml)
public XPathExpression getXPath()
getXPath in interface MappingEntrypublic String getFieldName()
getFieldName in interface MappingEntrypublic MappingEntryImpl addIndexProperty(String key, Object value)
public Map<String,Object> getIndexProperties()
getIndexProperties in interface MappingEntrypublic Object getIndexPropery(String name)
getIndexPropery in interface MappingEntrypublic boolean isIdentifier()
isIdentifier in interface MappingEntrypublic boolean isLocation()
isLocation in interface MappingEntrypublic boolean hasCoordinates()
hasCoordinates in interface MappingEntrypublic List<XPathExpression[]> getCoordinatesXPaths()
getCoordinatesXPaths in interface MappingEntrypublic MappingEntryImpl setCoordinatesXPaths(List<XPathExpression[]> coords)
public boolean hasCoordinatesType()
hasCoordinatesType in interface MappingEntrypublic String getCoordinatesType()
getCoordinatesType in interface MappingEntrypublic MappingEntryImpl setCoordinatesType(String type)
public boolean isRawXml()
isRawXml in interface MappingEntrypublic boolean isAnalyzed()
isAnalyzed in interface MappingEntrypublic boolean hasReplacements()
hasReplacements in interface MappingEntrypublic Map<String,String> getReplacements()
getReplacements in interface MappingEntrypublic MappingEntryImpl setReplacements(Map<String,String> replacements)
public boolean hasOutputProperties()
hasOutputProperties in interface MappingEntrypublic Map<String,String> getOutputProperties()
getOutputProperties in interface MappingEntrypublic boolean hasSplit()
hasSplit in interface MappingEntrypublic String getSplit()
getSplit in interface MappingEntrypublic MappingEntryImpl setSplit(String split)
Copyright © 2015–2016 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.