public class MappingEntryImpl extends Object implements MappingEntry
MappingEntry.IndexPropertiesINDEX_NAME| Constructor and Description |
|---|
MappingEntryImpl(XPathExpression xPath,
Map<String,Object> indexProperties,
boolean identifier,
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() |
XPathExpression |
getXPath() |
boolean |
hasCoordinates() |
boolean |
hasCoordinatesType() |
boolean |
hasOutputProperties() |
boolean |
hasReplacements() |
boolean |
isIdentifier() |
boolean |
isRawXml() |
MappingEntryImpl |
setCoordinatesType(String type) |
MappingEntryImpl |
setCoordinatesXPaths(List<XPathExpression[]> coords) |
void |
setOutputProperties(Map<String,String> properties) |
MappingEntryImpl |
setReplacements(Map<String,String> replacements) |
String |
toString() |
public MappingEntryImpl(XPathExpression xPath, Map<String,Object> indexProperties, boolean identifier, 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 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 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 MappingEntryCopyright © 2015 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.