⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 composedobject.java

📁 portal越来越流行了
💻 JAVA
字号:
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;
    }
    
}

 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -