/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */
package org.apache.pluto.testsuite.test.jsr286.event;

import java.io.Serializable;

/**
 * A serializable object for use with the event tests.
 */
public class ComposedObject implements Serializable {

    private static final long serialVersionUID = -116040162572322649L;
   
    private String color;

    /* Doesn't really work with JAXB; probably needs some type of annotation */
    //private Point point;
    
    private String point;
    
    public ComposedObject() {
        super();
    }

    public ComposedObject(String color, /*Point*/ String point) {
        super();
        this.point = point;
        this.color = color;
    }

    /*
    public Point getPoint() {
        return point;
    }

    public void setPoint(Point point) {
        this.point = point;
    }
    */
    
    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getPoint() {
        return point;
    }

    public void setPoint(String point) {
        this.point = point;
    }
    
}

 