Enum RelationType

    • Enum Constant Detail

      • FEATURES

        public static final RelationType FEATURES
        Link features with other features
      • SIMPLE_ATTRIBUTES

        public static final RelationType SIMPLE_ATTRIBUTES
        Relate sets of tabular text or numeric data
      • MEDIA

        public static final RelationType MEDIA
        Relate features or attributes to multimedia files such as pictures and videos
      • ATTRIBUTES

        public static final RelationType ATTRIBUTES
        Relate features or attributes with attributes
        Since:
        3.2.0
      • TILES

        public static final RelationType TILES
        Relate features or attributes with tiles
        Since:
        3.2.0
    • Method Detail

      • values

        public static RelationType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RelationType c : RelationType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RelationType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Get the name
        Returns:
        name
      • getDataType

        public String getDataType()
        Get the contents data type
        Returns:
        contents data type
        Since:
        3.1.0
      • fromName

        public static RelationType fromName​(String name)
        Get the Relation Type from the name
        Parameters:
        name - name
        Returns:
        relation type