commgrids.nuggets.wiley.schema
Class Author

java.lang.Object
  extended bycommgrids.nuggets.wiley.schema.Author
All Implemented Interfaces:
java.io.Serializable

public class Author
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Author()
           
 
Method Summary
 Affiliation getAffiliation()
          Returns the value of field 'affiliation'.
 java.lang.String getEmailAddress()
          Returns the value of field 'emailAddress'.
 java.lang.String getFirstName()
          Returns the value of field 'firstName'.
 java.lang.String getLastName()
          Returns the value of field 'lastName'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setAffiliation(Affiliation affiliation)
          Sets the value of field 'affiliation'.
 void setEmailAddress(java.lang.String emailAddress)
          Sets the value of field 'emailAddress'.
 void setFirstName(java.lang.String firstName)
          Sets the value of field 'firstName'.
 void setLastName(java.lang.String lastName)
          Sets the value of field 'lastName'.
static Author unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Author

public Author()
Method Detail

getAffiliation

public Affiliation getAffiliation()
Returns the value of field 'affiliation'.

Returns:
the value of field 'affiliation'.

getEmailAddress

public java.lang.String getEmailAddress()
Returns the value of field 'emailAddress'.

Returns:
the value of field 'emailAddress'.

getFirstName

public java.lang.String getFirstName()
Returns the value of field 'firstName'.

Returns:
the value of field 'firstName'.

getLastName

public java.lang.String getLastName()
Returns the value of field 'lastName'.

Returns:
the value of field 'lastName'.

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.ContentHandler handler)
             throws java.io.IOException,
                    org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
Throws:
java.io.IOException
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

setAffiliation

public void setAffiliation(Affiliation affiliation)
Sets the value of field 'affiliation'.

Parameters:
affiliation - the value of field 'affiliation'.

setEmailAddress

public void setEmailAddress(java.lang.String emailAddress)
Sets the value of field 'emailAddress'.

Parameters:
emailAddress - the value of field 'emailAddress'.

setFirstName

public void setFirstName(java.lang.String firstName)
Sets the value of field 'firstName'.

Parameters:
firstName - the value of field 'firstName'.

setLastName

public void setLastName(java.lang.String lastName)
Sets the value of field 'lastName'.

Parameters:
lastName - the value of field 'lastName'.

unmarshal

public static Author unmarshal(java.io.Reader reader)
                        throws org.exolab.castor.xml.MarshalException,
                               org.exolab.castor.xml.ValidationException
Parameters:
reader -
Throws:
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Throws:
org.exolab.castor.xml.ValidationException