public class ContributionRecord extends ReferenceableProperties
| Constructor and Description |
|---|
ContributionRecord()
Default Constructor
|
ContributionRecord(ContributionRecord template)
Copy/clone Constructor - the resulting object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Equals method that returns true if containing properties are the same.
|
int |
getKarmaPointPlateau()
Return the current karma point plateau level for this person.
|
int |
getKarmaPoints()
Return the karma points awarded to this person.
|
int |
hashCode()
Just use the GUID for the hash code as it should be unique.
|
void |
setKarmaPointPlateau(int karmaPointPlateau)
Set up the karma point plateau level for this person.
|
void |
setKarmaPoints(int karmaPoints)
Set up the karma points for this person.
|
String |
toString()
JSON-style toString.
|
getAdditionalProperties, getExtendedProperties, getQualifiedName, getTypeName, getVendorProperties, setAdditionalProperties, setExtendedProperties, setQualifiedName, setTypeName, setVendorPropertiespublic ContributionRecord()
public ContributionRecord(ContributionRecord template)
template - object being copiedpublic int getKarmaPoints()
public void setKarmaPoints(int karmaPoints)
karmaPoints - countpublic int getKarmaPointPlateau()
public void setKarmaPointPlateau(int karmaPointPlateau)
karmaPointPlateau - countpublic String toString()
toString in class ReferenceablePropertiespublic boolean equals(Object objectToCompare)
equals in class ReferenceablePropertiesobjectToCompare - object to comparepublic int hashCode()
hashCode in class ReferenceablePropertiesCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.