/*This code was generated using the UMPLE modeling language!
 Date of generation: 2008/07/29 15:15:39*/
/*This class drives: */

package GIS.core;

import GIS.*;
import GIS.json.*;

public class RegionalFeature extends CurveFeature {
  //Class datatypes

  //Class association variables

  //Registry of our system.
  GISRegistry registry = GISRegistry.getInstance();

  //Constructor
  public RegionalFeature(String aName, Map aMap, FeatureType aFeatureType) {
    super(aName, aMap, aFeatureType);
  }

  public void delete() {
  }

  public boolean areManyEndsNull() {
    return true;
  }

  /***********************************
   * Returns the attribute list along with the  
   * class ID in JSON format.
   ***********************************/
  public JSONObject getAttributes() throws JSONException {
    JSONObject obj = new JSONObject();
    obj.put("CLASS_ID", registry.getKey(this));
    return obj;
  }

}