at.gv.egiz.moodle.eidconnector.data
Class StatisticLog
java.lang.Object
at.gv.egiz.moodle.eidconnector.data.StatisticLog
- All Implemented Interfaces:
- Serializable
public class StatisticLog
- extends Object
- implements Serializable
- Author:
- AT-TUG (Thomas Knall)
- See Also:
- Serialized Form
Constructor Summary |
StatisticLog()
|
StatisticLog(Date timestamp,
String assertionIssuerId,
String spID,
String sha1OfEID,
String citizenCountryCode,
Integer citizenQAALevel,
Integer age)
Creates a statistical log entry using the data provided. |
StatisticLog(Date timestamp,
String assertionIssuerId,
String spID,
String sha1OfEID,
String citizenCountryCode,
Integer citizenQAALevel,
Integer age,
String customField1,
String customField2)
Creates a statistical log entry using the data provided. |
StatisticLog
public StatisticLog()
StatisticLog
public StatisticLog(Date timestamp,
String assertionIssuerId,
String spID,
String sha1OfEID,
String citizenCountryCode,
Integer citizenQAALevel,
Integer age,
String customField1,
String customField2)
- Creates a statistical log entry using the data provided.
Note that timestamp, assertionIssuerId and spID must not be
null
, while the remaining parameters
might be.
- Parameters:
timestamp
- The current date.assertionIssuerId
- The identifier of the underlying S-PEPS/V-IDP instance.spID
- The identifier of the service provider being served.sha1OfEID
- A base64 encoded String of the SHA1 hash of the citizen's eIdentifier.citizenCountryCode
- The citizen's home country code (according to ISO 3166-1 alpha-2).citizenQAALevel
- The underlying QAA level.age
- The citizen's age.customField1
- Any custom data (or null
) to be logged.customField2
- Any custom data (or null
) to be logged.
StatisticLog
public StatisticLog(Date timestamp,
String assertionIssuerId,
String spID,
String sha1OfEID,
String citizenCountryCode,
Integer citizenQAALevel,
Integer age)
- Creates a statistical log entry using the data provided.
Note that timestamp, assertionIssuerId and spID must not be
null
, while the remaining parameters
might be.
- Parameters:
timestamp
- The current date.assertionIssuerId
- The identifier of the underlying S-PEPS/V-IDP instance.spID
- The identifier of the service provider being served.sha1OfEID
- A base64 encoded String of the SHA1 hash of the citizen's eIdentifier.citizenCountryCode
- The citizen's home country code (according to ISO 3166-1 alpha-2).citizenQAALevel
- The underlying QAA level.age
- The citizen's age.
getId
public Integer getId()
setId
public void setId(Integer id)
getTimestamp
public Date getTimestamp()
setTimestamp
public void setTimestamp(Date timestamp)
getAssertionIssuerId
public String getAssertionIssuerId()
setAssertionIssuerId
public void setAssertionIssuerId(String assertionIssuerId)
getServiceProviderId
public String getServiceProviderId()
setServiceProviderId
public void setServiceProviderId(String serviceProviderId)
getCitizenEIDDigest
public String getCitizenEIDDigest()
setCitizenEIDDigest
public void setCitizenEIDDigest(String citizenEIDDigest)
getCitizenCountry
public String getCitizenCountry()
setCitizenCountry
public void setCitizenCountry(String citizenCountry)
getCitizenQAALevel
public Integer getCitizenQAALevel()
setCitizenQAALevel
public void setCitizenQAALevel(Integer citizenQAALevel)
getCitizenAge
public Integer getCitizenAge()
setCitizenAge
public void setCitizenAge(Integer citizenAge)
getCustomField1
public String getCustomField1()
setCustomField1
public void setCustomField1(String customField1)
getCustomField2
public String getCustomField2()
setCustomField2
public void setCustomField2(String customField2)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2009 EGIZ. All Rights Reserved.