Class ShortenedGrading

  • All Implemented Interfaces:
    com.helger.commons.lang.IExplicitlyCloneable, Cloneable

    @CodingStyleguideUnaware
    public class ShortenedGrading
    extends Object
    implements com.helger.commons.lang.IExplicitlyCloneable
    Indicator of *how well* the student was graded when compared to other students. The three values don't need to be very exact (one decimal place should be more than enough), but they SHOULD sum up to 100.

    Java class for ShortenedGrading complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ShortenedGrading">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="percentageLower" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentageEqual" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
             <element name="percentageHigher" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     

    This class was annotated by ph-jaxb22-plugin -Xph-annotate

    This class contains methods created by ph-jaxb22-plugin -Xph-equalshashcode

    This class contains methods created by ph-jaxb22-plugin -Xph-tostring

    This class contains methods created by ph-jaxb22-plugin -Xph-cloneable2

    This class contains methods created by ph-jaxb22-plugin -Xph-value-extender

    • Constructor Detail

      • ShortenedGrading

        public ShortenedGrading()
        Default constructor
        Note: automatically created by ph-jaxb22-plugin -Xph-value-extender
    • Method Detail

      • getPercentageLower

        @Nullable
        public BigDecimal getPercentageLower()
        Gets the value of the percentageLower property.
        Returns:
        possible object is BigDecimal
      • setPercentageLower

        public void setPercentageLower​(@Nullable
                                       BigDecimal value)
        Sets the value of the percentageLower property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageEqual

        @Nullable
        public BigDecimal getPercentageEqual()
        Gets the value of the percentageEqual property.
        Returns:
        possible object is BigDecimal
      • setPercentageEqual

        public void setPercentageEqual​(@Nullable
                                       BigDecimal value)
        Sets the value of the percentageEqual property.
        Parameters:
        value - allowed object is BigDecimal
      • getPercentageHigher

        @Nullable
        public BigDecimal getPercentageHigher()
        Gets the value of the percentageHigher property.
        Returns:
        possible object is BigDecimal
      • setPercentageHigher

        public void setPercentageHigher​(@Nullable
                                        BigDecimal value)
        Sets the value of the percentageHigher property.
        Parameters:
        value - allowed object is BigDecimal
      • equals

        public boolean equals​(Object o)
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Created by ph-jaxb22-plugin -Xph-equalshashcode
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Created by ph-jaxb22-plugin -Xph-tostring
        Overrides:
        toString in class Object
      • cloneTo

        public void cloneTo​(@Nonnull
                            ShortenedGrading ret)
        This method clones all values from this to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2
        Parameters:
        ret - The target object to clone to. May not be null.
      • clone

        @Nonnull
        @ReturnsMutableCopy
        public ShortenedGrading clone()
        Created by ph-jaxb22-plugin -Xph-cloneable2
        Specified by:
        clone in interface com.helger.commons.lang.IExplicitlyCloneable
        Overrides:
        clone in class Object
        Returns:
        The cloned object. Never null.