Package org.opentripplanner.analyst.pointset

Examples of org.opentripplanner.analyst.pointset.PropertyMetadata


    return ret;
  }

  public void setLabel(String catId, String label) {
    PropertyMetadata meta = this.propMetadata.get(catId);
    if(meta!=null){
      meta.setLabel( label );
    }   
  }
View Full Code Here


      meta.setLabel( label );
    }   
  }

  public void setStyle(String catId, String styleAttribute, String styleValue) {
    PropertyMetadata meta = propMetadata.get(catId);
   
    if(meta!=null){
      meta.addStyle( styleAttribute, styleValue );
    }
  }
View Full Code Here

   *            the id for the category alone, not the fully-specified
   *            category:property.
   * @return a Category with the given ID.
   */
  public PropertyMetadata getOrCreatePropertyForId(String id) {
    PropertyMetadata property = propMetadata.get(id);
    if (property == null) {
      property = new PropertyMetadata(id);
      propMetadata.put(id, property);
      properties.put(id, new int[capacity]);
    }
    return property;
  }
View Full Code Here

TOP

Related Classes of org.opentripplanner.analyst.pointset.PropertyMetadata

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.