Esempio n. 1
0
        ///
        ///	 <summary> * apply all values of a JDF Node to this </summary>
        ///	 * <param name="node"> the node to apply </param>
        ///
        public virtual void applyNode(JDFNode node)
        {
            NodeIdentifier ni = node == null ? new NodeIdentifier() : node.getIdentifier();

            setIdentifier(ni);
            if (node != null)
            {
                JDFNode.EnumActivation activation = node.getActivation(true);
                if (activation != null)
                {
                    setActivation(EnumActivation.getEnum(activation.getName()));
                }
                VJDFAttributeMap vMap = ni.getPartMapVector();
                setStatus(node.getVectorPartStatus(vMap));
                setStatusDetails(node.getVectorPartStatusDetails(vMap));
            }
        }