commgrids.nuggets.wiley.schema
Class Affiliation

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

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

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

Constructor Summary
Affiliation()
           
 
Method Summary
 java.lang.String getCny()
          Returns the value of field 'cny'.
 java.lang.String getContent()
          Returns the value of field 'content'.
 java.lang.String getType()
          Returns the value of field 'type'.
 boolean isValid()
           
 void marshal(org.xml.sax.ContentHandler handler)
           
 void marshal(java.io.Writer out)
           
 void setCny(java.lang.String cny)
          Sets the value of field 'cny'.
 void setContent(java.lang.String content)
          Sets the value of field 'content'.
 void setType(java.lang.String type)
          Sets the value of field 'type'.
static Affiliation 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

Affiliation

public Affiliation()
Method Detail

getCny

public java.lang.String getCny()
Returns the value of field 'cny'.

Returns:
the value of field 'cny'.

getContent

public java.lang.String getContent()
Returns the value of field 'content'. The field 'content' has the following description: internal content storage

Returns:
the value of field 'content'.

getType

public java.lang.String getType()
Returns the value of field 'type'.

Returns:
the value of field 'type'.

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

setCny

public void setCny(java.lang.String cny)
Sets the value of field 'cny'.

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

setContent

public void setContent(java.lang.String content)
Sets the value of field 'content'. The field 'content' has the following description: internal content storage

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

setType

public void setType(java.lang.String type)
Sets the value of field 'type'.

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

unmarshal

public static Affiliation 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