org.exolab.jmscts.requirements
Class Reference

java.lang.Object
  |
  +--org.exolab.jmscts.requirements.Reference
All Implemented Interfaces:
java.io.Serializable

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

This element specifies a requirement reference.

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

Constructor Summary
Reference()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Note: hashCode() has not been overriden
 java.lang.String getReferenceId()
          Returns the value of field 'referenceId'.
 Section getSection()
          Returns the value of field 'section'.
 java.lang.String getTable()
          Returns the value of field 'table'.
 java.lang.String getUrl()
          Returns the value of field 'url'.
 boolean isValid()
          Method isValid
 void marshal(org.xml.sax.ContentHandler handler)
          Method marshal
 void marshal(java.io.Writer out)
          Method marshal
 void setReferenceId(java.lang.String referenceId)
          Sets the value of field 'referenceId'.
 void setSection(Section section)
          Sets the value of field 'section'.
 void setTable(java.lang.String table)
          Sets the value of field 'table'.
 void setUrl(java.lang.String url)
          Sets the value of field 'url'.
static Reference unmarshal(java.io.Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reference

public Reference()
Method Detail

equals

public boolean equals(java.lang.Object obj)
Note: hashCode() has not been overriden
Overrides:
equals in class java.lang.Object
Parameters:
obj -  

getReferenceId

public java.lang.String getReferenceId()
Returns the value of field 'referenceId'.
Returns:
the value of field 'referenceId'.

getSection

public Section getSection()
Returns the value of field 'section'.
Returns:
the value of field 'section'.

getTable

public java.lang.String getTable()
Returns the value of field 'table'.
Returns:
the value of field 'table'.

getUrl

public java.lang.String getUrl()
Returns the value of field 'url'.
Returns:
the value of field 'url'.

isValid

public boolean isValid()
Method isValid

marshal

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

marshal

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

setReferenceId

public void setReferenceId(java.lang.String referenceId)
Sets the value of field 'referenceId'.
Parameters:
referenceId - the value of field 'referenceId'.

setSection

public void setSection(Section section)
Sets the value of field 'section'.
Parameters:
section - the value of field 'section'.

setTable

public void setTable(java.lang.String table)
Sets the value of field 'table'.
Parameters:
table - the value of field 'table'.

setUrl

public void setUrl(java.lang.String url)
Sets the value of field 'url'.
Parameters:
url - the value of field 'url'.

unmarshal

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

validate

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


Copyright © 2001-2004 JMS CTS Team. All Rights Reserved.