Class CollectionDataType

    • Field Detail

      • classId

        public static int classId
    • Constructor Detail

      • CollectionDataType

        protected CollectionDataType​(java.lang.String name,
                                     int code,
                                     DataType nestedType)
    • Method Detail

      • getNestedType

        public DataType getNestedType()
      • createByReflection

        protected FieldValue createByReflection​(java.lang.Object arg)
        Description copied from class: DataType
        Creates a field value by reflection
        createByReflection in class DataType
        arg - the value of the newly created field value
        a fully constructed value
      • setNestedType

        public void setNestedType​(DataType nestedType)
        Sets the nested type of this CollectionDataType. WARNING! Do not use! Only to be used by config system!
      • getPrimitiveType

        public PrimitiveDataType getPrimitiveType()
        Description copied from class: DataType
        Returns the primitive datatype associated with this datatype, i.e. the type itself if this is a PrimitiveDataType, the nested type if this is a CollectionDataType or null for all other cases
        getPrimitiveType in class DataType
        primitive data type, or null
      • visitMembers

        public void visitMembers​( visitor)
        visitMembers in class DataType
      • isMultivalue

        public boolean isMultivalue()
        Description copied from class: DataType
        Returns whether this is a multivalue type, i.e either a CollectionDataType or a MapDataType
        isMultivalue in class DataType