Пример #1
0
  @Override
  protected List<Property> createProperties(Algorithm algorithm) throws Exception {
    List<Property> p = new ArrayList<Property>();

    LiteratureEntry le = LiteratureEntry.getInstance(Reference.encode(getName(algorithm)), "value");
    Property property = new Property("value", le);

    property.setLabel(algorithm.getName());
    property.setClazz(String.class);
    p.add(property);
    return p;
  }