Class PropertyFile.Entry.Type

    • Constructor Summary

      Constructors 
      Constructor Description
      Type()  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String[] getValues()
      This is the only method a subclass needs to implement.
      static int toType​(java.lang.String type)
      Convert string to index.
      • Methods inherited from class java.lang.Object

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

      • Type

        public Type()
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        This is the only method a subclass needs to implement.
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.
      • toType

        public static int toType​(java.lang.String type)
        Convert string to index.
        Parameters:
        type - the string to convert.
        Returns:
        the index.