Examples of propertyToRelation()


Examples of helma.objectmodel.db.DbMapping.propertyToRelation()

        // if this is a HopObject, check if the property is defined
        // in the type.properties db-mapping.
        if (obj instanceof INode && ! "hopobject".equalsIgnoreCase(prototypeName)) {
            DbMapping dbm = app.getDbMapping(prototypeName);
            if (dbm != null) {
                Relation rel = dbm.propertyToRelation(propname);
                if (rel != null && (rel.isPrimitive() || rel.isCollection()))
                    return true;
            }
        }
        Scriptable wrapped = Context.toObject(obj, global);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.