Class Restriction

java.lang.Object
com.almis.awe.model.entities.access.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:
  • Constructor Details

    • Restriction

      public Restriction()
  • Method Details

    • 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