ilog.rules.vocabulary.model

Class IlrGender

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


    public final class IlrGender
    extends ilog.rules.vocabulary.util.IlrAbstractEnumerator
    Type safe enumeration for genders.
    See Also:
    Serialized Form
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static IlrGender get(int value)
      Gets a gender constant from the specified value.
      static IlrGender get(java.lang.String name)
      Gets a gender constant from the specified 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
    • Method Detail

      • get

        public static IlrGender get(java.lang.String name)
        Gets a gender constant from the specified name.
        Parameters:
        name - The name of the constant.
        Returns:
        The constant defined for this name, or null.
      • get

        public static IlrGender get(int value)
        Gets a gender constant from the specified value.
        Parameters:
        value -
        Returns:
        A gender.

© Copyright IBM Corp. 1987, 2017