cometa.translator.method
Class SimpleParam

java.lang.Object
  extended by cometa.translator.method.Param
      extended by cometa.translator.method.SimpleParam
All Implemented Interfaces:
java.io.Serializable

public class SimpleParam
extends Param

Java class for simpleParam complex type.

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

 <complexType name="simpleParam">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="default" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="perturbate">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="true"/>
             <enumeration value="false"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="type" use="required">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="string"/>
             <enumeration value="file"/>
             <enumeration value="directory"/>
             <enumeration value="XMLFile"/>
             <enumeration value="int"/>
           </restriction>
         </simpleType>
       </attribute>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.String _default
           
protected  java.lang.String name
           
protected  java.lang.String perturbate
           
protected  java.lang.String type
           
 
Constructor Summary
SimpleParam()
           
 
Method Summary
 java.lang.String getDefault()
          Gets the value of the default property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.String getPerturbate()
          Gets the value of the perturbate property.
 double getRangeFrom()
           
 double getRangeTo()
           
 double getStep()
           
 java.lang.String getType()
          Gets the value of the type property.
 java.lang.String getValue()
           
 boolean isPerturbable()
           
 boolean isPerturbated()
           
 void setDefault(java.lang.String value)
          Sets the value of the default property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setPerturbate(java.lang.String value)
          Sets the value of the perturbate property.
 void setRangeFrom(double rangeFrom)
           
 void setRangeTo(double rangeTo)
           
 void setStep(double step)
           
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setValue(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_default

protected java.lang.String _default

name

protected java.lang.String name

perturbate

protected java.lang.String perturbate

type

protected java.lang.String type
Constructor Detail

SimpleParam

public SimpleParam()
Method Detail

isPerturbated

public boolean isPerturbated()

isPerturbable

public boolean isPerturbable()

getDefault

public java.lang.String getDefault()
Gets the value of the default property.

Returns:
possible object is String

setDefault

public void setDefault(java.lang.String value)
Sets the value of the default property.

Parameters:
value - allowed object is String

getName

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

Specified by:
getName in class Param
Returns:
possible object is String

setName

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

Parameters:
value - allowed object is String

getPerturbate

public java.lang.String getPerturbate()
Gets the value of the perturbate property.

Returns:
possible object is String

setPerturbate

public void setPerturbate(java.lang.String value)
Sets the value of the perturbate property.

Parameters:
value - allowed object is String

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getValue

public java.lang.String getValue()
Overrides:
getValue in class Param

setValue

public void setValue(java.lang.String value)
Overrides:
setValue in class Param

getRangeFrom

public double getRangeFrom()

setRangeFrom

public void setRangeFrom(double rangeFrom)

getRangeTo

public double getRangeTo()

setRangeTo

public void setRangeTo(double rangeTo)

getStep

public double getStep()

setStep

public void setStep(double step)