public class IdRefLinker extends Object
Constructor and Description |
---|
IdRefLinker()
the default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addIdRef(Object object,
String[] ids)
Each object with one or more id ref will register itself and the
referenced ids.
|
int |
idRefElementsSize() |
void |
linkAll()
This method must be called after completing lists additions.
|
void |
reset()
Clears the object contents.
|
public final void addIdRef(Object object, String[] ids)
object
- the objectids
- all idref to solvepublic final void linkAll() throws VoidRepositoryException, InvalidIDException
VoidRepositoryException
- if the repository is not correctly setInvalidIDException
- if an id is not found.IdRepository
public final void reset()
public final int idRefElementsSize()
Copyright © 2009–2016 Univ. Paris Ouest, and Univ. Pierre et Marie Curie / CNRS UMR 7606 (LIP6). All rights reserved.