Exemplo n.º 1
0
    public List<Attribute> getAttributes() {
      if (atts == null) atts = new ArrayList<Attribute>(2);

      if (pov.getDesc() != null) atts.add(new Attribute("long_name", pov.getDesc()));
      if (pov.getUnits() != null) atts.add(new Attribute("units", pov.getUnits()));
      return atts;
    }
Exemplo n.º 2
0
 public String getUnitsString() {
   return pov.getUnits();
 }