org.plasma.xml.schema
Class SimpleContent

java.lang.Object
  extended by org.plasma.xml.schema.OpenAttrs
      extended by org.plasma.xml.schema.Annotated
          extended by org.plasma.xml.schema.SimpleContent

public class SimpleContent
extends Annotated

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <extension base="{http://www.w3.org/2001/XMLSchema}annotated">
       <choice>
         <element name="restriction" type="{http://www.w3.org/2001/XMLSchema}simpleRestrictionType"/>
         <element name="extension" type="{http://www.w3.org/2001/XMLSchema}simpleExtensionType"/>
       </choice>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  SimpleExtensionType extension
           
protected  SimpleRestrictionType restriction
           
 
Fields inherited from class org.plasma.xml.schema.Annotated
annotation, id
 
Constructor Summary
SimpleContent()
           
 
Method Summary
 SimpleExtensionType getExtension()
          Gets the value of the extension property.
 SimpleRestrictionType getRestriction()
          Gets the value of the restriction property.
 void setExtension(SimpleExtensionType value)
          Sets the value of the extension property.
 void setRestriction(SimpleRestrictionType value)
          Sets the value of the restriction property.
 
Methods inherited from class org.plasma.xml.schema.Annotated
getAnnotation, getId, setAnnotation, setId
 
Methods inherited from class org.plasma.xml.schema.OpenAttrs
getOtherAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extension

protected SimpleExtensionType extension

restriction

protected SimpleRestrictionType restriction
Constructor Detail

SimpleContent

public SimpleContent()
Method Detail

getExtension

public SimpleExtensionType getExtension()
Gets the value of the extension property.

Returns:
possible object is SimpleExtensionType

setExtension

public void setExtension(SimpleExtensionType value)
Sets the value of the extension property.

Parameters:
value - allowed object is SimpleExtensionType

getRestriction

public SimpleRestrictionType getRestriction()
Gets the value of the restriction property.

Returns:
possible object is SimpleRestrictionType

setRestriction

public void setRestriction(SimpleRestrictionType value)
Sets the value of the restriction property.

Parameters:
value - allowed object is SimpleRestrictionType


Copyright © 2013. All Rights Reserved.