ilog.rules.vocabulary.model

Class IlrSyntacticRoleCategory

  • java.lang.Object
    • ilog.rules.vocabulary.util.IlrAbstractEnumerator
      • ilog.rules.vocabulary.model.IlrSyntacticRoleCategory
  • All Implemented Interfaces:
    java.io.Serializable


    public final class IlrSyntacticRoleCategory
    extends ilog.rules.vocabulary.util.IlrAbstractEnumerator
    Type safe enumeration for syntactic role categories.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static IlrSyntacticRoleCategory get(int value)
      Gets the syntactic role category constant from its value.
      static IlrSyntacticRoleCategory get(java.lang.String name)
      Gets the syntactic role category constant from its name.
      • Methods inherited from class ilog.rules.vocabulary.util.IlrAbstractEnumerator

        getName, getValue, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • SUBJECT

        public static final int SUBJECT
        Value for subject syntactic role category.
        See Also:
        Constant Field Values
      • OBJECT

        public static final int OBJECT
        Value for object syntactic role category.
        See Also:
        Constant Field Values
      • UNSPECIFIED

        public static final int UNSPECIFIED
        Value for unspecified syntactic role category.
        See Also:
        Constant Field Values
      • SUBJECT_LITERAL

        public static final IlrSyntacticRoleCategory SUBJECT_LITERAL
        Constant for subject syntactic role category.
      • OBJECT_LITERAL

        public static final IlrSyntacticRoleCategory OBJECT_LITERAL
        Constant for object syntactic role category
      • UNSPECIFIED_LITERAL

        public static final IlrSyntacticRoleCategory UNSPECIFIED_LITERAL
        Constant for unspecified syntactic role category
    • Method Detail

      • get

        public static IlrSyntacticRoleCategory get(java.lang.String name)
        Gets the syntactic role category constant from its name. Note that the case is not relevant.
        Parameters:
        name - The name of the category.
        Returns:
        The syntactic role category.
      • get

        public static IlrSyntacticRoleCategory get(int value)
        Gets the syntactic role category constant from its value. Note that the case is not relevant.
        Parameters:
        value - The value of the category.
        Returns:
        The syntactic role category.

© Copyright IBM Corp. 1987, 2017