protected override void setJSON(JObject obj, BaseClassIfc host, List <BaseClassIfc> prime)
        {
            base.setJSON(obj, host, prime);
            if (mPredefinedType != IfcAlignmentTypeEnum.NOTDEFINED)
            {
                mJsonObject["PredefinedType"] = mPredefinedType.ToString();
            }
            IfcAlignment2DHorizontal horizontal = Horizontal;

            if (horizontal != null)
            {
                mJsonObject["Horizontal"] = horizontal.getJson(this, prime);
            }
            IfcAlignment2DVertical vertical = Vertical;

            if (vertical != null)
            {
                mJsonObject["Vertical"] = vertical.getJson(this, prime);
            }
            string str = LinearRefMethod;

            if (!string.IsNullOrEmpty(str))
            {
                mJsonObject["LinearRefMethod"] = str;
            }
        }