public class LinearNorm extends PMMLObject implements com.sun.xml.bind.Locatable, HasExtensions
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"/>
</sequence>
<attribute name="orig" use="required" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
<attribute name="norm" use="required" type="{http://www.dmg.org/PMML-4_1}NUMBER" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Extension> |
extensions |
protected Locator |
locator |
protected double |
norm |
protected double |
orig |
| Constructor and Description |
|---|
LinearNorm()
Deprecated.
|
LinearNorm(double orig,
double norm) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
double |
getNorm()
Gets the value of the norm property.
|
double |
getOrig()
Gets the value of the orig property.
|
void |
setNorm(double value)
Sets the value of the norm property.
|
void |
setOrig(double value)
Sets the value of the orig property.
|
void |
setSourceLocation(Locator newLocator) |
Locator |
sourceLocation() |
LinearNorm |
withExtensions(Collection<Extension> values) |
LinearNorm |
withExtensions(Extension... values) |
LinearNorm |
withNorm(double value) |
LinearNorm |
withOrig(double value) |
protected double orig
protected double norm
protected Locator locator
@Deprecated public LinearNorm()
public LinearNorm(double orig,
double norm)
public List<Extension> getExtensions()
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
getExtensions in interface HasExtensionspublic double getOrig()
public void setOrig(double value)
public double getNorm()
public void setNorm(double value)
public LinearNorm withExtensions(Extension... values)
public LinearNorm withExtensions(Collection<Extension> values)
public LinearNorm withOrig(double value)
public LinearNorm withNorm(double value)
public Locator sourceLocation()
sourceLocation in interface com.sun.xml.bind.LocatablesourceLocation in class PMMLObjectpublic void setSourceLocation(Locator newLocator)
setSourceLocation in class PMMLObjectpublic VisitorAction accept(Visitor visitor)
Copyright © 2014 University of Tartu. All Rights Reserved.