View Javadoc

1   /*
2   Copyright 2010 James Pether Sörling Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 
3   	$Id
4   */
5   package org.directdemocracyportal.democracy.service.command;
6   
7   /***
8    * The Class CreatePartyCommand.
9    */
10  public class CreatePartyCommand
11  {
12  
13      /*** The name. */
14      private String name;
15  
16      /*** The country id. */
17      private Long countryId;
18  
19      /***
20       * Gets the name.
21       *
22       * @return the name
23       */
24      public String getName() {
25          return name;
26      }
27  
28      /***
29       * Sets the name.
30       *
31       * @param name the new name
32       */
33      public void setName(String name) {
34          this.name = name;
35      }
36  
37      /***
38       * Gets the country id.
39       *
40       * @return the country id
41       */
42      public Long getCountryId() {
43          return countryId;
44      }
45  
46      /***
47       * Sets the country id.
48       *
49       * @param countryId the new country id
50       */
51      public void setCountryId(Long countryId) {
52          this.countryId = countryId;
53      }
54  }