Package org.appng.xml.platform
Class Section
- java.lang.Object
-
- org.appng.xml.BaseObject
-
- org.appng.xml.platform.Section
-
- All Implemented Interfaces:
Serializable
public class Section extends BaseObject implements Serializable
Defines a section of aStructure
. A section can contain multipleSectionelement
s.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SectionConfig
config
protected List<Sectionelement>
element
protected Long
executionTime
protected String
hidden
protected String
id
protected Label
title
-
Constructor Summary
Constructors Constructor Description Section()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SectionConfig
getConfig()
Gets the value of the config property.List<Sectionelement>
getElement()
Gets the value of the element property.Long
getExecutionTime()
The time in milliseconds it took to process thisSection
.String
getHidden()
If evaluating totrue
, theSection
will not be visible to the user.String
getId()
The ID of the section, must be unique within the page.Label
getTitle()
Gets the value of the title property.void
setConfig(SectionConfig value)
Sets the value of the config property.void
setExecutionTime(Long value)
Sets the value of the executionTime property.void
setHidden(String value)
Sets the value of the hidden property.void
setId(String value)
Sets the value of the id property.void
setTitle(Label value)
Sets the value of the title property.
-
-
-
Field Detail
-
config
protected SectionConfig config
-
title
protected Label title
-
element
protected List<Sectionelement> element
-
hidden
protected String hidden
-
executionTime
protected Long executionTime
-
id
protected String id
-
-
Method Detail
-
getConfig
public SectionConfig getConfig()
Gets the value of the config property.- Returns:
- possible object is
SectionConfig
-
setConfig
public void setConfig(SectionConfig value)
Sets the value of the config property.- Parameters:
value
- allowed object isSectionConfig
-
getTitle
public Label getTitle()
Gets the value of the title property.- Returns:
- possible object is
Label
-
setTitle
public void setTitle(Label value)
Sets the value of the title property.- Parameters:
value
- allowed object isLabel
-
getElement
public List<Sectionelement> getElement()
Gets the value of the element property.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 element property.For example, to add a new item, do as follows:
getElement().add(newItem);
Objects of the following type(s) are allowed in the list
Sectionelement
-
getHidden
public String getHidden()
If evaluating totrue
, theSection
will not be visible to the user.- Returns:
- possible object is
String
-
setHidden
public void setHidden(String value)
Sets the value of the hidden property.- Parameters:
value
- allowed object isString
-
getExecutionTime
public Long getExecutionTime()
The time in milliseconds it took to process thisSection
.- Returns:
- possible object is
Long
-
setExecutionTime
public void setExecutionTime(Long value)
Sets the value of the executionTime property.- Parameters:
value
- allowed object isLong
-
getId
public String getId()
The ID of the section, must be unique within the page.- Returns:
- possible object is
String
-
-