Class RelationType

    • Method Detail

      • isDefined

        public static boolean isDefined​(String name)
        Is defined boolean.
        Parameters:
        name - the name
        Returns:
        the boolean
      • make

        public static RelationType make​(String name)
        Makes a new or retrieves an existing RelationType with the given name
        Parameters:
        name - the name of the RelationType
        Returns:
        the RelationType
      • valueOf

        public static RelationType valueOf​(String name)
        Value of relation type.
        Parameters:
        name - the name
        Returns:
        the relation type
      • values

        public static Collection<RelationType> values()
        Returns a collection of all known RelationType in the enumeration.
        Returns:
        the collection of known RelationType
      • type

        public String type()
        Specified by:
        type in interface AnnotatableType
        Returns:
        The type (Annotation, Attribute, Relation)