org.jboss.as.console.client.widgets.forms.BeanMetaData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of switchyard-console-as7-core
Show all versions of switchyard-console-as7-core
Bundles the core AS7 console as a GWT module. Includes minor customizations to support extensions.
package org.jboss.as.console.client.widgets.forms;
import java.util.List;
/**
* @author Heiko Braun
* @date 9/23/11
*/
public class BeanMetaData {
private Class beanType;
private AddressBinding address;
private List properties;
public BeanMetaData(Class beanType, AddressBinding address, List properties) {
this.beanType = beanType;
if(null==properties)
throw new IllegalStateException("No meta data available for type "+beanType+
". Make sure its exposed through the BeanFactory.");
this.address = address;
this.properties = properties;
}
public Class getBeanType() {
return beanType;
}
public AddressBinding getAddress() {
return address;
}
public List getProperties() {
return properties;
}
}