public void register(Location location){
  Integer oldSize=Integer.valueOf(_locationHashTable.size());
  _locationHashTable.put(location.getId(),location);
  int id=Integer.parseInt(location.getId());
  if (id > _id) {
    _id=id;
  }
  setDirtyAndFirePropertyChange(LISTLENGTH_CHANGED_PROPERTY,oldSize,Integer.valueOf(_locationHashTable.size()));
}

public void register ( Location location ) { Integer oldSize = Integer . valueOf ( _locationHashTable . size ( ) ) ; _locationHashTable . put ( location . getId ( ) , location ) ; int id = Integer . parseInt ( location . getId ( ) ) ; if ( id > _id ) { _id = id ; } setDirtyAndFirePropertyChange ( LISTLENGTH_CHANGED_PROPERTY , oldSize , Integer . valueOf ( _locationHashTable . size ( ) ) ) ; }
remember a namedbean object created outside the manager .
