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

io.protostuff.generator.html.json.enumeration.EnumConstant Maven / Gradle / Ivy

There is a newer version: 3.1.40
Show newest version
package io.protostuff.generator.html.json.enumeration;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import java.util.Map;
import javax.annotation.Nullable;
import org.immutables.value.Value;

/**
 * JSON node representing enum constant.
 *
 * @author Kostiantyn Shchepanovskyi
 */
@Value.Immutable
@JsonSerialize(as = ImmutableEnumConstant.class)
@JsonDeserialize(as = ImmutableEnumConstant.class)
public interface EnumConstant {

    String name();

    @Nullable
    String description();

    int value();

    Map options();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy