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>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
protected java.lang.String |
extender |
protected java.lang.String |
name |
protected java.lang.String |
value |
| Constructor and Description |
|---|
Extension() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<java.lang.Object> |
getContent()
Gets the value of the content property.
|
java.lang.String |
getExtender()
Gets the value of the extender property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getValue()
Gets the value of the value property.
|
boolean |
hasContent() |
void |
setExtender(java.lang.String value)
Sets the value of the extender property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setValue(java.lang.String value)
Sets the value of the value property.
|
Extension |
withContent(java.util.Collection<java.lang.Object> values) |
Extension |
withContent(java.lang.Object... values) |
Extension |
withExtender(java.lang.String value) |
Extension |
withName(java.lang.String value) |
Extension |
withValue(java.lang.String value) |
getLocator, setLocatorprotected java.lang.String extender
protected java.lang.String name
protected java.lang.String value
protected java.util.List<java.lang.Object> content
public java.lang.String getExtender()
Stringpublic void setExtender(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getValue()
Stringpublic void setValue(java.lang.String value)
value - allowed object is
Stringpublic java.util.List<java.lang.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
public Extension withExtender(java.lang.String value)
public Extension withName(java.lang.String value)
public Extension withValue(java.lang.String value)
public Extension withContent(java.lang.Object... values)
public Extension withContent(java.util.Collection<java.lang.Object> values)
public boolean hasContent()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.