All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlet.xsdparser.xsdelements.enums.XsdEnum Maven / Gradle / Ivy

The newest version!
package org.xmlet.xsdparser.xsdelements.enums;

import java.util.List;

/**
 * A shared interface for all the {@link Enum} classes of this solution.
 * @param  The concrete type of the {@link Enum}.
 */
public interface XsdEnum {

    /**
     * @return The name of the attribute that the {@link Enum} represents.
     */
    String getVariableName();

    /**
     * @return The values that the attribute can have.
     */
    List getSupportedValues();

    /**
     * @return The values that the attribute can have, as members of the {@link Enum} type.
     */
    T[] getValues();

    /**
     * @return The concrete value of the current instance.
     */
    String getValue();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy