net.sf.mrl
Interface IngredientDocument.Ingredient

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
IngredientDocumentImpl.IngredientImpl
Enclosing interface:
IngredientDocument

public static interface IngredientDocument.Ingredient
extends org.apache.xmlbeans.XmlObject

An XML ingredient(@http://mrl.sf.net). This is a complex type.


Nested Class Summary
static class IngredientDocument.Ingredient.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 AmountDocument.Amount addNewAmount()
          Appends and returns a new empty "amount" element
 AmountDocument.Amount getAmount()
          Gets the "amount" element
 java.lang.String getName()
          Gets the "name" element
 boolean getOptional()
          Gets the "optional" attribute
 java.lang.String getPostCondition()
          Gets the "post-condition" element
 java.lang.String getPreCondition()
          Gets the "pre-condition" element
 boolean isSetOptional()
          True if has "optional" attribute
 boolean isSetPostCondition()
          True if has "post-condition" element
 boolean isSetPreCondition()
          True if has "pre-condition" element
 void setAmount(AmountDocument.Amount amount)
          Sets the "amount" element
 void setName(java.lang.String name)
          Sets the "name" element
 void setOptional(boolean optional)
          Sets the "optional" attribute
 void setPostCondition(java.lang.String postCondition)
          Sets the "post-condition" element
 void setPreCondition(java.lang.String preCondition)
          Sets the "pre-condition" element
 void unsetOptional()
          Unsets the "optional" attribute
 void unsetPostCondition()
          Unsets the "post-condition" element
 void unsetPreCondition()
          Unsets the "pre-condition" element
 org.apache.xmlbeans.XmlString xgetName()
          Gets (as xml) the "name" element
 org.apache.xmlbeans.XmlBoolean xgetOptional()
          Gets (as xml) the "optional" attribute
 org.apache.xmlbeans.XmlString xgetPostCondition()
          Gets (as xml) the "post-condition" element
 org.apache.xmlbeans.XmlString xgetPreCondition()
          Gets (as xml) the "pre-condition" element
 void xsetName(org.apache.xmlbeans.XmlString name)
          Sets (as xml) the "name" element
 void xsetOptional(org.apache.xmlbeans.XmlBoolean optional)
          Sets (as xml) the "optional" attribute
 void xsetPostCondition(org.apache.xmlbeans.XmlString postCondition)
          Sets (as xml) the "post-condition" element
 void xsetPreCondition(org.apache.xmlbeans.XmlString preCondition)
          Sets (as xml) the "pre-condition" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final org.apache.xmlbeans.SchemaType type
Method Detail

getAmount

public AmountDocument.Amount getAmount()
Gets the "amount" element


setAmount

public void setAmount(AmountDocument.Amount amount)
Sets the "amount" element


addNewAmount

public AmountDocument.Amount addNewAmount()
Appends and returns a new empty "amount" element


getPreCondition

public java.lang.String getPreCondition()
Gets the "pre-condition" element


xgetPreCondition

public org.apache.xmlbeans.XmlString xgetPreCondition()
Gets (as xml) the "pre-condition" element


isSetPreCondition

public boolean isSetPreCondition()
True if has "pre-condition" element


setPreCondition

public void setPreCondition(java.lang.String preCondition)
Sets the "pre-condition" element


xsetPreCondition

public void xsetPreCondition(org.apache.xmlbeans.XmlString preCondition)
Sets (as xml) the "pre-condition" element


unsetPreCondition

public void unsetPreCondition()
Unsets the "pre-condition" element


getName

public java.lang.String getName()
Gets the "name" element


xgetName

public org.apache.xmlbeans.XmlString xgetName()
Gets (as xml) the "name" element


setName

public void setName(java.lang.String name)
Sets the "name" element


xsetName

public void xsetName(org.apache.xmlbeans.XmlString name)
Sets (as xml) the "name" element


getPostCondition

public java.lang.String getPostCondition()
Gets the "post-condition" element


xgetPostCondition

public org.apache.xmlbeans.XmlString xgetPostCondition()
Gets (as xml) the "post-condition" element


isSetPostCondition

public boolean isSetPostCondition()
True if has "post-condition" element


setPostCondition

public void setPostCondition(java.lang.String postCondition)
Sets the "post-condition" element


xsetPostCondition

public void xsetPostCondition(org.apache.xmlbeans.XmlString postCondition)
Sets (as xml) the "post-condition" element


unsetPostCondition

public void unsetPostCondition()
Unsets the "post-condition" element


getOptional

public boolean getOptional()
Gets the "optional" attribute


xgetOptional

public org.apache.xmlbeans.XmlBoolean xgetOptional()
Gets (as xml) the "optional" attribute


isSetOptional

public boolean isSetOptional()
True if has "optional" attribute


setOptional

public void setOptional(boolean optional)
Sets the "optional" attribute


xsetOptional

public void xsetOptional(org.apache.xmlbeans.XmlBoolean optional)
Sets (as xml) the "optional" attribute


unsetOptional

public void unsetOptional()
Unsets the "optional" attribute



Copyright © 2004 Craig S. Cottingham. All Rights Reserved.