Central Storage of classes
Hello,
we have on some classes an Annotation (TechNamePrefix). The TechName should then be calculated by the TechNamePrefix and the Id (from Database) of the Object.
Now, we will get URLs with parameters like TechNamePrefix+Id (say "var23"), which we would like to determine now from the database. For this to work, we would like to register all TechNamePrefixes in a Map or something, so that we can access the class and the concrete object easily.
Is this possible? If so, how. Are annotations the way to go, or is there a better way?