1/* 2 * Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24/** 25 * Interface TestQueryMBean 26 * MBean used for testing the types wired when using QueryExp. 27 * It is heavily linked to QueryFactory. 28 */ 29public interface TestQueryMBean 30{ 31 /** 32 * Get Att of type boolean 33 */ 34 public boolean getBooleanAtt(); 35 36 /** 37 * Set Att of type boolean 38 */ 39 public void setBooleanAtt(boolean value); 40 41 /** 42 * Get Att of type double 43 */ 44 public double getDoubleAtt(); 45 46 /** 47 * Set Att of type double 48 */ 49 public void setDoubleAtt(double value); 50 51 /** 52 * Get Att of type float 53 */ 54 public float getFloatAtt(); 55 56 /** 57 * Set Att of type float 58 */ 59 public void setFloatAtt(float value); 60 61 /** 62 * Get Att of type int 63 */ 64 public int getIntAtt(); 65 66 /** 67 * Set Att of type int 68 */ 69 public void setIntAtt(int value); 70 71 /** 72 * Get Att of type Integer 73 */ 74 public Integer getIntegerAtt(); 75 76 /** 77 * Set Att of type Integer 78 */ 79 public void setIntegerAtt(Integer value); 80 81 /** 82 * Get Att of type long 83 */ 84 public long getLongAtt(); 85 86 /** 87 * Set Att of type long 88 */ 89 public void setLongAtt(long value); 90 91 /** 92 * Get Att of type String 93 */ 94 public String getStringAtt(); 95 96 /** 97 * Set Att of type String 98 */ 99 public void setStringAtt(String value); 100 101} 102