bar.java

来自「在Struts2中的jar包xwork的源代码.版本为2.0.7」· Java 代码 · 共 50 行

JAVA
50
字号
/* * Copyright (c) 2002-2003 by OpenSymphony * All rights reserved. */package com.opensymphony.xwork2.util;import com.opensymphony.xwork2.ActionSupport;/** * @author <a href="mailto:plightbo@cisco.com">Pat Lightbody</a> * @author $Author: mrdon $ * @version $Revision: 1063 $ */public class Bar extends ActionSupport {    Long id;    String title;    int somethingElse;    public void setId(Long id) {        this.id = id;    }    public Long getId() {        return this.id;    }    public void setSomethingElse(int somethingElse) {        this.somethingElse = somethingElse;    }    public int getSomethingElse() {        return somethingElse;    }    public void setTitle(String title) {        this.title = title;    }    public String getTitle() {        return title;    }    public String toString() {        return getTitle() + ":" + getSomethingElse();    }}

⌨️ 快捷键说明

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