/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
public interface MerlinMXBean {
int getPInt();
void setPInt(int x);
int opPInt(int x, int y);
long getPLong();
void setPLong(long x);
long opPLong(long x, long y);
short getPShort();
void setPShort(short x);
short opPShort(short x, short y);
byte getPByte();
void setPByte(byte x);
byte opPByte(byte x, byte y);
char getPChar();
void setPChar(char x);
char opPChar(char x, char y);
float getPFloat();
void setPFloat(float x);
float opPFloat(float x, float y);
double getPDouble();
void setPDouble(double x);
double opPDouble(double x, double y);
boolean PBoolean = true;
boolean getPBoolean();
void setPBoolean(boolean x);
boolean opPBoolean(boolean x, boolean y);
int[] getPIntA();
void setPIntA(int[] x);
int[] opPIntA(int[] x, int[] y);
int[][] getPInt2D();
void setPInt2D(int[][] x);
int[][] opPInt2D(int[][] x, int[][] y);
int[] NoInts = {};
int[] getNoInts();
void setNoInts(int[] x);
int[] opNoInts(int[] x, int[] y);
GetSetBean.class.getName(),
new OpenType[] {
});
public boolean isWhatsit() {
return true;
}
public int[] getInts() {
return new int[] {1};
}
public String[] getStrings() {
return new String[] {"x"};
}
public GetSetBean getGetSet() {
}
if (!(o instanceof GetterInterface))
return false;
GetterInterface i = (GetterInterface) o;
}
};
GetterInterface.class.getName(),
new String[] {
"ints", "getSet", "strings", "whatsit",
},
new String[] {
"ints", "getSet", "strings", "whatsit",
},
new OpenType[] {
});
/* Testing that we can use a public no-arg constructor plus a setter
* for every getter to reconstruct this object. Note that the
* constructor-guessing logic is no longer valid for this class,
* so if we can reconstruct it it must be because of the setters.
*/
public static class GetSetBean {
public GetSetBean() {
}
this.stringArray = stringArray;
}
public static GetSetBean
return b;
}
public int getInt() {
return Int;
}
return this.string;
}
return this.stringArray;
}
public void setInt(int x) {
this.Int = x;
}
}
this.stringArray = stringArray;
}
if (!(o instanceof GetSetBean))
return false;
GetSetBean b = (GetSetBean) o;
}
int Int;
}
public static interface GetterInterface {
public int[] getInts();
public boolean isWhatsit();
// We uselessly mention the public methods inherited from Object because
// they should not prevent the interface from being translatable.
// We could consider encoding the result of hashCode() and toString()
// on the original object that implements this interface into the
// generated CompositeData and referencing that in the proxy, but
// toString() are mentioned in the interface is a possibility but
// a rather abstruse one.
public int hashCode();
}
public static class ArrayTypeMaker {
try {
} catch (OpenDataException e) {
throw new Error(e);
}
}
try {
} catch (OpenDataException e) {
throw new Error(e);
}
}
}
public static class CompositeTypeMaker {
try {
return new CompositeType(className,
} catch (OpenDataException e) {
throw new Error(e);
}
}
}
public static interface GraphMXBean {
}
}
return nodes;
}
}
public static interface NodeMXBean {
}
}
return name;
}
return graph;
}
}
}
}
throw new IllegalArgumentException(whatsit);
}
try {
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return whatsit;
}
return ((o instanceof ExoticCompositeData) &&
}
static {
try {
type =
ExoticCompositeData.class.getName(),
new String[] {"whatsit"},
new String[] {"whatsit"},
} catch (Exception e) {
throw new RuntimeException(e);
}
}
}
}