Package weka.core.pmml.jaxbbindings
Class Con1
- java.lang.Object
-
- weka.core.pmml.jaxbbindings.Con1
-
public class Con1 extends java.lang.ObjectJava class for Con element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="Con"> <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"/> </sequence> <attribute name="from" use="required" type="{http://www.dmg.org/PMML-4_1}NN-NEURON-IDREF" /> <attribute name="weight" use="required" type="{http://www.dmg.org/PMML-4_1}REAL-NUMBER" /> </restriction> </complexContent> </complexType> </element>
-
-
Constructor Summary
Constructors Constructor Description Con1()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Extension>getExtension()Gets the value of the extension property.java.lang.StringgetFrom()Gets the value of the from property.doublegetWeight()Gets the value of the weight property.voidsetFrom(java.lang.String value)Sets the value of the from property.voidsetWeight(double value)Sets the value of the weight property.
-
-
-
Method Detail
-
getExtension
public java.util.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
setmethod 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
-
getFrom
public java.lang.String getFrom()
Gets the value of the from property.- Returns:
- possible object is
String
-
setFrom
public void setFrom(java.lang.String value)
Sets the value of the from property.- Parameters:
value- allowed object isString
-
getWeight
public double getWeight()
Gets the value of the weight property.
-
setWeight
public void setWeight(double value)
Sets the value of the weight property.
-
-