Class Field
- java.lang.Object
-
- org.bson.Document
-
- org.gcube.application.geoportal.common.model.useCaseDescriptor.Field
-
- All Implemented Interfaces:
Serializable,Map<String,Object>,org.bson.conversions.Bson
public class Field extends org.bson.Document- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHILDRENstatic StringLABELstatic StringMAX_CARDINALITYstatic StringMIN_CARDINALITYstatic StringTYPE
-
Constructor Summary
Constructors Constructor Description Field()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetChildren()StringgetLabel()IntegergetMaxCardinality()IntegergetMinCardinality()StringgetType()BooleanisCollection()BooleanisLeaf()BooleanisMandatory()-
Methods inherited from class org.bson.Document
append, clear, containsKey, containsValue, entrySet, equals, get, get, get, getBoolean, getBoolean, getDate, getDouble, getEmbedded, getEmbedded, getInteger, getInteger, getList, getList, getLong, getObjectId, getString, hashCode, isEmpty, keySet, parse, parse, put, putAll, remove, size, toBsonDocument, toJson, toJson, toJson, toJson, toString, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
TYPE
public static final String TYPE
- See Also:
- Constant Field Values
-
CHILDREN
public static final String CHILDREN
- See Also:
- Constant Field Values
-
MAX_CARDINALITY
public static final String MAX_CARDINALITY
- See Also:
- Constant Field Values
-
MIN_CARDINALITY
public static final String MIN_CARDINALITY
- See Also:
- Constant Field Values
-
LABEL
public static final String LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
getLabel
public String getLabel()
-
getType
public String getType()
-
isLeaf
public Boolean isLeaf()
-
getChildren
public List getChildren()
-
isCollection
public Boolean isCollection()
-
getMaxCardinality
public Integer getMaxCardinality()
-
getMinCardinality
public Integer getMinCardinality()
-
isMandatory
public Boolean isMandatory()
-
-