title: The fastest way to fetch PropertyTemplate by symbolic name ising IBM FileNet CE API
body: <p>The only way I know is to iterate through property templates of object store and find the one I need by comparing symbolic name with some String:</p>
  
  <pre><code>String propertySymName = "someName";
  ObjectStore os = Factory.ObjectStore.fetchInstance(...); //assume object store is fetched correctly
  
  String[] properties = {PropertyNames.PROPERTY_TEMPLATES};
  os.fetchProperties(properties);
  PropertyTemplateSet propertyTemplates = os.get_PropertyTemplates();
  Iterator&lt;?&gt; iterator = propertyTemplates.iterator();
  while (iterator.hasNext()) {
      PropertyTemplate propertyTemplate = (PropertyTemplate) iterator.next();
      String[] arg = {PropertyNames.SYMBOLIC_NAME};
      propertyTemplate.refresh(arg);
      if (propertyTemplate.get_SymbolicName().equals(propertySymName)) {
         //do some stuff
      }
  
  }
  </code></pre>
  
  <p>But if object store has a plenty of property templates, it could be rather slow. Any ideas? 
  I'm using CE API 5.1</p>