public class Piecewise extends MathBase
Java class for Piecewise complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Piecewise"> <complexContent> <extension base="{http://www.w3.org/1998/Math/MathML}MathBase"> <sequence> <element name="piece" type="{http://www.w3.org/1998/Math/MathML}Piece" maxOccurs="unbounded" minOccurs="0"/> <element name="otherwise" type="{http://www.w3.org/1998/Math/MathML}Otherwise" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Otherwise |
otherwise |
protected List<Piece> |
piece |
Constructor and Description |
---|
Piecewise() |
Modifier and Type | Method and Description |
---|---|
Otherwise |
getOtherwise()
Gets the value of the otherwise property.
|
List<Piece> |
getPiece()
Gets the value of the piece property.
|
void |
setOtherwise(Otherwise value)
Sets the value of the otherwise property.
|
public List<Piece> getPiece()
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 piece property.
For example, to add a new item, do as follows:
getPiece().add(newItem);
Objects of the following type(s) are allowed in the list
Piece
public Otherwise getOtherwise()
Otherwise
Copyright © 2018. All rights reserved.