Exemplo n.º 1
0
        public virtual JDFElement.EnumXYRelation getPresentHWRelation()
        {
            JDFElement.EnumXYRelation rel = JDFElement.EnumXYRelation.getEnum(getAttribute(AttributeName.PRESENTHWRELATION, null, null));

            if (rel == null)
            {
                return(getAllowedHWRelation());
            }
            return(rel);
        }
Exemplo n.º 2
0
        public virtual JDFElement.EnumXYRelation getPresentXYRelation()
        {
            // return EnumXYRelation.getEnum(getAttribute(
            // AttributeName.ALLOWEDXYRELATION, null,
            // EnumXYRelation.Unknown.getName()));
            JDFElement.EnumXYRelation avail = JDFElement.EnumXYRelation.getEnum(getAttribute(AttributeName.PRESENTXYRELATION, null, null));

            if (avail == null)
            {
                return(getAllowedXYRelation());
            }

            return(avail);
        }