Class Field.Type
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class Field.Type implements Parcelable
Field type
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final String
fullName
private final String
normalizedName
private final CommonFieldType
commonType
private final Integer
listIndex
-
Constructor Summary
Constructors Constructor Description Field.Type(String name, String fullName, String normalizedName, CommonFieldType commonType, Integer listIndex)
-
Method Summary
Modifier and Type Method Description final String
getName()
Local field type name scoped to the containing document type final String
getFullName()
Unique global field type name prefixed with the document types of all containing documents final String
getNormalizedName()
Normalized global field type name. final CommonFieldType
getCommonType()
optional common field type. final Integer
getListIndex()
A document contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this child -
-
Constructor Detail
-
Field.Type
Field.Type(String name, String fullName, String normalizedName, CommonFieldType commonType, Integer listIndex)
-
-
Method Detail
-
getFullName
final String getFullName()
Unique global field type name prefixed with the document types of all containing documents
-
getNormalizedName
final String getNormalizedName()
Normalized global field type name. Fields in document types derived from the same base document type in the schema will have the same normalized name.
-
getCommonType
final CommonFieldType getCommonType()
optional common field type. Commonly occurring fields that have the same semantic meaning in different document types will often have a set common type.
-
getListIndex
final Integer getListIndex()
A document contain multiple fields of the same name, the property serves for storing natural order of such fields, null if multiple entries aren't allowed for this child
-
-
-
-