Package org.proforma

Class GradingNode

java.lang.Object
org.proforma.GradingNode

public class GradingNode extends Object
Inner node of the grading scheme hierarchy. There are only two types of inner nodes: the "root" node and "combine" nodes.
  • Field Details

    • title

      protected String title
    • description

      protected String description
    • internalDescription

      protected String internalDescription
    • childRefs

      protected List<ChildRef> childRefs
    • id

      protected String id
    • function

      protected String function
  • Constructor Details

    • GradingNode

      public GradingNode()
  • Method Details

    • getTitle

      public String getTitle()
      Ruft den Wert der title-Eigenschaft ab.
      Returns:
      possible object is String
    • setTitle

      public void setTitle(String value)
      Legt den Wert der title-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getDescription

      public String getDescription()
      Ruft den Wert der description-Eigenschaft ab.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Legt den Wert der description-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getInternalDescription

      public String getInternalDescription()
      Ruft den Wert der internalDescription-Eigenschaft ab.
      Returns:
      possible object is String
    • setInternalDescription

      public void setInternalDescription(String value)
      Legt den Wert der internalDescription-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getChildRefs

      public List<ChildRef> getChildRefs()
      Gets the value of the testRefOrCombineRef property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the testRefOrCombineRef property.

      For example, to add a new item, do as follows:

          getTestRefOrCombineRef().add(newItem);
       

      Objects of the following type(s) are allowed in the list TestRef CombineRef

    • addAndReturnNewCombineRefChild

      public CombineRef addAndReturnNewCombineRefChild(String ref, BigDecimal weight)
    • addAndReturnNewTestRefChild

      public TestRef addAndReturnNewTestRefChild(String ref, String subRef, BigDecimal weight, String title, String description, String internalDescription)
    • getId

      public String getId()
      Ruft den Wert der id-Eigenschaft ab.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Legt den Wert der id-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getFunction

      public String getFunction()
      Ruft den Wert der function-Eigenschaft ab.
      Returns:
      possible object is String
    • setFunction

      public void setFunction(String value)
      Legt den Wert der function-Eigenschaft fest.
      Parameters:
      value - allowed object is String
    • getChildRefByRefAndSubRef

      public ChildRef getChildRefByRefAndSubRef(boolean isTestRef, String ref, String subRef)
    • getChildRefWeightByRefAndSubRef

      public BigDecimal getChildRefWeightByRefAndSubRef(boolean isTestRef, String ref, String subRef)
    • removeChildRef

      public boolean removeChildRef(boolean isTestRef, String ref, String subRef)