public class Extension extends PMMLObject
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>
<any processContents='skip' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="extender" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
Extension() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
Extension |
addContent(Object... content) |
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getExtender()
Gets the value of the extender property.
|
String |
getName()
Gets the value of the name property.
|
String |
getValue()
Gets the value of the value property.
|
boolean |
hasContent() |
Extension |
setExtender(String extender)
Sets the value of the extender property.
|
Extension |
setName(String name)
Sets the value of the name property.
|
Extension |
setValue(String value)
Sets the value of the value property.
|
getLocator, setLocatorpublic String getExtender()
Stringpublic Extension setExtender(String extender)
extender - allowed object is
Stringpublic String getName()
Stringpublic Extension setName(String name)
name - allowed object is
Stringpublic String getValue()
Stringpublic Extension setValue(String value)
value - allowed object is
Stringpublic List<Object> 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
Element
String
Object
public boolean hasContent()
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All Rights Reserved.