protected function mapAttributToProperty($xmlEntry, $attributName, $stackEntity)
    {
        switch ($xmlEntry->getName()) {
      case 'date':

                switch ($attributName) {
                    case 'start':
                        return 'startDate';
                break;
                    case 'end':
                        return 'endDate';
                break;
                    default:
                        return $attributName;
                        break;
                }

        break;
            default:

                switch ($attributName) {
                    case 'associationid':
                        return 'id';
                        break;
                    default:
                        return $attributName;
                        break;
                }

                break;
        }
    }