/** * Returns the programmatic name of this constant together with its {@linkplain #identifier() identifier}. */ @Override public String[] names() { return new String[] {name(), identifier}; }
/** * Returns all constants defined by this enumeration type. * Invoking this method is equivalent to invoking {@link #values()}, except that this * method can be invoked on an instance of the {@code ControlledVocabulary} interface * (i.e. the enumeration type does not need to be known at compile-time). * * @return all {@linkplain #values() values} for this enumeration. */ @Override public ParameterDirection[] family() { return values(); } }
/** * Returns the programmatic name of this constant together with its {@linkplain #identifier() identifier}. */ @Override public String[] names() { return new String[] {name(), identifier}; }
/** * Returns all constants defined by this enumeration type. * Invoking this method is equivalent to invoking {@link #values()}, except that this * method can be invoked on an instance of the {@code ControlledVocabulary} interface * (i.e. the enumeration type does not need to be known at compile-time). * * @return all {@linkplain #values() values} for this enumeration. */ @Override public ParameterDirection[] family() { return values(); } }