Example #1
0
        /**
         * Adds a new assessment property
         *
         * @param property
         *            Assessment property to be added
         */

        public void addProperty(AssessmentProperty property, int effectBlock)
        {
            if (effectBlock >= 0 && effectBlock < effects.Count)
            {
                effects[effectBlock].getAssessmentProperties().Add(property);
            }
        }
        public object Clone()
        {
            AssessmentProperty ap = (AssessmentProperty)this.MemberwiseClone();

            ap.id      = (id != null ? id : null);
            ap.value   = (value != null ? value : null);
            ap.varName = (varName != null ? varName : null);
            return(ap);
        }
        /**
         * Adds a new assessment property
         *
         * @param property
         *            Assessment property to be added
         */

        public virtual void addProperty(AssessmentProperty property)
        {
            effect.getAssessmentProperties().Add(property);
        }
Example #4
0
        /**
         * Adds a new assessment property
         *
         * @param property
         *            Assessment property to be added
         */

        public override void addProperty(AssessmentProperty property)
        {
            addProperty(property, effectIndex);
        }
Example #5
0
 /**
  * Adds a new assessment property
  *
  * @param property
  *            Assessment property to be added
  */
 public void addProperty(AssessmentProperty property)
 {
     properties.Add(property);
 }