net.shrine.sheriff.model
Class SheriffUser

java.lang.Object
  extended by net.shrine.sheriff.model.SheriffUser
All Implemented Interfaces:
Serializable

public class SheriffUser
extends Object
implements Serializable

Author:
Andrew McMurry
See Also:
Serialized Form

Field Summary
protected static int maxStringColumnLength
          30000 chars should hopefully be enough in all cases, but not big enough To push us into LONG VARCHAR territory.
 
Constructor Summary
SheriffUser()
           
 
Method Summary
 boolean deepEquals(SheriffUser that)
           
 boolean equals(Object obj)
          Based on ID, because that is the only field with an @@Id annotation
 String getECommonsID()
           
 String getInstitution()
           
 Date getLicenseAgreementTimestamp()
           
 int hashCode()
          Based on ID, because that is the only field with an @@Id annotation
 void setECommonsID(String eCommonsID)
           
 void setInstitution(String institution)
           
 void setLicenseAgreementTimestamp(Date licenseAgreementTimestamp)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

maxStringColumnLength

protected static final int maxStringColumnLength
30000 chars should hopefully be enough in all cases, but not big enough To push us into LONG VARCHAR territory.

See Also:
Constant Field Values
Constructor Detail

SheriffUser

public SheriffUser()
Method Detail

getECommonsID

public String getECommonsID()

setECommonsID

public void setECommonsID(String eCommonsID)

getLicenseAgreementTimestamp

public Date getLicenseAgreementTimestamp()

setLicenseAgreementTimestamp

public void setLicenseAgreementTimestamp(Date licenseAgreementTimestamp)

getInstitution

public String getInstitution()

setInstitution

public void setInstitution(String institution)

deepEquals

public boolean deepEquals(SheriffUser that)

hashCode

public int hashCode()
Based on ID, because that is the only field with an @@Id annotation

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Based on ID, because that is the only field with an @@Id annotation

Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.