|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.muni.fi.pclis.commons.domain.DomainObject
cz.muni.fi.pclis.domain.learningContracts.ContractAddition
public class ContractAddition
Entity representing addition to some learning contract User: Ľuboš Pecho Date: 9.2.2010 Time: 20:41:44
Field Summary | |
---|---|
private boolean |
accepted
flag if the addition is accepted |
private String |
addition
The addition |
private User |
author
Author of the addition |
Constructor Summary | |
---|---|
ContractAddition()
|
Method Summary | |
---|---|
String |
getAddition()
|
User |
getAuthor()
|
boolean |
isAccepted()
Returns true if the addition is accepted |
void |
setAccepted(boolean accepted)
Sets whether the addition is accepted |
void |
setAddition(String addition)
Sets the addition |
void |
setAuthor(User author)
Sets the author |
Methods inherited from class cz.muni.fi.pclis.commons.domain.DomainObject |
---|
equals, getId, hashCode, setId |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private User author
private String addition
private boolean accepted
Constructor Detail |
---|
public ContractAddition()
Method Detail |
---|
public User getAuthor()
public void setAuthor(User author)
author
- public String getAddition()
public void setAddition(String addition)
addition
- public boolean isAccepted()
public void setAccepted(boolean accepted)
accepted
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |