public class XmlAdhocComponent extends Object
Java class for Component complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Component">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="style" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Style" minOccurs="0"/>
<element name="property" type="{http://dynamicreports.sourceforge.net/schema/adhocconfiguration}Property" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="key" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="width" type="{http://www.w3.org/2001/XMLSchema}int" />
<attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
height |
protected String |
key |
protected List<XmlAdhocProperty> |
property |
protected XmlAdhocStyle |
style |
protected Integer |
width |
| Constructor and Description |
|---|
XmlAdhocComponent() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getHeight()
Gets the value of the height property.
|
String |
getKey()
Gets the value of the key property.
|
List<XmlAdhocProperty> |
getProperty()
Gets the value of the property property.
|
XmlAdhocStyle |
getStyle()
Gets the value of the style property.
|
Integer |
getWidth()
Gets the value of the width property.
|
void |
setHeight(Integer value)
Sets the value of the height property.
|
void |
setKey(String value)
Sets the value of the key property.
|
void |
setStyle(XmlAdhocStyle value)
Sets the value of the style property.
|
void |
setWidth(Integer value)
Sets the value of the width property.
|
protected XmlAdhocStyle style
protected List<XmlAdhocProperty> property
protected String key
protected Integer width
protected Integer height
public XmlAdhocStyle getStyle()
XmlAdhocStylepublic void setStyle(XmlAdhocStyle value)
value - allowed object is
XmlAdhocStylepublic List<XmlAdhocProperty> getProperty()
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 property property.
For example, to add a new item, do as follows:
getProperty().add(newItem);
Objects of the following type(s) are allowed in the list
XmlAdhocProperty
public String getKey()
Stringpublic void setKey(String value)
value - allowed object is
Stringpublic Integer getWidth()
Integerpublic void setWidth(Integer value)
value - allowed object is
Integerpublic Integer getHeight()
IntegerCopyright © 2010–2021. All rights reserved.