Package org.mycore.access.facts.fact
Class MCRAbstractFact<T>
java.lang.Object
org.mycore.access.facts.fact.MCRAbstractFact<T>
- Type Parameters:
T
- the type of the fact
- All Implemented Interfaces:
MCRFact<T>
- Direct Known Subclasses:
MCRCategoryIDFact
,MCRIpAddressFact
,MCRObjectIDFact
,MCRStringFact
This is the base implementation for a fact.
A fact consists of a name and a value.
Additionally the query term used to retrieve the fact is stored.
Two facts are equal if their names and terms are equal.
- Author:
- Robert Stephan
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MCRAbstractFact
-
-
Method Details
-
setName
-
getName
-
setTerm
-
getTerm
-
setValue
-
getValue
-
toString
-
hashCode
public int hashCode() -
equals
-