public class ObjectDef extends Object
A representation of a Java object that given a className, constructor arguments, and properties, can be instantiated.
| Constructor and Description | 
|---|
| ObjectDef() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClassName() | 
| List<ConfigMethodDef> | getConfigMethods() | 
| List<Object> | getConstructorArgs() | 
| String | getFactory() | 
| List<Object> | getFactoryArgs() | 
| List<PropertyDef> | getProperties() | 
| boolean | hasConstructorArgs() | 
| boolean | hasFactory() | 
| boolean | hasFactoryArgs() | 
| boolean | hasReferences() | 
| void | setClassName(String className) | 
| void | setConfigMethods(List<ConfigMethodDef> configMethods) | 
| void | setConstructorArgs(List<Object> constructorArgs)Sets the arguments for the constructor and checks for references. | 
| void | setFactory(String factory) | 
| void | setFactoryArgs(List<Object> factoryArgs)Sets factory method arguments and checks for references. | 
| void | setProperties(List<PropertyDef> properties) | 
public String getClassName()
public void setClassName(String className)
public void setConstructorArgs(List<Object> constructorArgs)
Sets the arguments for the constructor and checks for references.
constructorArgs - Constructor argumentspublic boolean hasConstructorArgs()
public boolean hasReferences()
public List<PropertyDef> getProperties()
public void setProperties(List<PropertyDef> properties)
public List<ConfigMethodDef> getConfigMethods()
public void setConfigMethods(List<ConfigMethodDef> configMethods)
public boolean hasFactory()
public boolean hasFactoryArgs()
public String getFactory()
public void setFactory(String factory)
Copyright © 2020 The Apache Software Foundation. All rights reserved.