org.compass.core.mapping.json
Class JsonArrayMapping

java.lang.Object
  extended by org.compass.core.mapping.support.AbstractMapping
      extended by org.compass.core.mapping.json.JsonArrayMapping
All Implemented Interfaces:
InternalMapping, JsonMapping, Mapping

public class JsonArrayMapping
extends AbstractMapping
implements JsonMapping

Author:
kimchy

Constructor Summary
JsonArrayMapping()
           
 
Method Summary
 Mapping copy()
          Copies over the mapping definition into a newly instanciated Mapping object.
 Mapping getElementMapping()
           
 String getFullPath()
          Returns a dot path to the mapping from the root.
 boolean isDynamic()
           
 void setDynamic(boolean dynamic)
           
 void setElementMapping(Mapping elementMapping)
           
 void setFullPath(String fullPath)
          Sets the full path (dot path notation) of the given root.
 
Methods inherited from class org.compass.core.mapping.support.AbstractMapping
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.core.mapping.Mapping
controlsObjectNullability, getConverter, getConverterName, getName, getPath
 

Constructor Detail

JsonArrayMapping

public JsonArrayMapping()
Method Detail

copy

public Mapping copy()
Description copied from interface: Mapping
Copies over the mapping definition into a newly instanciated Mapping object.

Specified by:
copy in interface Mapping

getFullPath

public String getFullPath()
Description copied from interface: JsonMapping
Returns a dot path to the mapping from the root.

Specified by:
getFullPath in interface JsonMapping

setFullPath

public void setFullPath(String fullPath)
Description copied from interface: JsonMapping
Sets the full path (dot path notation) of the given root.

Specified by:
setFullPath in interface JsonMapping

getElementMapping

public Mapping getElementMapping()

setElementMapping

public void setElementMapping(Mapping elementMapping)

isDynamic

public boolean isDynamic()

setDynamic

public void setDynamic(boolean dynamic)


Copyright (c) 2004-2008 The Compass Project.