Uses of Class
org.planit.userclass.UserClass
-
Packages that use UserClass Package Description org.planit.demands Classes which manage traveler demandsorg.planit.input Top-level input classes and interfacesorg.planit.io.demands Classes used to process the Java classes generated from XSD files -
-
Uses of UserClass in org.planit.demands
Methods in org.planit.demands that return UserClass Modifier and Type Method Description UserClass
Demands.UserClasses. createAndRegisterNewUserClass(String name, Mode mode, TravelerType travellerType)
Factory method to create and register a new user class on the demandsUserClass
Demands.UserClasses. get(long id)
Retrieve a user class by its idUserClass
Demands.UserClasses. getFirst()
Collect the first registered user class.UserClass
Demands.UserClasses. getUserClassByXmlId(String xmlId)
Retrieve a UserClass by its XML Id This method is not efficient, since it loops through all the registered user classes in order to find the required entry.Methods in org.planit.demands that return types with arguments of type UserClass Modifier and Type Method Description Iterator<UserClass>
Demands.UserClasses. iterator()
Iterator for user classes (non-sorted)Methods in org.planit.demands with parameters of type UserClass Modifier and Type Method Description protected void
Demands.UserClasses. registerUserClass(UserClass userClass)
Register a user class -
Uses of UserClass in org.planit.input
Fields in org.planit.input with type parameters of type UserClass Modifier and Type Field Description protected Map<String,UserClass>
InputBuilderListener. sourceIdUserClassMap
Map which stores user class by xml IdMethods in org.planit.input that return UserClass Modifier and Type Method Description UserClass
InputBuilderListener. getUserClassBySourceId(String sourceId)
Return user class by external IdMethods in org.planit.input with parameters of type UserClass Modifier and Type Method Description protected boolean
InputBuilderListener. addUserClassToSourceIdMap(String sourceId, UserClass userClass)
Stores a user class by its sourceId -
Uses of UserClass in org.planit.io.demands
Fields in org.planit.io.demands with type parameters of type UserClass Modifier and Type Field Description protected Map<String,UserClass>
PlanitDemandsReaderSettings. xmlIdUserClassMap
Map to store user class by xml IdMethods in org.planit.io.demands that return types with arguments of type UserClass Modifier and Type Method Description protected Map<String,UserClass>
PlanitDemandsReaderSettings. getMapToIndexUserClassByXmlIds()
map to index user classes by xml id when parsingMethod parameters in org.planit.io.demands with type arguments of type UserClass Modifier and Type Method Description void
PlanitDemandsReaderSettings. setMapToIndexUserClassByXmlIds(Map<String,UserClass> xmlIdUserClassMap)
Use provided map to index user classesby xml id when parsing
-