edu.nrao.sss.model.proposal
Class Author

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface edu.nrao.sss.util.Identifiable
UNIDENTIFIED
 
Constructor Summary
Author()
           
 
Method Summary
 boolean equals(Object otherAuthor)
          Returns true if the otherAuthor is an Author with the same email address and identifier; returns false otherwise.
 void fromXml(String xml)
          XXX method stub
 String getAffiliation()
           
 String getAssignment()
           
 String getAuthorId()
           
 int getDisplayPosition()
           
 String getEmail()
           
 String getFirstName()
           
 String getGraduationYear()
           
 Long getId()
           
 String getLastName()
           
 String getOtherAwards()
           
 ProfessionalStatus getProfessionalStatus()
           
 Proposal getProposal()
           
 float getStipend()
           
 String getTelephone()
           
 int hashCode()
           
 boolean isDomestic()
           
 boolean isStudentObservingForThesis()
           
 boolean isSupported()
           
 boolean isSupportRequester()
           
 void setAffiliation(String affil)
           
 void setAssignment(String assign)
           
 void setAuthorId(String id)
           
 void setDisplayPosition(int value)
           
 void setDomestic(boolean domestics)
           
 void setEmail(String emails)
           
 void setFirstName(String firstNames)
           
 void setGraduationYear(String yr)
           
 void setLastName(String lastNames)
           
 void setOtherAwards(String otherAwards)
           
 void setProfessionalStatus(ProfessionalStatus professionalStat)
           
 void setProposal(Proposal prop)
           
 void setStipend(float value)
           
 void setStudentObservingForThesis(boolean b)
           
 void setSupported(boolean b)
           
 void setSupportRequester(boolean b)
           
 void setTelephone(String tele)
           
 String toXml()
          XXX method stub
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Author

public Author()
Method Detail

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.