Example #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);
        }
Example #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);
        }