public class ReflectionBasedCompoundType extends Object implements CompoundType
| Constructor and Description |
|---|
ReflectionBasedCompoundType(Constructor<?> constructor,
ReflectionBasedCompoundTypeProperty[] props) |
| Modifier and Type | Method and Description |
|---|---|
Object |
create(Object[] propertyValues)
Create an instance of the compound type given its property values.
|
Class<?> |
getCompoundType() |
CompoundTypeProperty[] |
getProperties()
Return the properties in the order they appear in the constructor.
|
Class<?> |
getPropertyType(int i) |
String |
toString() |
public ReflectionBasedCompoundType(Constructor<?> constructor, ReflectionBasedCompoundTypeProperty[] props)
public Object create(Object[] propertyValues)
CompoundTypecreate in interface CompoundTypepublic CompoundTypeProperty[] getProperties()
CompoundTypegetProperties in interface CompoundTypepublic Class<?> getPropertyType(int i)
public Class<?> getCompoundType()
Copyright © 2014. All Rights Reserved.