1/** 2 * Copyright (c) 2008, 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 */ 16package org.yaml.snakeyaml.immutable; 17 18public class Shape { 19 private Color color; 20 private Point point; 21 private Point3d point3d; 22 private Integer id; 23 24 public Point3d getPoint3d() { 25 return point3d; 26 } 27 28 public void setPoint3d(Point3d point3d) { 29 this.point3d = point3d; 30 } 31 32 public void setColor(Color color) { 33 this.color = color; 34 } 35 36 public void setPoint(Point point) { 37 this.point = point; 38 } 39 40 public void setId(Integer id) { 41 this.id = id; 42 } 43 44 public Color getColor() { 45 return color; 46 } 47 48 public Point getPoint() { 49 return point; 50 } 51 52 public Integer getId() { 53 return id; 54 } 55} 56