/** * Returns the property key with the given name. If automatic type making is enabled, it will make the property key * using the configured default type maker if a key with the given name does not exist. * * @param name name of the property key to return * @return the property key with the given name * @throws IllegalArgumentException if a property key with the given name does not exist or if the * type with the given name is not a property key * @see PropertyKey */ public PropertyKey getPropertyKey(String name);
Метод getPropertyKey всегда возвращает prpertyKey.Как проверить PropertyKey уже существует в базе данных Titan