org.kuali.student.core.atp.dto
Class DateRangeInfo

java.lang.Object
  extended by org.kuali.student.core.atp.dto.DateRangeInfo
All Implemented Interfaces:
Serializable, HasAttributes, HasTypeState, Idable

public class DateRangeInfo
extends Object
implements Serializable, Idable, HasTypeState, HasAttributes

Information about a date range.

See Also:
Serialized Form

Field Summary
private  String atpId
           
private  Map<String,String> attributes
           
private  RichTextInfo desc
           
private  Date endDate
           
private  String id
           
private  MetaInfo metaInfo
           
private  String name
           
private static long serialVersionUID
           
private  Date startDate
           
private  String state
           
private  String type
           
 
Constructor Summary
DateRangeInfo()
           
 
Method Summary
 String getAtpId()
          Unique identifier for an Academic Time Period (ATP).
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 RichTextInfo getDesc()
          Narrative description of the date range.
 Date getEndDate()
          End date and time for the date range.
 String getId()
          Unique identifier for a date range.
 MetaInfo getMetaInfo()
          Create and last update info for the structure.
 String getName()
          Friendly name of the date range.
 Date getStartDate()
          Start date and time for the date range.
 String getState()
          The current status of the date range.
 String getType()
          Unique identifier for a date range type.
 void setAtpId(String atpId)
           
 void setAttributes(Map<String,String> attributes)
           
 void setDesc(RichTextInfo desc)
           
 void setEndDate(Date endDate)
           
 void setId(String id)
           
 void setMetaInfo(MetaInfo metaInfo)
           
 void setName(String name)
           
 void setStartDate(Date startDate)
           
 void setState(String state)
           
 void setType(String type)
           
 
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

atpId

private String atpId

startDate

private Date startDate

endDate

private Date endDate

attributes

private Map<String,String> attributes

metaInfo

private MetaInfo metaInfo

type

private String type

state

private String state

id

private String id
Constructor Detail

DateRangeInfo

public DateRangeInfo()
Method Detail

getName

public String getName()
Friendly name of the date range.


setName

public void setName(String name)

getDesc

public RichTextInfo getDesc()
Narrative description of the date range.


setDesc

public void setDesc(RichTextInfo desc)

getAtpId

public String getAtpId()
Unique identifier for an Academic Time Period (ATP).


setAtpId

public void setAtpId(String atpId)

getStartDate

public Date getStartDate()
Start date and time for the date range. This must be less than or equal to the end date of this range.


setStartDate

public void setStartDate(Date startDate)

getEndDate

public Date getEndDate()
End date and time for the date range. This must be greater than or equal to the start date of this range.


setEndDate

public void setEndDate(Date endDate)

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

getMetaInfo

public MetaInfo getMetaInfo()
Create and last update info for the structure. This is optional and treated as read only since the data is set by the internals of the service during maintenance operations.


setMetaInfo

public void setMetaInfo(MetaInfo metaInfo)

getType

public String getType()
Unique identifier for a date range type.

Specified by:
getType in interface HasTypeState

setType

public void setType(String type)
Specified by:
setType in interface HasTypeState

getState

public String getState()
The current status of the date range. The values for this field are constrained to those in the dateRangeState enumeration. A separate setup operation does not exist for retrieval of the meta data around this value.

Specified by:
getState in interface HasTypeState

setState

public void setState(String state)
Specified by:
setState in interface HasTypeState

getId

public String getId()
Unique identifier for a date range.

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.