-
public final class PageModelCreated by vincent on 17-8-3. Copyright @ 2013-2017 Platon AI. All rights reserved
The core concept of Document Data Model, DDM
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classPageModel.Companion
-
Field Summary
Fields Modifier and Type Field Description private final IntegernumGroupsprivate final IntegernumFieldsprivate final IntegernumNonNullFieldsprivate final IntegernumNonBlankFieldsprivate final BooleanisEmptyprivate final BooleanisNotEmptyprivate final List<GFieldGroup>fieldGroups
-
Constructor Summary
Constructors Constructor Description PageModel(List<GFieldGroup> fieldGroups)
-
Method Summary
Modifier and Type Method Description final IntegergetNumGroups()final IntegergetNumFields()final IntegergetNumNonNullFields()final IntegergetNumNonBlankFields()final BooleangetIsEmpty()final BooleangetIsNotEmpty()final List<GFieldGroup>getFieldGroups()final List<GFieldGroup>unbox()final FieldGroupfirstOrNull()final FieldGroupget(Integer i)final Booleanadd(FieldGroup fieldGroup)final Unitadd(Integer index, FieldGroup fieldGroup)final FieldGroupemplace(Integer groupId, String group, Map<String, String> fields)final FieldGroupemplace(Integer groupId, Integer parentId, String group, Map<String, String> fields)final Unitclear()final FieldGroupfindById(Long id)final PageModeldeepCopy()-
-
Constructor Detail
-
PageModel
PageModel(List<GFieldGroup> fieldGroups)
-
-
Method Detail
-
getNumGroups
final Integer getNumGroups()
-
getNumFields
final Integer getNumFields()
-
getNumNonNullFields
final Integer getNumNonNullFields()
-
getNumNonBlankFields
final Integer getNumNonBlankFields()
-
getIsEmpty
final Boolean getIsEmpty()
-
getIsNotEmpty
final Boolean getIsNotEmpty()
-
getFieldGroups
final List<GFieldGroup> getFieldGroups()
-
unbox
final List<GFieldGroup> unbox()
-
firstOrNull
final FieldGroup firstOrNull()
-
get
final FieldGroup get(Integer i)
-
add
final Boolean add(FieldGroup fieldGroup)
-
add
final Unit add(Integer index, FieldGroup fieldGroup)
-
emplace
final FieldGroup emplace(Integer groupId, Integer parentId, String group, Map<String, String> fields)
-
findById
final FieldGroup findById(Long id)
-
-
-
-