Class SectionView
- java.lang.Object
-
- org.gcube.application.geoportalcommon.shared.geoportal.view.SectionView
-
- All Implemented Interfaces:
Serializable,CheckEmpty
public class SectionView extends Object implements Serializable, CheckEmpty
The Class SectionView.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Nov 11, 2022
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SectionView()Instantiates a new section view.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSubDocument(SubDocumentView subDocumentView)Adds the sub document.List<SubDocumentView>getListSubDocuments()Gets the list sub documents.StringgetSectionTitle()Gets the section title.BooleanhasSpatialLayers()Checks for spatial layers.BooleanisEmpty()Checks if is empty.voidsetSectionTitle(String sectionTitle)Sets the section title.StringtoString()To string.
-
-
-
Method Detail
-
isEmpty
public Boolean isEmpty()
Checks if is empty.- Specified by:
isEmptyin interfaceCheckEmpty- Returns:
- true, if is empty
-
hasSpatialLayers
public Boolean hasSpatialLayers()
Checks for spatial layers.- Returns:
- true, if successful
-
getSectionTitle
public String getSectionTitle()
Gets the section title.- Returns:
- the section title
-
addSubDocument
public void addSubDocument(SubDocumentView subDocumentView)
Adds the sub document.- Parameters:
subDocumentView- the sub document view
-
getListSubDocuments
public List<SubDocumentView> getListSubDocuments()
Gets the list sub documents.- Returns:
- the list sub documents
-
setSectionTitle
public void setSectionTitle(String sectionTitle)
Sets the section title.- Parameters:
sectionTitle- the new section title
-
-