Class Apply

java.lang.Object
weka.core.pmml.jaxbbindings.Apply

public class Apply extends Object

Java class for Apply element declaration.

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

 <element name="Apply">
   <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"/>
           <group ref="{http://www.dmg.org/PMML-4_1}EXPRESSION" maxOccurs="unbounded" minOccurs="0"/>
         </sequence>
         <attribute name="function" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         <attribute name="invalidValueTreatment" type="{http://www.dmg.org/PMML-4_1}INVALID-VALUE-TREATMENT-METHOD" default="returnInvalid" />
         <attribute name="mapMissingTo" type="{http://www.w3.org/2001/XMLSchema}string" />
       </restriction>
     </complexContent>
   </complexType>
 </element>
 
  • Constructor Details

    • Apply

      public Apply()
  • Method Details

    • getExtension

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

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

          getExtension().add(newItem);
       

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

    • getEXPRESSION

      public List<Object> getEXPRESSION()
      Gets the value of the expression 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 expression property.

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

          getEXPRESSION().add(newItem);
       

      Objects of the following type(s) are allowed in the list Apply Discretize NormContinuous MapValues Constant Aggregate FieldRef NormDiscrete

    • getFunction

      public String getFunction()
      Gets the value of the function property.
      Returns:
      possible object is String
    • setFunction

      public void setFunction(String value)
      Sets the value of the function property.
      Parameters:
      value - allowed object is String
    • getInvalidValueTreatment

      public INVALIDVALUETREATMENTMETHOD getInvalidValueTreatment()
      Gets the value of the invalidValueTreatment property.
      Returns:
      possible object is INVALIDVALUETREATMENTMETHOD
    • setInvalidValueTreatment

      public void setInvalidValueTreatment(INVALIDVALUETREATMENTMETHOD value)
      Sets the value of the invalidValueTreatment property.
      Parameters:
      value - allowed object is INVALIDVALUETREATMENTMETHOD
    • getMapMissingTo

      public String getMapMissingTo()
      Gets the value of the mapMissingTo property.
      Returns:
      possible object is String
    • setMapMissingTo

      public void setMapMissingTo(String value)
      Sets the value of the mapMissingTo property.
      Parameters:
      value - allowed object is String