org.sciplore.resources
Class DocumentPerson
java.lang.Object
org.sciplore.resources.Resource
org.sciplore.resources.DocumentPerson
@Entity
public class DocumentPerson
- extends Resource
Methods inherited from class org.sciplore.resources.Resource |
save |
DOCUMENTPERSON_TYPE_AUTHOR
public static final short DOCUMENTPERSON_TYPE_AUTHOR
- See Also:
- Constant Field Values
DOCUMENTPERSON_TYPE_EDITOR
public static final short DOCUMENTPERSON_TYPE_EDITOR
- See Also:
- Constant Field Values
DocumentPerson
public DocumentPerson()
DocumentPerson
public DocumentPerson(Person p)
DocumentPerson
public DocumentPerson(Person p,
Short type)
DocumentPerson
public DocumentPerson(Person p,
Short type,
Short rank)
getId
public Integer getId()
- Returns:
- the id
setId
public void setId(Integer id)
- Parameters:
id
- the id to set
getDocument
public Document getDocument()
- Returns:
- the document
setDocument
public void setDocument(Document document)
- Parameters:
document
- the document to set
getRank
public Short getRank()
- Returns:
- the rank
setRank
public void setRank(Short rank)
- Parameters:
rank
- the rank to set
getType
public Short getType()
- Returns:
- the type
setType
public void setType(Short type)
- Parameters:
type
- the type to set
getPerson
public Person getPerson()
- Returns:
- the person
setPerson
public void setPerson(Person person)
- Parameters:
person
- the person to set
getValid
public Short getValid()
- Returns:
- the valid
setValid
public void setValid(Short valid)
- Parameters:
valid
- the valid to set
sync
public static DocumentPerson sync(DocumentPerson p)