Class Author
java.lang.Object
cz.metacentrum.perun.core.api.PerunBean
cz.metacentrum.perun.cabinet.model.Author
- All Implemented Interfaces:
Serializable
,Comparable<PerunBean>
Class representing author. Author it's not stored in cabinet DB. It's identified by his userId (~id) and always
manually created from User.
Other author's params are optional, therefore can be null or empty when not requested by original SQL query.
E.g. Authors used inside PublicationForGUI object usually contains only base User's params like name. But authors used when "listing all of them" contains also their logins, all authorships etc.
- Author:
- Jiri Harazim invalid input: '<'harazim@mail.muni.cz>, Pavel Zlamal invalid input: '<'256627@mail.muni.cz>
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
void
setAttributes
(List<Attribute> attributes) void
setAuthorships
(List<Authorship> authorships) void
setFirstName
(String firstName) void
setLastName
(String lastName) void
setMiddleName
(String middleName) void
setTitleAfter
(String titleAfter) void
setTitleBefore
(String titleBefore) toString()
Methods inherited from class cz.metacentrum.perun.core.api.PerunBean
compareTo, getBeanName, getId, serializeToString, setId
-
Constructor Details
-
Author
public Author() -
Author
-
-
Method Details
-
equals
-
getAttributes
-
setAttributes
-
getAuthorships
-
setAuthorships
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getMiddleName
-
setMiddleName
-
getTitleAfter
-
setTitleAfter
-
getTitleBefore
-
setTitleBefore
-
hashCode
public int hashCode() -
toString
-