View Javadoc

    1   /**
    2    * Copyright (c) 2008-2011, http://www.snakeyaml.org
    3    *
    4    * Licensed under the Apache License, Version 2.0 (the "License");
    5    * you may not use this file except in compliance with the License.
    6    * You may obtain a copy of the License at
    7    *
    8    *     http://www.apache.org/licenses/LICENSE-2.0
    9    *
    10   * Unless required by applicable law or agreed to in writing, software
    11   * distributed under the License is distributed on an "AS IS" BASIS,
    12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    13   * See the License for the specific language governing permissions and
    14   * limitations under the License.
    15   */
    16
    17  package org.yaml.snakeyaml.javabeans;
    18
    19  import java.util.List;
    20  import java.util.Map;
    21
    22  public class House {
    23      private String street;
    24      private int number;
    25      private List<Room> rooms;
    26      private FrontDoor frontDoor;
    27      private Map<String, String> reminders;
    28
    29      public String getStreet() {
    30          return street;
    31      }
    32
    33      public void setStreet(String street) {
    34          this.street = street;
    35      }
    36
    37      public int getNumber() {
    38          return number;
    39      }
    40
    41      public void setNumber(int number) {
    42          this.number = number;
    43      }
    44
    45      public List<Room> getRooms() {
    46          return rooms;
    47      }
    48
    49      public void setRooms(List<Room> rooms) {
    50          this.rooms = rooms;
    51      }
    52
    53      public FrontDoor getFrontDoor() {
    54          return frontDoor;
    55      }
    56
    57      public void setFrontDoor(FrontDoor frontDoor) {
    58          this.frontDoor = frontDoor;
    59      }
    60
    61      public Map<String, String> getReminders() {
    62          return reminders;
    63      }
    64
    65      public void setReminders(Map<String, String> reminders) {
    66          this.reminders = reminders;
    67      }
    68
    69  }