Enum TagObjectType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TagObjectType>

    public enum TagObjectType
    extends java.lang.Enum<TagObjectType>
    This enum represents the core set of object types in the tag system. Some of the types will have different or various implementations, and thus the intention of this enum is not to lead to instantiation of particular objects, but to provide a broad classification/base level info of the object type. since 8.0
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AtomicTag
      A single, "normal" tag.
      Folder
      A folder contains other nodes, in a structure or under a type.
      Node
      A "node" is an entity that may have a value and may have children, usually under a tag.
      Property
      A "property" is a single value underneath a node.
      Provider
      A tag provider that manages tags.
      TagModel
      A tag model is an entity that manages tags below it.
      UdtInstance
      An instance of a UdtType.
      UdtType
      A type definition for a complex tag type.
      Unknown
      This is generally an error state, meaning we don't have the right information about the node type.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static TagObjectType fromString​(java.lang.String value)
      Returns the enum value represented by the string.
      boolean isComplexTag()  
      static TagObjectType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TagObjectType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Unknown

        public static final TagObjectType Unknown
        This is generally an error state, meaning we don't have the right information about the node type.
      • Property

        public static final TagObjectType Property
        A "property" is a single value underneath a node.
      • Node

        public static final TagObjectType Node
        A "node" is an entity that may have a value and may have children, usually under a tag.
      • Folder

        public static final TagObjectType Folder
        A folder contains other nodes, in a structure or under a type.
      • AtomicTag

        public static final TagObjectType AtomicTag
        A single, "normal" tag.
      • UdtInstance

        public static final TagObjectType UdtInstance
        An instance of a UdtType.
      • UdtType

        public static final TagObjectType UdtType
        A type definition for a complex tag type.
      • TagModel

        public static final TagObjectType TagModel
        A tag model is an entity that manages tags below it.
      • Provider

        public static final TagObjectType Provider
        A tag provider that manages tags.
    • Method Detail

      • values

        public static TagObjectType[] 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 (TagObjectType c : TagObjectType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TagObjectType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromString

        public static TagObjectType fromString​(java.lang.String value)
        Returns the enum value represented by the string. Unlike valueOf, this is not case sensitive, and will not return null- instead, Unknown will be returned.
      • isComplexTag

        public boolean isComplexTag()