public class Header extends PMMLObject implements HasExtensions
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}Application" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_2}Timestamp" minOccurs="0"/>
</sequence>
<attribute name="copyright" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Annotation> |
annotations |
protected Application |
application |
protected java.lang.String |
copyright |
protected java.lang.String |
description |
protected java.util.List<Extension> |
extensions |
protected Timestamp |
timestamp |
| Constructor and Description |
|---|
Header() |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
java.util.List<Annotation> |
getAnnotations()
Gets the value of the annotations property.
|
Application |
getApplication()
Gets the value of the application property.
|
java.lang.String |
getCopyright()
Gets the value of the copyright property.
|
java.lang.String |
getDescription()
Gets the value of the description property.
|
java.util.List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
Timestamp |
getTimestamp()
Gets the value of the timestamp property.
|
boolean |
hasAnnotations() |
boolean |
hasExtensions() |
void |
setApplication(Application value)
Sets the value of the application property.
|
void |
setCopyright(java.lang.String value)
Sets the value of the copyright property.
|
void |
setDescription(java.lang.String value)
Sets the value of the description property.
|
void |
setTimestamp(Timestamp value)
Sets the value of the timestamp property.
|
Header |
withAnnotations(Annotation... values) |
Header |
withAnnotations(java.util.Collection<Annotation> values) |
Header |
withApplication(Application value) |
Header |
withCopyright(java.lang.String value) |
Header |
withDescription(java.lang.String value) |
Header |
withExtensions(java.util.Collection<Extension> values) |
Header |
withExtensions(Extension... values) |
Header |
withTimestamp(Timestamp value) |
getLocator, setLocatorprotected java.lang.String copyright
protected java.lang.String description
protected java.util.List<Extension> extensions
protected Application application
protected java.util.List<Annotation> annotations
protected Timestamp timestamp
public java.lang.String getCopyright()
Stringpublic void setCopyright(java.lang.String value)
value - allowed object is
Stringpublic java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic 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 Application getApplication()
Applicationpublic void setApplication(Application value)
value - allowed object is
Applicationpublic java.util.List<Annotation> getAnnotations()
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 annotations property.
For example, to add a new item, do as follows:
getAnnotations().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public Timestamp getTimestamp()
Timestamppublic void setTimestamp(Timestamp value)
value - allowed object is
Timestamppublic Header withCopyright(java.lang.String value)
public Header withDescription(java.lang.String value)
public Header withApplication(Application value)
public Header withAnnotations(Annotation... values)
public Header withAnnotations(java.util.Collection<Annotation> values)
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic boolean hasAnnotations()
public VisitorAction accept(Visitor visitor)
Copyright © 2015 University of Tartu. All Rights Reserved.