edu::tum::cs::srldb::IdentifierNamer Class Reference

List of all members.

Public Member Functions

String getCountedLongIdentifier (String category, String name)
String getCountedShortIdentifier (String category, String name)
String getIdentifier (String category, String name, boolean shortName, boolean counted)
String getLongIdentifier (String category, String name)
String getShortIdentifier (String category, String name)
 IdentifierNamer (DataDictionary dd)
void resetCounts ()

Protected Member Functions

boolean isAvailable (String context, String id)

Protected Attributes

Map2D< String, String, Integer > counts
Map2D< String, String, String > identifiers
HashSet< String > reservedWords

Detailed Description

helper class to name identifiers such that within one category, each identifier is unique

Author:
jain

Definition at line 16 of file IdentifierNamer.java.


Constructor & Destructor Documentation

edu::tum::cs::srldb::IdentifierNamer::IdentifierNamer ( DataDictionary  dd  )  [inline]

Definition at line 21 of file IdentifierNamer.java.


Member Function Documentation

String edu::tum::cs::srldb::IdentifierNamer::getCountedLongIdentifier ( String  category,
String  name 
) [inline]

Definition at line 55 of file IdentifierNamer.java.

String edu::tum::cs::srldb::IdentifierNamer::getCountedShortIdentifier ( String  category,
String  name 
) [inline]

Definition at line 47 of file IdentifierNamer.java.

String edu::tum::cs::srldb::IdentifierNamer::getIdentifier ( String  category,
String  name,
boolean  shortName,
boolean  counted 
) [inline]

Definition at line 59 of file IdentifierNamer.java.

String edu::tum::cs::srldb::IdentifierNamer::getLongIdentifier ( String  category,
String  name 
) [inline]

Definition at line 51 of file IdentifierNamer.java.

String edu::tum::cs::srldb::IdentifierNamer::getShortIdentifier ( String  category,
String  name 
) [inline]

Definition at line 43 of file IdentifierNamer.java.

boolean edu::tum::cs::srldb::IdentifierNamer::isAvailable ( String  context,
String  id 
) [inline, protected]

Definition at line 34 of file IdentifierNamer.java.

void edu::tum::cs::srldb::IdentifierNamer::resetCounts (  )  [inline]

Definition at line 85 of file IdentifierNamer.java.


Member Data Documentation

Map2D<String, String, Integer> edu::tum::cs::srldb::IdentifierNamer::counts [protected]

Definition at line 18 of file IdentifierNamer.java.

Map2D<String, String, String> edu::tum::cs::srldb::IdentifierNamer::identifiers [protected]

Definition at line 17 of file IdentifierNamer.java.

Definition at line 19 of file IdentifierNamer.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:46 2013