public interface HasFacts
| Modifier and Type | Method and Description |
|---|---|
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)
Equals.
|
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()
Hash code.
|
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. |
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 addedvoid addFactAt(Fact newFact, int pos)
newFact - Fact to be addedpos - integer. Zero basedvoid delFact(Fact fact)
fact - Fact to removevoid registerFact(Fact fact)
fact - the factvoid unregisterFact(Fact fact)
registerFact(Fact) but in this case for removing the information stored.fact - the factint hashCode()
hashCode in class java.lang.Objectboolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the obj