Class Restriction
java.lang.Object
com.almis.awe.model.entities.access.Restriction
- All Implemented Interfaces:
Copyable
,Serializable
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Get a copy of this elementReturns the restriction type (R: Restricted or A: Allowed)void
setRestrictionType
(RestrictionType restrictionType) Store restriction type
-
Constructor Details
-
Restriction
public Restriction()
-
-
Method Details
-
getRestrictionType
Returns the restriction type (R: Restricted or A: Allowed)- Returns:
- RestrictionType
-
setRestrictionType
Store restriction type- Parameters:
restrictionType
- Restriction type
-
copy
Description copied from interface:Copyable
Get a copy of this element
-