org.kuali.student.core.comment.entity
Class Comment

java.lang.Object
  extended by org.kuali.student.common.entity.BaseEntity
      extended by org.kuali.student.common.entity.MetaEntity
          extended by org.kuali.student.core.comment.entity.Comment
All Implemented Interfaces:
AttributeOwner<CommentAttribute>

public class Comment
extends MetaEntity
implements AttributeOwner<CommentAttribute>

This is a description of what this class does - lindholm don't forget to fill this in.

Author:
Kuali Rice Team (kuali-rice@googlegroups.com)

Field Summary
private  List<CommentAttribute> attributes
           
private  CommentRichText commentText
           
private  Date effectiveDate
           
private  Date expirationDate
           
private  Reference reference
           
private static long serialVersionUID
           
private  String state
           
private  CommentType type
           
 
Constructor Summary
Comment()
           
 
Method Summary
 List<CommentAttribute> getAttributes()
           
 CommentRichText getCommentText()
           
 Date getEffectiveDate()
           
 Date getExpirationDate()
           
 Reference getReference()
           
 String getState()
           
 CommentType getType()
           
 void setAttributes(List<CommentAttribute> attributes)
           
 void setCommentText(CommentRichText commentText)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setReference(Reference reference)
           
 void setState(String state)
           
 void setType(CommentType type)
           
 
Methods inherited from class org.kuali.student.common.entity.MetaEntity
getMeta, onPrePersist, onPreUpdate, setMeta
 
Methods inherited from class org.kuali.student.common.entity.BaseEntity
getId, getObjectId, getVersionNumber, prePersist, preUpdate, setId, setObjectId, setVersionNumber
 
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

commentText

private CommentRichText commentText

reference

private Reference reference

effectiveDate

private Date effectiveDate

expirationDate

private Date expirationDate

attributes

private List<CommentAttribute> attributes

type

private CommentType type

state

private String state
Constructor Detail

Comment

public Comment()
Method Detail

getCommentText

public CommentRichText getCommentText()
Returns:
the commentText

setCommentText

public void setCommentText(CommentRichText commentText)
Parameters:
commentText - the commentText to set

setReference

public void setReference(Reference reference)
Parameters:
reference - the reference to set

getReference

public Reference getReference()
Returns:
the reference

getEffectiveDate

public Date getEffectiveDate()
Returns:
the effectiveDate

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)
Parameters:
effectiveDate - the effectiveDate to set

getExpirationDate

public Date getExpirationDate()
Returns:
the expirationDate

setExpirationDate

public void setExpirationDate(Date expirationDate)
Parameters:
expirationDate - the expirationDate to set

getAttributes

public List<CommentAttribute> getAttributes()
Specified by:
getAttributes in interface AttributeOwner<CommentAttribute>

setAttributes

public void setAttributes(List<CommentAttribute> attributes)
Specified by:
setAttributes in interface AttributeOwner<CommentAttribute>

getType

public CommentType getType()
Returns:
the type

setType

public void setType(CommentType type)
Parameters:
type - the type to set

getState

public String getState()
Returns:
the state

setState

public void setState(String state)
Parameters:
state - the state to set


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