|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HasFacts
This interface is implemented by the Mapper and the Fact classes Both are able to provide a collection of children facts
| Method Summary | |
|---|---|
void |
addFact(Fact newFact)
Adds a new Fact to the end of the Facts container. |
void |
addFactAt(Fact newFact,
int pos)
Adds a new Fact at the position indicated by pos. |
void |
delFact(Fact fact)
Removes a fact from the container |
boolean |
equals(java.lang.Object obj)
|
java.util.Iterator<Fact> |
getChildrenFacts()
Access to an iterator over the children facts of this object |
HasFacts |
getParent()
Access to the parent element of a Fact. |
int |
hashCode()
|
void |
registerFact(Fact fact)
Registers a new fact has been added to the container. |
void |
unregisterFact(Fact fact)
Same as registerFact(Fact) but in this case for removing the information stored |
| Method Detail |
|---|
java.util.Iterator<Fact> getChildrenFacts()
HasFacts getParent()
void addFact(Fact newFact)
This method does not updates the taxonomy URLs.
newFact - the new fact to be added
void addFactAt(Fact newFact,
int pos)
newFact - Fact to be addedpos - integer. Zero basedvoid delFact(Fact fact)
fact - Fact to removevoid registerFact(Fact fact)
fact - void unregisterFact(Fact fact)
registerFact(Fact) but in this case for removing the information stored
fact - int hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||