/// <summary>
        /// Creates a ClassificationType.
        /// </summary>
        /// <param name="classificationScheme">The classification scheme.</param>
        /// <param name="classifiedObject">The classified object UUID.</param>
        /// <param name="nodeRepresentation">The node representation.</param>
        /// <param name="slots">The SlotType1 entries in the classification.</param>
        /// <param name="name">The name of the classiciation.</param>
        /// <returns>ClassificationType.</returns>
        internal ClassificationType CreateClassificationType(
            string id,
            string classificationScheme,
            string classifiedObject,
            string nodeRepresentation,
            List <SlotType1> slots,
            InternationalStringType name)
        {
            var classification = new ClassificationType();

            classification.classificationScheme = classificationScheme;
            classification.classifiedObject     = classifiedObject;
            classification.nodeRepresentation   = nodeRepresentation;
            classification.objectType           = XDS_CLASSIFICATION;
            classification.id = id;

            if (slots != null && slots.Count > 0)
            {
                classification.Slot = slots.ToArray();
            }

            if (name != null)
            {
                classification.Name = name;
            }

            return(classification);
        }
        /// <summary>
        /// Creates an InternationalStringType.
        /// </summary>
        /// <param name="stringValue">The string value.</param>
        /// <returns>InternationalStringType.</returns>
        internal InternationalStringType CreateInternationalStringType(string stringValue)
        {
            var stringType = new InternationalStringType();

            stringType.LocalizedString = new LocalizedStringType[] {
                new LocalizedStringType()
                {
                    value = stringValue
                }
            };
            return(stringType);
        }