Path: blob/master/test/jdk/javax/management/query/TestQueryMBean.java
41149 views
/*1* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223/**24* Interface TestQueryMBean25* MBean used for testing the types wired when using QueryExp.26* It is heavily linked to QueryFactory.27*/28public interface TestQueryMBean29{30/**31* Get Att of type boolean32*/33public boolean getBooleanAtt();3435/**36* Set Att of type boolean37*/38public void setBooleanAtt(boolean value);3940/**41* Get Att of type double42*/43public double getDoubleAtt();4445/**46* Set Att of type double47*/48public void setDoubleAtt(double value);4950/**51* Get Att of type float52*/53public float getFloatAtt();5455/**56* Set Att of type float57*/58public void setFloatAtt(float value);5960/**61* Get Att of type int62*/63public int getIntAtt();6465/**66* Set Att of type int67*/68public void setIntAtt(int value);6970/**71* Get Att of type Integer72*/73public Integer getIntegerAtt();7475/**76* Set Att of type Integer77*/78public void setIntegerAtt(Integer value);7980/**81* Get Att of type long82*/83public long getLongAtt();8485/**86* Set Att of type long87*/88public void setLongAtt(long value);8990/**91* Get Att of type String92*/93public String getStringAtt();9495/**96* Set Att of type String97*/98public void setStringAtt(String value);99100}101102103