Class Restriction

  • All Implemented Interfaces:
    Copyable, Serializable

    public class Restriction
    extends Object
    implements Copyable
    Restriction Class

    Used to parse the files in profile folder with XStream This class is used to parse a restriction of an option

    Author:
    Pablo GARCIA - 25/JUN/2010
    See Also:
    Serialized Form
    • Constructor Detail

      • Restriction

        public Restriction()
    • Method Detail

      • getRestrictionType

        public RestrictionType getRestrictionType()
        Returns the restriction type (R: Restricted or A: Allowed)
        Returns:
        RestrictionType
      • setRestrictionType

        public void setRestrictionType​(RestrictionType restrictionType)
        Store restriction type
        Parameters:
        restrictionType - Restriction type
      • copy

        public Restriction copy()
        Description copied from interface: Copyable
        Get a copy of this element
        Specified by:
        copy in interface Copyable
        Returns:
        element copy