ARoad0.gBaseInterface
Interface Access
public interface Access
This interface is responsible for modeling the access to a resource from an actor.
Not implemented.
setName
void setName(Name _name)
- Parameters:
_name
-
getName
Name getName()
- Returns:
- the name
setAllowForbid
void setAllowForbid(boolean _a)
- Parameters:
_a
- : if it is true, the access to the resource is allowed ;
if it is false, the access is forbidden.
getAllowForbid
boolean getAllowForbid()
- Returns:
- true if forbid is allowed
setNecessary
void setNecessary(boolean _a)
- Parameters:
_a
- : if it is true, the access is mandatory for the applications and
users.
getNecessary
boolean getNecessary()
- Returns:
- true if necessary
setRisky
void setRisky(boolean _a)
- Parameters:
_a
- : if it is true, the access to the resource is associated to
some registred risks.
getRisky
boolean getRisky()
- Returns:
- true if risky
setL_Actors
void setL_Actors(java.util.List _l)
- Parameters:
_l
- list of the actors which are implied in the accesses to this resource.
getL_Actors
java.util.List getL_Actors()
- Returns:
- list of actors
setL_GrantsLocks
void setL_GrantsLocks(java.util.List _l)
- Parameters:
_l
- : ordered list of the Grants and Locks associated with each actor in
L_Actors of the resource.
getL_GrantsLocks
java.util.List getL_GrantsLocks()
- Returns:
- list of grant locks