org.kuali.student.lum.lrc.dto
Class CredentialInfo

java.lang.Object
  extended by org.kuali.student.lum.lrc.dto.CredentialInfo
All Implemented Interfaces:
Serializable, HasAttributes, Idable

public class CredentialInfo
extends Object
implements Serializable, Idable, HasAttributes

Detailed information about a credential value.

See Also:
Serialized Form

Field Summary
private  Map<String,String> attributes
           
private  RichTextInfo desc
           
private  Date effectiveDate
           
private  Date expirationDate
           
private  String id
           
private  String name
           
private static long serialVersionUID
           
private  String type
           
private  String value
           
 
Constructor Summary
CredentialInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 RichTextInfo getDesc()
          Description of the credential.
 Date getEffectiveDate()
          Date and time that this credential value became effective.
 Date getExpirationDate()
          Date and time that this credential value expires.
 String getId()
          Unique identifier for a credential value.
 String getName()
          Name of the credential.
 String getType()
          Unique identifier for a credential type.
 String getValue()
          Value of the credential.
 void setAttributes(Map<String,String> attributes)
           
 void setDesc(RichTextInfo desc)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setId(String id)
           
 void setName(String name)
           
 void setType(String type)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

private String name

desc

private RichTextInfo desc

value

private String value

effectiveDate

private Date effectiveDate

expirationDate

private Date expirationDate

attributes

private Map<String,String> attributes

type

private String type

id

private String id
Constructor Detail

CredentialInfo

public CredentialInfo()
Method Detail

getName

public String getName()
Name of the credential.


setName

public void setName(String name)

getDesc

public RichTextInfo getDesc()
Description of the credential.


setDesc

public void setDesc(RichTextInfo desc)

getValue

public String getValue()
Value of the credential.


setValue

public void setValue(String value)

getEffectiveDate

public Date getEffectiveDate()
Date and time that this credential value became effective. This is a similar concept to the effective date on enumerated values. When an expiration date has been specified, this field must be less than or equal to the expiration date.


setEffectiveDate

public void setEffectiveDate(Date effectiveDate)

getExpirationDate

public Date getExpirationDate()
Date and time that this credential value expires. This is a similar concept to the expiration date on enumerated values. If specified, this should be greater than or equal to the effective date. If this field is not specified, then no expiration date has been currently defined and should automatically be considered greater than the effective date.


setExpirationDate

public void setExpirationDate(Date expirationDate)

getAttributes

public Map<String,String> getAttributes()
List of key/value pairs, typically used for dynamic attributes.

Specified by:
getAttributes in interface HasAttributes

setAttributes

public void setAttributes(Map<String,String> attributes)
Specified by:
setAttributes in interface HasAttributes

getType

public String getType()
Unique identifier for a credential type.


setType

public void setType(String type)

getId

public String getId()
Unique identifier for a credential value.

Specified by:
getId in interface Idable

setId

public void setId(String id)
Specified by:
setId in interface Idable


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.