Class Feature
com.yandex.mapkit.search
java.lang.Object ⇽ Feature
public class Feature
Describes some common feature of organizations.
enumerated (can have multiple values at once, like cuisine types in a cafe) - text (like enumerated but with any strings instead of predefined values)
Nested Classes
class | Feature.FeatureEnumValue |
class | Feature.VariantValue |
class | Feature.FeatureEnumValue |
class | Feature.VariantValue |
Constructors
Feature() | Use constructor with parameters in your code. |
Feature(String id, VariantValue value, String name, String aref) |
Feature() | Use constructor with parameters in your code. |
Feature(String id, VariantValue value, String name, String aref) |
Methods
synchronized String | getAref() | Reference to information source providing given feature (see Attribution) |
synchronized String | getId() | Machine readable feature identifier. |
synchronized String | getName() | Human readable localized representation. |
String | getNativeName() | |
synchronized VariantValue | getValue() | Feature value (depends on feature type). |
void | serialize(Archive archive) |
synchronized String | getAref() | Reference to information source providing given feature (see Attribution) |
synchronized String | getId() | Machine readable feature identifier. |
synchronized String | getName() | Human readable localized representation. |
String | getNativeName() | |
synchronized VariantValue | getValue() | Feature value (depends on feature type). |
void | serialize(Archive archive) |
Constructor Detail
Feature
public Feature ()
Use constructor with parameters in your code.
This one is for serialization only!Feature
public Feature (String id, VariantValue value, String name, String aref)
Method Detail
getAref
public synchronized String getAref ()
Reference to information source providing given feature (see Attribution)
Optional field, can be null.getId
public synchronized String getId ()
Machine readable feature identifier.
getName
public synchronized String getName ()
Human readable localized representation.
Optional field, can be null.getNativeName
public static String getNativeName ()
getValue
public synchronized VariantValue getValue ()
Feature value (depends on feature type).
serialize
public void serialize (Archive archive)