org.kuali.student.core.proposal.dto
Class ProposalInfo

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

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

Detailed information about a proposal.

See Also:
Serialized Form

Field Summary
private  Map<String,String> attributes
           
private  String detailDesc
           
private  Date effectiveDate
           
private  Date expirationDate
           
private  String id
           
private  MetaInfo metaInfo
           
private  String name
           
private  List<String> proposalReference
           
private  String proposalReferenceType
           
private  List<String> proposerOrg
           
private  List<String> proposerPerson
           
private  String rationale
           
private static long serialVersionUID
           
private  String state
           
private  String type
           
private  String workflowId
           
 
Constructor Summary
ProposalInfo()
           
 
Method Summary
 Map<String,String> getAttributes()
          List of key/value pairs, typically used for dynamic attributes.
 String getDetailDesc()
          Detailed description of the proposed changes.
 Date getEffectiveDate()
          Date and time that this proposal became effective.
 Date getExpirationDate()
          Date and time that this proposal expires.
 String getId()
          Unique identifier for a Proposal.
 MetaInfo getMetaInfo()
          Create and last update info for the structure.
 String getName()
          The name or title of the proposal.
 List<String> getProposalReference()
          List of reference identifiers.
 String getProposalReferenceType()
          Unique identifier for a reference type.
 List<String> getProposerOrg()
          List of organization identifiers.
 List<String> getProposerPerson()
          List of person identifiers.
 String getRationale()
          Brief explanation of the reason for the proposal
 String getState()
          The current status of the proposal.
 String getType()
          Unique identifier for a proposal type.
 String getWorkflowId()
          The workflow document associated with this proposal.
 void setAttributes(Map<String,String> attributes)
           
 void setDetailDesc(String detailDesc)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setId(String id)
           
 void setMetaInfo(MetaInfo metaInfo)
           
 void setName(String name)
           
 void setProposalReference(List<String> proposalReference)
           
 void setProposalReferenceType(String proposalReferenceType)
           
 void setProposerOrg(List<String> proposerOrg)
           
 void setProposerPerson(List<String> proposerPerson)
           
 void setRationale(String rationale)
           
 void setState(String state)
           
 void setType(String type)
           
 void setWorkflowId(String workflowId)
           
 
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

proposerPerson

private List<String> proposerPerson

proposerOrg

private List<String> proposerOrg

proposalReferenceType

private String proposalReferenceType

proposalReference

private List<String> proposalReference

rationale

private String rationale

detailDesc

private String detailDesc

effectiveDate

private Date effectiveDate

expirationDate

private Date expirationDate

workflowId

private String workflowId

attributes

private Map<String,String> attributes

metaInfo

private MetaInfo metaInfo

type

private String type

state

private String state

id

private String id
Constructor Detail

ProposalInfo

public ProposalInfo()
Method Detail

getName

public String getName()
The name or title of the proposal. Any finite sequence of characters with letters, numerals, symbols and punctuation marks. The length can be any natural number between zero or any positive integer.


setName

public void setName(String name)

getProposerPerson

public List<String> getProposerPerson()
List of person identifiers. Structure should contain a proposerPerson OR a proposerOrg.


setProposerPerson

public void setProposerPerson(List<String> proposerPerson)

getProposerOrg

public List<String> getProposerOrg()
List of organization identifiers. Structure should contain a proposerPerson OR a proposerOrg


setProposerOrg

public void setProposerOrg(List<String> proposerOrg)

getProposalReferenceType

public String getProposalReferenceType()
Unique identifier for a reference type.


setProposalReferenceType

public void setProposalReferenceType(String proposalReferenceType)

getProposalReference

public List<String> getProposalReference()
List of reference identifiers.


setProposalReference

public void setProposalReference(List<String> proposalReference)

getRationale

public String getRationale()
Brief explanation of the reason for the proposal


setRationale

public void setRationale(String rationale)

getDetailDesc

public String getDetailDesc()
Detailed description of the proposed changes.


setDetailDesc

public void setDetailDesc(String detailDesc)

getEffectiveDate

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

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 proposal 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 proposal. The values for this field are constrained to those in the proposalState 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 Proposal. This is optional, due to the identifier being set at the time of creation. Once the proposal has been created, this should be seen as required.

Specified by:
getId in interface Idable

setId

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

getWorkflowId

public String getWorkflowId()
The workflow document associated with this proposal.

Returns:

setWorkflowId

public void setWorkflowId(String workflowId)


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