edu.nrao.sss.model.proposal
Class Author
java.lang.Object
edu.nrao.sss.model.proposal.Author
- All Implemented Interfaces:
- Identifiable, XmlSerializable
public class Author
- extends Object
- implements Identifiable, XmlSerializable
Placeholder for time when we integrate proposal work.
Author
public Author()
getId
public Long getId()
- Specified by:
getId
in interface Identifiable
getProposal
public Proposal getProposal()
setProposal
public void setProposal(Proposal prop)
setDisplayPosition
public void setDisplayPosition(int value)
getDisplayPosition
public int getDisplayPosition()
getAffiliation
public String getAffiliation()
isDomestic
public boolean isDomestic()
getEmail
public String getEmail()
getFirstName
public String getFirstName()
getAuthorId
public String getAuthorId()
getLastName
public String getLastName()
getProfessionalStatus
public ProfessionalStatus getProfessionalStatus()
getTelephone
public String getTelephone()
getGraduationYear
public String getGraduationYear()
isStudentObservingForThesis
public boolean isStudentObservingForThesis()
setAffiliation
public void setAffiliation(String affil)
setDomestic
public void setDomestic(boolean domestics)
setEmail
public void setEmail(String emails)
setFirstName
public void setFirstName(String firstNames)
setAuthorId
public void setAuthorId(String id)
setLastName
public void setLastName(String lastNames)
setProfessionalStatus
public void setProfessionalStatus(ProfessionalStatus professionalStat)
setTelephone
public void setTelephone(String tele)
setGraduationYear
public void setGraduationYear(String yr)
setStudentObservingForThesis
public void setStudentObservingForThesis(boolean b)
setAssignment
public void setAssignment(String assign)
getAssignment
public String getAssignment()
setStipend
public void setStipend(float value)
getStipend
public float getStipend()
setOtherAwards
public void setOtherAwards(String otherAwards)
getOtherAwards
public String getOtherAwards()
isSupportRequester
public boolean isSupportRequester()
setSupportRequester
public void setSupportRequester(boolean b)
isSupported
public boolean isSupported()
setSupported
public void setSupported(boolean b)
equals
public boolean equals(Object otherAuthor)
- Returns true if the otherAuthor is an Author with the same email
address and identifier; returns false otherwise.
- Overrides:
equals
in class Object
- Parameters:
otherAuthor
- an object to compare this Author to.
- Returns:
- true if the otherAuthor is an Author with the same email and
identifier as this Author; false otherwise.
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toXml
public String toXml()
- XXX method stub
- Specified by:
toXml
in interface XmlSerializable
fromXml
public void fromXml(String xml)
- XXX method stub
- Specified by:
fromXml
in interface XmlSerializable
Copyright © 2009. All Rights Reserved.