org.aspsimon.termcomp.entity.xtc
Class Status

java.lang.Object
  extended by org.aspsimon.termcomp.entity.xtc.Status

public class Status
extends java.lang.Object

This tag shows the termination status of this problem, if known. The reason for using sub-elements is that <yes/> can optionally be extended by complexity bound information. Schema fragment(s) for this class:

 <xs:element xmlns:ns="http://dev.aspsimon.org/termcomp" xmlns:xs="http://www.w3.org/2001/XMLSchema" name="status">
   <xs:complexType>
     <xs:choice>
       <xs:element ref="ns:no"/>
       <xs:element ref="ns:maybe"/>
       <xs:element ref="ns:yes"/>
     </xs:choice>
   </xs:complexType>
 </xs:element>
 


Constructor Summary
Status()
           
 
Method Summary
 void clearStatusSelect()
          Clear the choice selection.
 Maybe getMaybe()
          Get the 'maybe' element value.
 No getNo()
          Get the 'no' element value.
 Yes getYes()
          Get the 'yes' element value.
 boolean ifMaybe()
          Check if Maybe is current selection for choice.
 boolean ifNo()
          Check if No is current selection for choice.
 boolean ifYes()
          Check if Yes is current selection for choice.
 void setMaybe(Maybe maybe)
          Set the 'maybe' element value.
 void setNo(No no)
          Set the 'no' element value.
 void setYes(Yes yes)
          Set the 'yes' element value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status()
Method Detail

clearStatusSelect

public void clearStatusSelect()
Clear the choice selection.


ifNo

public boolean ifNo()
Check if No is current selection for choice.

Returns:
true if selection, false if not

getNo

public No getNo()
Get the 'no' element value.

Returns:
value

setNo

public void setNo(No no)
Set the 'no' element value.

Parameters:
no -

ifMaybe

public boolean ifMaybe()
Check if Maybe is current selection for choice.

Returns:
true if selection, false if not

getMaybe

public Maybe getMaybe()
Get the 'maybe' element value.

Returns:
value

setMaybe

public void setMaybe(Maybe maybe)
Set the 'maybe' element value.

Parameters:
maybe -

ifYes

public boolean ifYes()
Check if Yes is current selection for choice.

Returns:
true if selection, false if not

getYes

public Yes getYes()
Get the 'yes' element value.

Returns:
value

setYes

public void setYes(Yes yes)
Set the 'yes' element value.

Parameters:
yes -