eu.keep.emulatorarchive.emulatorpackage
Class EmulatorPackage

Object
  extended by EmulatorPackage

public class EmulatorPackage
extends Object

Java class for emulatorPackage complex type.

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

 <complexType name="emulatorPackage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <all>
         <element name="package">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
                 <attribute name="id" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}int">
                       <minInclusive value="0"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="type" use="required">
                   <simpleType>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                       <enumeration value="zip"/>
                     </restriction>
                   </simpleType>
                 </attribute>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="emulator">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="languageId" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="hardware" maxOccurs="unbounded">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="x86"/>
                         <enumeration value="C64"/>
                         <enumeration value="Amiga"/>
                         <enumeration value="Amstrad"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="imageFormat" maxOccurs="unbounded">
                     <simpleType>
                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                         <enumeration value="FAT12"/>
                         <enumeration value="FAT16"/>
                         <enumeration value="FAT32"/>
                         <enumeration value="D64"/>
                         <enumeration value="T64"/>
                         <enumeration value="X64"/>
                         <enumeration value="ROM"/>
                         <enumeration value="ADF"/>
                         <enumeration value="DSK"/>
                         <enumeration value="CDT"/>
                         <enumeration value="SNA"/>
                       </restriction>
                     </simpleType>
                   </element>
                   <element name="executable">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <all>
                             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="location" type="{http://www.w3.org/2001/XMLSchema}string"/>
                           </all>
                           <attribute name="type" use="required">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 <enumeration value="jar"/>
                                 <enumeration value="exe"/>
                                 <enumeration value="ELF"/>
                               </restriction>
                             </simpleType>
                           </attribute>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="userInstructions" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class EmulatorPackage.Emulator
          Java class for anonymous complex type.
static class EmulatorPackage.Package
          Java class for anonymous complex type.
 
Field Summary
protected  EmulatorPackage.Package _package
           
protected  EmulatorPackage.Emulator emulator
           
 
Constructor Summary
EmulatorPackage()
           
 
Method Summary
 EmulatorPackage.Emulator getEmulator()
          Gets the value of the emulator property.
 EmulatorPackage.Package getPackage()
          Gets the value of the package property.
 void setEmulator(EmulatorPackage.Emulator value)
          Sets the value of the emulator property.
 void setPackage(EmulatorPackage.Package value)
          Sets the value of the package property.
 String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_package

protected EmulatorPackage.Package _package

emulator

protected EmulatorPackage.Emulator emulator
Constructor Detail

EmulatorPackage

public EmulatorPackage()
Method Detail

getPackage

public EmulatorPackage.Package getPackage()
Gets the value of the package property.

Returns:
possible object is EmulatorPackage.Package

setPackage

public void setPackage(EmulatorPackage.Package value)
Sets the value of the package property.

Parameters:
value - allowed object is EmulatorPackage.Package

getEmulator

public EmulatorPackage.Emulator getEmulator()
Gets the value of the emulator property.

Returns:
possible object is EmulatorPackage.Emulator

setEmulator

public void setEmulator(EmulatorPackage.Emulator value)
Sets the value of the emulator property.

Parameters:
value - allowed object is EmulatorPackage.Emulator

toString

public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class Object