code: public static <T> T getSingleValuedProperty(AtlasElement element, String propertyName, Class<T> clazz) {
          String actualPropertyName = GraphHelper.encodePropertyKey(propertyName);
  
          if (LOG.isDebugEnabled()) {
              LOG.debug("Reading property {} from {}", actualPropertyName, string(element));
          }
  
          return element.getProperty(actualPropertyName, clazz);
      }
docs: Gets the value of a property that is stored in the graph as a single property value.  If
  a multi-property such as {@link Constants#TRAIT_NAMES_PROPERTY_KEY} or {@link Constants#SUPER_TYPES_PROPERTY_KEY}
  is used, an exception will be thrown.
  
  @param element
  @param propertyName
  @param clazz
  @return