public static int getFacetMarker(OWLFacet facet) {
        switch (facet) {
            case LENGTH:
                return 0;
            case MIN_LENGTH:
                return 1;
            case MAX_LENGTH:
                return 2;
            case PATTERN:
                return 3;
            case MIN_INCLUSIVE:
                return 4;
            case MIN_EXCLUSIVE:
                return 5;
            case MAX_INCLUSIVE:
                return 6;
            case MAX_EXCLUSIVE:
                return 7;
            case TOTAL_DIGITS:
                return 8;
            case FRACTION_DIGITS:
                return 9;
            case LANG_RANGE:
                return 10;
            default:
                throw new RuntimeException("Illegal state.  Case not covered");
        }
    }
public static int getFacetMarker ( OWLFacet facet ) { switch ( facet ) { case LENGTH : return 0 ; case MIN_LENGTH : return 1 ; case MAX_LENGTH : return 2 ; case PATTERN : return 3 ; case MIN_INCLUSIVE : return 4 ; case MIN_EXCLUSIVE : return 5 ; case MAX_INCLUSIVE : return 6 ; case MAX_EXCLUSIVE : return 7 ; case TOTAL_DIGITS : return 8 ; case FRACTION_DIGITS : return 9 ; case LANG_RANGE : return 10 ; default : throw new RuntimeException ( "Illegal state.  Case not covered" ) ; } }
Gets the facet marker for a given facet.
@param facet The facet.  Not {@code null}.
@return The marker for the facet.