com.db4o.reflect.core
Class ReflectConstructorSpec
java.lang.Object
com.db4o.reflect.core.ReflectConstructorSpec
public class ReflectConstructorSpec
- extends java.lang.Object
a spec holding a constructor, it's arguments
and information, if the constructor can instantiate
objects.
Method Summary |
com.db4o.foundation.TernaryBool |
canBeInstantiated()
returns true if an instance can be instantiated
with the constructor, otherwise false. |
java.lang.Object |
newInstance()
creates a new instance. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNSPECIFIED_CONSTRUCTOR
public static final ReflectConstructorSpec UNSPECIFIED_CONSTRUCTOR
INVALID_CONSTRUCTOR
public static final ReflectConstructorSpec INVALID_CONSTRUCTOR
ReflectConstructorSpec
public ReflectConstructorSpec(ReflectConstructor constructor,
java.lang.Object[] args)
newInstance
public java.lang.Object newInstance()
- creates a new instance.
- Returns:
- the newly created instance.
canBeInstantiated
public com.db4o.foundation.TernaryBool canBeInstantiated()
- returns true if an instance can be instantiated
with the constructor, otherwise false.
Copyright 2009 Versant Corporation. All rights reserved.