public class Sequence extends PMMLObject implements HasExtensions, HasId, Indexable<String>
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_2}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}SetReference"/>
<sequence maxOccurs="unbounded" minOccurs="0">
<group ref="{http://www.dmg.org/PMML-4_2}FOLLOW-SET"/>
</sequence>
<element ref="{http://www.dmg.org/PMML-4_2}Time" minOccurs="0"/>
</sequence>
<attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_2}ELEMENT-ID" />
<attribute name="numberOfSets" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="occurrence" type="{http://www.dmg.org/PMML-4_2}INT-NUMBER" />
<attribute name="support" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Sequence() |
Sequence(String id,
SetReference setReference) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Sequence |
addContent(PMMLObject... content) |
Sequence |
addExtensions(Extension... extensions) |
List<PMMLObject> |
getContent()
Gets the value of the content property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
String |
getKey() |
Integer |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
Integer |
getOccurrence()
Gets the value of the occurrence property.
|
SetReference |
getSetReference()
Gets the value of the setReference property.
|
Double |
getSupport()
Gets the value of the support property.
|
Time |
getTime()
Gets the value of the time property.
|
boolean |
hasContent() |
boolean |
hasExtensions() |
Sequence |
setId(String id)
Sets the value of the id property.
|
Sequence |
setNumberOfSets(Integer numberOfSets)
Sets the value of the numberOfSets property.
|
Sequence |
setOccurrence(Integer occurrence)
Sets the value of the occurrence property.
|
Sequence |
setSetReference(SetReference setReference)
Sets the value of the setReference property.
|
Sequence |
setSupport(Double support)
Sets the value of the support property.
|
Sequence |
setTime(Time time)
Sets the value of the time property.
|
getLocator, setLocatorpublic Sequence()
public Sequence(String id, SetReference setReference)
public String getId()
public Integer getNumberOfSets()
Stringpublic Sequence setNumberOfSets(Integer numberOfSets)
numberOfSets - allowed object is
Stringpublic Integer getOccurrence()
Stringpublic Sequence setOccurrence(Integer occurrence)
occurrence - allowed object is
Stringpublic Double getSupport()
Doublepublic Sequence setSupport(Double support)
support - allowed object is
Doublepublic 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 SetReference getSetReference()
SetReferencepublic Sequence setSetReference(SetReference setReference)
setReference - allowed object is
SetReferencepublic List<PMMLObject> getContent()
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 content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
Delimiter
Time
SetReference
public Sequence setTime(Time time)
time - allowed object is
Timepublic String getKey()
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasContent()
public Sequence addContent(PMMLObject... content)
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.