cz.vity.freerapid.plugins.webclient.utils
Interface Entities.EntityMap

All Known Implementing Classes:
Entities.ArrayEntityMap, Entities.BinaryEntityMap, Entities.HashEntityMap, Entities.LookupEntityMap, Entities.MapIntMap, Entities.PrimitiveEntityMap, Entities.TreeEntityMap
Enclosing class:
Entities

static interface Entities.EntityMap


Method Summary
 void add(String name, int value)
           Add an entry to this entity map.
 String name(int value)
           Returns the name of the entity identified by the specified value.
 int value(String name)
           Returns the value of the entity identified by the specified name.
 

Method Detail

add

void add(String name,
         int value)

Add an entry to this entity map.

Parameters:
name - the entity name
value - the entity value

name

String name(int value)

Returns the name of the entity identified by the specified value.

Parameters:
value - the value to locate
Returns:
entity name associated with the specified value

value

int value(String name)

Returns the value of the entity identified by the specified name.

Parameters:
name - the name to locate
Returns:
entity value associated with the specified name