com.karmasphere.share.persist
Class Fact
java.lang.Object
com.karmasphere.share.persist.Persistent
com.karmasphere.share.persist.PersistentRecord<Feed,Identity>
com.karmasphere.share.persist.Fact
public class Fact
- extends PersistentRecord<Feed,Identity>
SCORE_RANGE
public static final int SCORE_RANGE
- See Also:
- Constant Field Values
Fact
public Fact(Feed feed,
Identity identity,
int value,
String data)
Fact
public Fact(Feed feed,
Identity identity)
getPersistentContainer
public Feed getPersistentContainer()
- Specified by:
getPersistentContainer in class PersistentRecord<Feed,Identity>
getPersistenceKey
public Identity getPersistenceKey()
- Specified by:
getPersistenceKey in class PersistentRecord<Feed,Identity>
setPersistenceKey
public void setPersistenceKey(Identity i)
- Specified by:
setPersistenceKey in class PersistentRecord<Feed,Identity>
getFeed
public Feed getFeed()
setFeed
public void setFeed(Feed feed)
getIdentity
public Identity getIdentity()
setIdentity
public void setIdentity(Identity identity)
getValue
public int getValue()
setValue
public void setValue(int value)
getNormalizedValue
public double getNormalizedValue(double range)
getNormalizedValue
public int getNormalizedValue()
getData
public String getData()
setData
public void setData(String data)
equals
public boolean equals(Object o)
- Specified by:
equals in class PersistentRecord<Feed,Identity>
hashCode
public int hashCode()
- Specified by:
hashCode in class PersistentRecord<Feed,Identity>
toString
public String toString()
- Description copied from class:
Persistent
- Returns a simple String representation of this Persistent.
- Overrides:
toString in class Persistent
Copyright © 2004-2005 Karamsphere. All Rights Reserved.