Uses of Class
org.goplanit.userclass.TravellerType
-
Packages that use TravellerType Package Description org.goplanit.converter.idmapping org.goplanit.demands Classes which manage traveler demandsorg.goplanit.userclass Contains the definitions of the user classes (UserClass, TravellerType and Mode) -
-
Uses of TravellerType in org.goplanit.converter.idmapping
Methods in org.goplanit.converter.idmapping that return types with arguments of type TravellerType Modifier and Type Method Description static Function<TravellerType,String>IdMapperFunctionFactory. createTravellerTypeIdMappingFunction(IdMapperType idMapper)create a function that takes a traveller type and generates the appropriate id based on the user configurationFunction<TravellerType,String>DemandsIdMapper. getTravellerTypeIdMapper()get id mapper for traveller typesFunction<TravellerType,String>NetworkIdMapper. getTravellerTypeIdMapper()get id mapper for traveller types -
Uses of TravellerType in org.goplanit.demands
Methods in org.goplanit.demands that return TravellerType Modifier and Type Method Description protected TravellerTypeTravellerTypesFactory. createNew(String name)Create a newly created instance without registering on the containerTravellerTypeTravellerTypes. getByXmlId(String xmlId)Retrieve a TravelerType by its XML IdTravellerTypeTravellerTypesFactory. registerNew(String name)register a new entry on the container and return itMethods in org.goplanit.demands with parameters of type TravellerType Modifier and Type Method Description protected UserClassUserClassesFactory. createNew(String name, Mode mode, TravellerType travelerType)Create a newly created instance without registering on the containerUserClassUserClassesFactory. registerNew(String name, Mode mode, TravellerType travelerType)register a new entry on the container and return itMethod parameters in org.goplanit.demands with type arguments of type TravellerType Modifier and Type Method Description TravellerTypesTravellerTypes. deepCloneWithMapping(BiConsumer<TravellerType,TravellerType> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mapperTravellerTypesTravellerTypes. deepCloneWithMapping(BiConsumer<TravellerType,TravellerType> mapper)Deep clone implementation where the mapping for its internal copies is captured by the provided mappervoidDemands. updateUserClassTravellerTypes(Function<TravellerType,TravellerType> ttToTtMapping, boolean removeMissingMappings)Update the traveller type of all user classes based on the mapping provided (if any)voidDemands. updateUserClassTravellerTypes(Function<TravellerType,TravellerType> ttToTtMapping, boolean removeMissingMappings)Update the traveller type of all user classes based on the mapping provided (if any)Constructor parameters in org.goplanit.demands with type arguments of type TravellerType Constructor Description TravellerTypes(TravellerTypes other, boolean deepCopy, BiConsumer<TravellerType,TravellerType> mapper)Copy constructorTravellerTypes(TravellerTypes other, boolean deepCopy, BiConsumer<TravellerType,TravellerType> mapper)Copy constructor -
Uses of TravellerType in org.goplanit.userclass
Fields in org.goplanit.userclass with type parameters of type TravellerType Modifier and Type Field Description static Class<TravellerType>TravellerType. TRAVELLERTYPE_ID_CLASSid class for generating idsMethods in org.goplanit.userclass that return TravellerType Modifier and Type Method Description TravellerTypeTravellerType. deepClone()An id entity should always support a deep copy, i.e., all "owned" members will be deep copied when a clone of this instance is created via this call.TravellerTypeUserClass. getTravelerType()Get the traveler type of this user classTravellerTypeTravellerType. shallowClone()Create a shallow copy of this entityMethods in org.goplanit.userclass that return types with arguments of type TravellerType Modifier and Type Method Description Class<? extends TravellerType>TravellerType. getIdClass()Each managed id class is expected to generate its ids based on its class signature.Methods in org.goplanit.userclass with parameters of type TravellerType Modifier and Type Method Description voidUserClass. setTravellerType(TravellerType travellerType)Set the traveler type of this user class.Constructors in org.goplanit.userclass with parameters of type TravellerType Constructor Description TravellerType(TravellerType other)Copy constructorUserClass(IdGroupingToken groupId, String name, Mode mode, TravellerType travelerType)Constructor of user class
-