Package org.geomajas.layer.hibernate.HibernateEntityMapper

Examples of org.geomajas.layer.hibernate.HibernateEntityMapper.HibernateEntity


    // If the first property is the identifier:
    if (properties[0].equals(getFeatureInfo().getIdentifier().getName())) {
      tempFeature = getId(feature);
    } else {
      Entity entity = entityMapper.asEntity(feature);
      HibernateEntity child = (HibernateEntity) entity.getChild(properties[0]);
      tempFeature = child == null ? null : child.getObject();
    }

    // Detect if the first property is a collection (one-to-many):
    if (tempFeature instanceof Collection<?>) {
      Collection<?> features = (Collection<?>) tempFeature;
View Full Code Here

TOP

Related Classes of org.geomajas.layer.hibernate.HibernateEntityMapper.HibernateEntity

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.