Class StructuredDataType

    • Field Detail

      • classId

        public static final int classId
    • Constructor Detail

      • StructuredDataType

        public StructuredDataType​(java.lang.String name)
      • StructuredDataType

        public StructuredDataType​(int id,
                                  java.lang.String name)
    • Method Detail

      • createId

        protected static int createId​(java.lang.String name)
      • createByReflection

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

        public DataTypeName getDataTypeName()
        Returns the name of this as a DataTypeName
        Returns:
        Return the Documentname of this doumenttype.
      • getField

        public abstract Field getField​(java.lang.String name)
        Gets the field matching a given name.
        Parameters:
        name - The name of a field.
        Returns:
        Returns the matching field, or null if not found.
      • getField

        public abstract Field getField​(int id)
        Gets the field with the specified id.
        Parameters:
        id - the id of the field to return.
        Returns:
        the matching field, or null if not found.
      • getFields

        public abstract java.util.Collection<Field> getFields()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class DataType
      • buildFieldPath

        public FieldPath buildFieldPath​(java.lang.String remainFieldName)
        Description copied from class: DataType
        Creates a field path from the given field path string.
        Overrides:
        buildFieldPath in class DataType
        Parameters:
        remainFieldName - a string containing the field path
        Returns:
        Returns a valid field path, parsed from the string