org.dmg.pmml.pmml_4_1.descr
Class Target

java.lang.Object
  extended by org.dmg.pmml.pmml_4_1.descr.Target
All Implemented Interfaces:
Serializable

public class Target
extends Object
implements Serializable

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 ref="{http://www.dmg.org/PMML-4_1}Extension" maxOccurs="unbounded" minOccurs="0"/>
         <element ref="{http://www.dmg.org/PMML-4_1}TargetValue" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="field" use="required" type="{http://www.dmg.org/PMML-4_1}FIELD-NAME" />
       <attribute name="optype" type="{http://www.dmg.org/PMML-4_1}OPTYPE" />
       <attribute name="castInteger">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="round"/>
             <enumeration value="ceiling"/>
             <enumeration value="floor"/>
           </restriction>
         </simpleType>
       </attribute>
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="rescaleConstant" type="{http://www.w3.org/2001/XMLSchema}double" default="0" />
       <attribute name="rescaleFactor" type="{http://www.w3.org/2001/XMLSchema}double" default="1" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String castInteger
           
protected  List<Extension> extensions
           
protected  String field
           
protected  Double max
           
protected  Double min
           
protected  OPTYPE optype
           
protected  Double rescaleConstant
           
protected  Double rescaleFactor
           
protected  List<TargetValue> targetValues
           
 
Constructor Summary
Target()
           
 
Method Summary
 String getCastInteger()
          Gets the value of the castInteger property.
 List<Extension> getExtensions()
          Gets the value of the extensions property.
 String getField()
          Gets the value of the field property.
 Double getMax()
          Gets the value of the max property.
 Double getMin()
          Gets the value of the min property.
 OPTYPE getOptype()
          Gets the value of the optype property.
 double getRescaleConstant()
          Gets the value of the rescaleConstant property.
 double getRescaleFactor()
          Gets the value of the rescaleFactor property.
 List<TargetValue> getTargetValues()
          Gets the value of the targetValues property.
 void setCastInteger(String value)
          Sets the value of the castInteger property.
 void setField(String value)
          Sets the value of the field property.
 void setMax(Double value)
          Sets the value of the max property.
 void setMin(Double value)
          Sets the value of the min property.
 void setOptype(OPTYPE value)
          Sets the value of the optype property.
 void setRescaleConstant(Double value)
          Sets the value of the rescaleConstant property.
 void setRescaleFactor(Double value)
          Sets the value of the rescaleFactor property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extensions

protected List<Extension> extensions

targetValues

protected List<TargetValue> targetValues

field

protected String field

optype

protected OPTYPE optype

castInteger

protected String castInteger

min

protected Double min

max

protected Double max

rescaleConstant

protected Double rescaleConstant

rescaleFactor

protected Double rescaleFactor
Constructor Detail

Target

public Target()
Method Detail

getExtensions

public List<Extension> getExtensions()
Gets the value of the extensions 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 extensions property.

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

    getExtensions().add(newItem);
 

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


getTargetValues

public List<TargetValue> getTargetValues()
Gets the value of the targetValues 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 targetValues property.

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

    getTargetValues().add(newItem);
 

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


getField

public String getField()
Gets the value of the field property.

Returns:
possible object is String

setField

public void setField(String value)
Sets the value of the field property.

Parameters:
value - allowed object is String

getOptype

public OPTYPE getOptype()
Gets the value of the optype property.

Returns:
possible object is OPTYPE

setOptype

public void setOptype(OPTYPE value)
Sets the value of the optype property.

Parameters:
value - allowed object is OPTYPE

getCastInteger

public String getCastInteger()
Gets the value of the castInteger property.

Returns:
possible object is String

setCastInteger

public void setCastInteger(String value)
Sets the value of the castInteger property.

Parameters:
value - allowed object is String

getMin

public Double getMin()
Gets the value of the min property.

Returns:
possible object is Double

setMin

public void setMin(Double value)
Sets the value of the min property.

Parameters:
value - allowed object is Double

getMax

public Double getMax()
Gets the value of the max property.

Returns:
possible object is Double

setMax

public void setMax(Double value)
Sets the value of the max property.

Parameters:
value - allowed object is Double

getRescaleConstant

public double getRescaleConstant()
Gets the value of the rescaleConstant property.

Returns:
possible object is Double

setRescaleConstant

public void setRescaleConstant(Double value)
Sets the value of the rescaleConstant property.

Parameters:
value - allowed object is Double

getRescaleFactor

public double getRescaleFactor()
Gets the value of the rescaleFactor property.

Returns:
possible object is Double

setRescaleFactor

public void setRescaleFactor(Double value)
Sets the value of the rescaleFactor property.

Parameters:
value - allowed object is Double


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.