TrainVagas  0.1
domain.Town Class Reference

Public Member Functions

 Town (String id)
 
String getKey ()
 
void setKey (String id)
 

Static Public Member Functions

static String formatKey (String key_route)
 

Private Attributes

String key
 

Static Private Attributes

static final int MINIMAL_SIZE_OF_ID = 1
 
static final String PATTERN_ID ="[^a-zA-Z]"
 

Constructor & Destructor Documentation

◆ Town()

domain.Town.Town ( String  id)
Here is the call graph for this function:

Member Function Documentation

◆ formatKey()

static String domain.Town.formatKey ( String  key_route)
static

Formata uma string para o padrao do key de casa

Parameters
key_routekey a ser formatado
Returns
string formatada
Here is the caller graph for this function:

◆ getKey()

String domain.Town.getKey ( )
Here is the caller graph for this function:

◆ setKey()

void domain.Town.setKey ( String  id)
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ key

String domain.Town.key
private

Identificador usado nos maps

◆ MINIMAL_SIZE_OF_ID

final int domain.Town.MINIMAL_SIZE_OF_ID = 1
staticprivate

◆ PATTERN_ID

final String domain.Town.PATTERN_ID ="[^a-zA-Z]"
staticprivate

The documentation for this class was generated from the following file: