public class GAINFullExport
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GAINFullExport()
Instantiates a new GAIN full export.
|
GAINFullExport(long sid,
java.lang.String oid,
java.lang.String soid,
double inter,
java.util.HashMap<java.lang.String,java.lang.Double> concs)
Instantiates a new GAIN full export structure.
|
GAINFullExport(long sid,
java.lang.String oid,
java.lang.String soid,
double inter,
java.util.HashMap<java.lang.String,java.lang.Double> concs,
java.lang.Integer decision)
Instantiates a new GAIN full export structure.
|
Modifier and Type | Method and Description |
---|---|
java.util.HashMap<java.lang.String,java.lang.Double> |
getConcepts()
Gets the concepts.
|
java.lang.Integer |
getDecision()
Gets the decision.
|
double |
getInterest()
Gets the interest.
|
java.lang.String |
getObjectID()
Gets the object id.
|
long |
getSessionID()
Gets the session id.
|
java.lang.String |
getSubobjectID()
Gets the subobject id.
|
java.lang.String |
getUserId()
Gets the user id.
|
void |
putConcept(java.lang.String concept,
double degree)
Put concept.
|
void |
setConcepts(java.util.HashMap<java.lang.String,java.lang.Double> concs)
Sets the concepts.
|
void |
setDecision()
Sets the decision.
|
void |
setInterest(double inter)
Sets the interest.
|
void |
setObjectID(java.lang.String oid)
Sets the object id.
|
void |
setSessionID(long sid)
Sets the session id.
|
void |
setSubobjectID(java.lang.String soid)
Sets the subobject id.
|
void |
setUserId(java.lang.String uid)
Sets the user id.
|
java.lang.String |
toString() |
public GAINFullExport()
public GAINFullExport(long sid, java.lang.String oid, java.lang.String soid, double inter, java.util.HashMap<java.lang.String,java.lang.Double> concs)
sid
- the session idoid
- the object idsoid
- the sub-object idinter
- the interest idconcs
- the (DBPedia) conceptspublic GAINFullExport(long sid, java.lang.String oid, java.lang.String soid, double inter, java.util.HashMap<java.lang.String,java.lang.Double> concs, java.lang.Integer decision)
sid
- the session idoid
- the object idsoid
- the sub-object idinter
- the interest idconcs
- the (DBPedia) conceptsdecision
- the decisionpublic long getSessionID()
public java.lang.Integer getDecision()
public void setDecision()
public void setSessionID(long sid)
sid
- the new session idpublic java.lang.String getObjectID()
public void setObjectID(java.lang.String oid)
oid
- the new object idpublic java.lang.String getSubobjectID()
public void setSubobjectID(java.lang.String soid)
soid
- the new subobject idpublic double getInterest()
public void setInterest(double inter)
inter
- the new interestpublic java.util.HashMap<java.lang.String,java.lang.Double> getConcepts()
public void setConcepts(java.util.HashMap<java.lang.String,java.lang.Double> concs)
concs
- the concspublic void putConcept(java.lang.String concept, double degree)
concept
- the conceptdegree
- the degreepublic void setUserId(java.lang.String uid)
uid
- the new user idpublic java.lang.String getUserId()
public java.lang.String toString()
toString
in class java.lang.Object