Enum PredicateModifier

    • Method Detail

      • values

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

        public static PredicateModifier 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
      • getIRI

        public String getIRI()
        Gets the IRI associated with the enum value.
        Returns:
        The IRI used to represent the enum value, if any (may be null).
      • fromString

        public static PredicateModifier fromString​(String v)
        Parses a string into a predicate modifier.
        Parameters:
        v - The string to parse.
        Returns:
        The corresponding predicate modifier, of null if the provided string does not match any predicate modifier.
      • fromIRI

        public static PredicateModifier fromIRI​(String iri)
        Parses an IRI into the corresponding predicate modifier value.
        Parameters:
        iri - The IRI to parse.
        Returns:
        The corresponding enumeration value, or null if the provided IRI does not match any predicate modifier.