eu.keep.emulatorarchive.emulatorpackage
Class EmulatorPackage.Emulator

Object
  extended by EmulatorPackage.Emulator
Enclosing class:
EmulatorPackage

public static class EmulatorPackage.Emulator
extends Object

Java class for anonymous complex type.

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

 <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>
 


Nested Class Summary
static class EmulatorPackage.Emulator.Executable
          Java class for anonymous complex type.
 
Field Summary
protected  String description
           
protected  EmulatorPackage.Emulator.Executable executable
           
protected  List<String> hardware
           
protected  List<String> imageFormat
           
protected  String languageId
           
protected  String name
           
protected  String userInstructions
           
protected  String version
           
 
Constructor Summary
EmulatorPackage.Emulator()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 EmulatorPackage.Emulator.Executable getExecutable()
          Gets the value of the executable property.
 List<String> getHardware()
          Gets the value of the hardware property.
 List<String> getImageFormat()
          Gets the value of the imageFormat property.
 String getLanguageId()
          Gets the value of the languageId property.
 String getName()
          Gets the value of the name property.
 String getUserInstructions()
          Gets the value of the userInstructions property.
 String getVersion()
          Gets the value of the version property.
 void setDescription(String value)
          Sets the value of the description property.
 void setExecutable(EmulatorPackage.Emulator.Executable value)
          Sets the value of the executable property.
 void setLanguageId(String value)
          Sets the value of the languageId property.
 void setName(String value)
          Sets the value of the name property.
 void setUserInstructions(String value)
          Sets the value of the userInstructions property.
 void setVersion(String value)
          Sets the value of the version 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

name

protected String name

version

protected String version

languageId

protected String languageId

description

protected String description

hardware

protected List<String> hardware

imageFormat

protected List<String> imageFormat

executable

protected EmulatorPackage.Emulator.Executable executable

userInstructions

protected String userInstructions
Constructor Detail

EmulatorPackage.Emulator

public EmulatorPackage.Emulator()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getLanguageId

public String getLanguageId()
Gets the value of the languageId property.

Returns:
possible object is String

setLanguageId

public void setLanguageId(String value)
Sets the value of the languageId property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getHardware

public List<String> getHardware()
Gets the value of the hardware property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the hardware property.

For example, to add a new item, do as follows:

    getHardware().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getImageFormat

public List<String> getImageFormat()
Gets the value of the imageFormat property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the imageFormat property.

For example, to add a new item, do as follows:

    getImageFormat().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getExecutable

public EmulatorPackage.Emulator.Executable getExecutable()
Gets the value of the executable property.

Returns:
possible object is EmulatorPackage.Emulator.Executable

setExecutable

public void setExecutable(EmulatorPackage.Emulator.Executable value)
Sets the value of the executable property.

Parameters:
value - allowed object is EmulatorPackage.Emulator.Executable

getUserInstructions

public String getUserInstructions()
Gets the value of the userInstructions property.

Returns:
possible object is String

setUserInstructions

public void setUserInstructions(String value)
Sets the value of the userInstructions property.

Parameters:
value - allowed object is String

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