|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultipleMapping
A mapping type that can hold interlly multiple mappings (associated with a name).
| Method Summary | |
|---|---|
int |
addMapping(Mapping mapping)
Adds the mapping. |
Mapping |
getMapping(int index)
Returns the mapping at the given index. |
Mapping |
getMapping(String name)
Returns the mapping associated with the given name. |
Iterator |
mappingsIt()
Returns an iterator over the stored mappings. |
| Methods inherited from interface org.compass.core.mapping.Mapping |
|---|
controlsObjectNullability, copy, getConverter, getConverterName, getName, getPath, setConverter, setConverterName, setName, setPath |
| Method Detail |
|---|
int addMapping(Mapping mapping)
mapping - The mapping to add
Mapping getMapping(String name)
Mapping.getName(), since the mappings might be saved not under the mapping
name (it might be under the mapping path). It really depends on the actual
implementation.
name - The name tha mapping was registered under when it was added.
null if nothing was found.Mapping getMapping(int index)
Iterator mappingsIt()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||