Warning

This feature is available in the Full MapKit SDK version

Package world.mappable.mapkit.search

Class VariantValue

java.lang.Object
    ↳ world.mappable.mapkit.search.Feature.VariantValue

static class VariantValue implements Serializable

A variant combining possible feature values.

Summary

Constructors

Signature and Description

VariantValue()

Methods

Type and modifiers

Method and Description

static VariantValue

fromBooleanValue(@NonNull BooleanValue booleanValue)

static VariantValue

fromTextValue(@NonNull java.util.List<java.lang.String> textValue)

static VariantValue

fromEnumValue(@NonNull java.util.List<FeatureEnumValue> enumValue)

BooleanValue

getBooleanValue()

java.util.List<java.lang.String>

getTextValue()

java.util.List<FeatureEnumValue>

getEnumValue()

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

VariantValue

VariantValue()


Methods

fromBooleanValue

@NonNull
VariantValue fromBooleanValue(@NonNull BooleanValue booleanValue)


fromTextValue

@NonNull
VariantValue fromTextValue(@NonNull java.util.List<java.lang.String> textValue)


fromEnumValue

@NonNull
VariantValue fromEnumValue(@NonNull java.util.List<FeatureEnumValue> enumValue)


getBooleanValue

@Nullable
BooleanValue getBooleanValue()


getTextValue

@Nullable
java.util.List<java.lang.String> getTextValue()


getEnumValue

@Nullable
java.util.List<FeatureEnumValue> getEnumValue()


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)