java.lang.Object
org.progeeks.meta.util.CompositeUtils
- public class CompositeUtils
- extends java.lang.Object
Utilities useful for creating composite meta-objects.
- Version:
- $Revision: 1.6 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeUtils
public CompositeUtils()
createCompositeMetaClass
public static org.progeeks.meta.MetaClass createCompositeMetaClass(org.progeeks.meta.MetaClassRegistry classRegistry,
java.lang.String className,
java.lang.String[] keys,
org.progeeks.meta.MetaClass[] classes)
- Creates a new meta-class as a composite of the
specified meta-classes. Each property is prefixed
with the key associated with the internal meta-class.
createCompositeMetaClass
public static org.progeeks.meta.MetaClass createCompositeMetaClass(java.lang.String className,
java.lang.String[] keys,
org.progeeks.meta.MetaClass[] classes)
- Creates a new meta-class as a composite of the
specified meta-classes. Each property is prefixed
with the key associated with the internal meta-class.
The classes is created in the root class registry.
getSplitName
public static java.lang.String getSplitName(java.lang.String name)
- Attempts to break up a property name up based on letter case and
runs of upper case letters. (This is duplicated from the bean
toolkit and should really be part of a more general utility class.)