/** * Wrapper for SlcValue object */ qx.Class.define("org.argeo.slc.ria.execution.Value", { extend : qx.core.Object, properties : { /** * Name of this Execution Flow */ key : { check : "String", init : "" }, /** * The type of this value, for the moment "primitive" and "ref" are supported */ specType : { check : "String", init : "" }, /** * Subtype, depending on the "type". */ specSubType : { check : "String" }, /** * Whether it is a parameter or not */ parameter : { check : "Boolean" }, /** * Whether it is frozen on the server, i.e. disabled in the form */ frozen : { check : "Boolean" }, /** * Should not be editable nor seeable, thus hidden */ hidden : { check : "Boolean" }, /** * The real value */ value : { nullable : true }, /** * Castor representation of the object */ xmlSpecNode : { apply : "_applyXmlSpecNode" } }, statics : { XPATH_KEY : "@key" }, construct : function(){ this.base(arguments); }, members : { /** * Init the object from an XML representation * @param xmlNode {Node} Castor representation of this object */ _applyXmlSpecNode : function(xmlNode){ this.setKey(org.argeo.ria.util.Element.getSingleNodeText(xmlNode, "@key")); var childs = xmlNode.childNodes; for(var i=0;i