public class Sequence extends PMMLObject implements HasExtensions, HasId
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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<PMMLObject> |
content |
protected java.util.List<Extension> |
extensions |
protected java.lang.String |
id |
protected java.lang.Integer |
numberOfSets |
protected java.lang.Integer |
occurrence |
protected SetReference |
setReference |
protected java.lang.Double |
support |
protected Time |
time |
| Constructor and Description |
|---|
Sequence() |
Sequence(java.lang.String id,
SetReference setReference) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<PMMLObject> |
getContent()
Gets the value of the content property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
java.lang.String |
getId()
Gets the value of the id property.
|
java.lang.Integer |
getNumberOfSets()
Gets the value of the numberOfSets property.
|
java.lang.Integer |
getOccurrence()
Gets the value of the occurrence property.
|
SetReference |
getSetReference()
Gets the value of the setReference property.
|
java.lang.Double |
getSupport()
Gets the value of the support property.
|
Time |
getTime()
Gets the value of the time property.
|
boolean |
hasContent() |
boolean |
hasExtensions() |
void |
setId(java.lang.String value)
Sets the value of the id property.
|
void |
setNumberOfSets(java.lang.Integer value)
Sets the value of the numberOfSets property.
|
void |
setOccurrence(java.lang.Integer value)
Sets the value of the occurrence property.
|
void |
setSetReference(SetReference value)
Sets the value of the setReference property.
|
void |
setSupport(java.lang.Double value)
Sets the value of the support property.
|
void |
setTime(Time value)
Sets the value of the time property.
|
Sequence |
withContent(java.util.Collection<PMMLObject> values) |
Sequence |
withContent(PMMLObject... values) |
Sequence |
withExtensions(java.util.Collection<Extension> values) |
Sequence |
withExtensions(Extension... values) |
Sequence |
withId(java.lang.String value) |
Sequence |
withNumberOfSets(java.lang.Integer value) |
Sequence |
withOccurrence(java.lang.Integer value) |
Sequence |
withSetReference(SetReference value) |
Sequence |
withSupport(java.lang.Double value) |
Sequence |
withTime(Time value) |
getLocator, setLocatorprotected java.lang.String id
protected java.lang.Integer numberOfSets
protected java.lang.Integer occurrence
protected java.lang.Double support
protected java.util.List<Extension> extensions
protected SetReference setReference
protected java.util.List<PMMLObject> content
protected Time time
public Sequence()
public Sequence(java.lang.String id,
SetReference setReference)
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.Integer getNumberOfSets()
Stringpublic void setNumberOfSets(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Integer getOccurrence()
Stringpublic void setOccurrence(java.lang.Integer value)
value - allowed object is
Stringpublic java.lang.Double getSupport()
Doublepublic void setSupport(java.lang.Double value)
value - allowed object is
Doublepublic java.util.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 void setSetReference(SetReference value)
value - allowed object is
SetReferencepublic java.util.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 void setTime(Time value)
value - allowed object is
Timepublic Sequence withId(java.lang.String value)
public Sequence withNumberOfSets(java.lang.Integer value)
public Sequence withOccurrence(java.lang.Integer value)
public Sequence withSupport(java.lang.Double value)
public Sequence withSetReference(SetReference value)
public Sequence withContent(PMMLObject... values)
public Sequence withContent(java.util.Collection<PMMLObject> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasContent()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.