/*
* JBoss, Home of Professional Open Source.
* Copyright 2008, Red Hat Middleware LLC, and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package org.jboss.test.jmx.compliance.standard.support;
/**
* @author <a href="mailto:trevor@protocool.com">Trevor Squires</a>.
*/
public class Torture implements TortureMBean
{
public Torture()
{
}
public Torture(String[][] something)
{
}
Torture(int foo)
{
}
protected Torture(String wibble)
{
this(0d);
}
private Torture(double trouble)
{
}
public String getNiceString()
{
return null;
}
public void setNiceString(String nice)
{
}
public boolean isNiceBoolean()
{
return false;
}
public void setNiceBoolean(boolean nice)
{
}
public void setInt(int foo)
{
}
public void setIntArray(int[] foo)
{
}
public void setNestedIntArray(int[][][] foo)
{
}
public void setInteger(Integer foo)
{
}
public void setIntegerArray(Integer[] foo)
{
}
public void setNestedIntegerArray(Integer[][][] foo)
{
}
public int getMyinteger()
{
return 0;
}
public int[] getMyintegerArray()
{
return new int[0];
}
public int[][][] getMyNestedintegerArray()
{
return new int[0][][];
}
public Integer getMyInteger()
{
return null;
}
public Integer[] getMyIntegerArray()
{
return new Integer[0];
}
public Integer[][][] getMyNestedIntegerArray()
{
return new Integer[0][][];
}
// these should give an isIs right?
public boolean isready()
{
return false;
}
public Boolean getReady()
{
return null;
}
// these should be operations
public boolean ispeachy(int peachy)
{
return false;
}
public Boolean isPeachy(int peachy)
{
return null;
}
public String issuer()
{
return null;
}
public int settlement(String thing)
{
return 0;
}
public void setMulti(String foo, Integer bar)
{
}
public String getResult(String source)
{
return null;
}
public void setNothing()
{
}
public void getNothing()
{
}
// ok, we have an attribute called Something
// and an operation called getSomething...
public void setSomething(String something)
{
}
public void getSomething()
{
}
// ooh yesssss
public String[][] doSomethingCrazy(Object[] args, String[] foo, int[][][] goMental)
{
return new String[0][];
}
}