Package com.googlecode.mjorm

Examples of com.googlecode.mjorm.DiscriminatorType


        clazz.getName()+" does not have an "+Entity.class.getName()+" annotation");
    }

    // parse entity date
    String discriminatorName = entity.discriminatorName();
    DiscriminatorType discriminatorType = entity.discriminatorType();
    SubClass[] subClasses = entity.subClasses();

    // create an object descriptor
    ObjectDescriptor desc = new ObjectDescriptor();
    desc.setType(clazz);
    desc.setDiscriminatorName(discriminatorName);
    desc.setDiscriminatorType(discriminatorType.toString());

    // get BeanInfo
    BeanInfo info = ReflectionUtil.getBeanInfo(clazz);
    Map<Method, java.beans.PropertyDescriptor> methodMap
      = new HashMap<Method, java.beans.PropertyDescriptor>();
View Full Code Here

TOP

Related Classes of com.googlecode.mjorm.DiscriminatorType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.