org.kuali.student.r1.lum.lrc.dto
Class CreditInfo

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

public class CreditInfo
extends Object
implements Serializable, Idable, HasAttributes

Detailed information about a credit value.

See Also:
Serialized Form

Constructor Summary
CreditInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 RichTextInfo getDesc()
          Description of this credit.
 Date getEffectiveDate()
          Date and time that this credit value became effective.
 Date getExpirationDate()
          Date and time that this credit value expires.
 String getId()
          The page creditId Structure does not exist.
 String getName()
          Name of this credit.
 String getType()
          Unique identifier for a credit type.
 String getValue()
          Value of the credit.
 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
 

Constructor Detail

CreditInfo

public CreditInfo()
Method Detail

getName

public String getName()
Name of this credit. This may have a direct relation to the combination of value and type fields.


setName

public void setName(String name)

getDesc

public RichTextInfo getDesc()
Description of this credit.


setDesc

public void setDesc(RichTextInfo desc)

getValue

public String getValue()
Value of the credit. This may be numeric based on the type of credit (ex. academic credit hours could be an integer).


setValue

public void setValue(String value)

getEffectiveDate

public Date getEffectiveDate()
Date and time that this credit 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 credit 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 credit type.


setType

public void setType(String type)

getId

public String getId()
The page creditId Structure does not exist.

Specified by:
getId in interface Idable

setId

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


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.