public abstract class BaseCredential extends Object implements Credential
| Constructor and Description |
|---|
BaseCredential() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
org.joda.time.DateTime |
getLastCheck() |
String |
getScheduleId() |
String |
getSchoolId() |
protected String |
hash(String data) |
boolean |
isValid() |
void |
setHash(String hash) |
void |
setId(String id) |
void |
setLastCheck(org.joda.time.DateTime lastCheck)
Set the last time this credential was checked.
|
void |
setScheduleId(String scheduleId) |
void |
setSchoolId(String schoolId) |
void |
setValid(boolean valid)
Set if this credential is believed to be valid.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHashpublic String getSchoolId()
getSchoolId in interface Credentialpublic void setSchoolId(String schoolId)
public void setHash(String hash)
public boolean isValid()
isValid in interface CredentialSubstitutionScheduleParser implementations.public void setValid(boolean valid)
CredentialsetValid in interface Credentialvalid - if this credential is believed to be validpublic org.joda.time.DateTime getLastCheck()
getLastCheck in interface CredentialSubstitutionScheduleParser implementations.public void setLastCheck(org.joda.time.DateTime lastCheck)
CredentialsetLastCheck in interface CredentiallastCheck - last time this credential was checkedpublic String getScheduleId()
getScheduleId in interface Credentialpublic void setScheduleId(String scheduleId)
public String getId()
getId in interface Credentialpublic void setId(String id)