public class ArrayClassFactory extends Object implements ClassFactory
ClassFactory
interface to create Arrays of objects. The object descriptions are
created on demand.Constructor and Description |
---|
ArrayClassFactory()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration config)
Configures this factory.
|
boolean |
equals(Object o)
ArrayClassFactories are always equal, there is nothing that could not be equal :)
|
ObjectDescription |
getDescriptionForClass(Class c)
Returns an object description for a class.
|
Iterator |
getRegisteredClasses()
Returns an iterator for the registered classes.
|
ObjectDescription |
getSuperClassObjectDescription(Class d,
ObjectDescription knownSuperClass)
Returns an object description for the super class of a class.
|
int |
hashCode()
Returns a hash code value for the object.
|
public ObjectDescription getDescriptionForClass(Class c)
getDescriptionForClass
in interface ClassFactory
c
- the class.public ObjectDescription getSuperClassObjectDescription(Class d, ObjectDescription knownSuperClass)
getSuperClassObjectDescription
in interface ClassFactory
d
- the class.knownSuperClass
- the last known super class or null.public Iterator getRegisteredClasses()
getRegisteredClasses
in interface ClassFactory
public void configure(Configuration config)
configure
in interface ClassFactory
config
- the configuration, never nullpublic boolean equals(Object o)
equals
in interface ClassFactory
equals
in class Object
o
- the other object.public int hashCode()
java.util.Hashtable
.hashCode
in interface ClassFactory
hashCode
in class Object
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.