issrg.pba.rbac
Class PermisArgument

java.lang.Object
  extended by issrg.pba.rbac.PermisArgument
All Implemented Interfaces:
Argument

public class PermisArgument
extends java.lang.Object
implements Argument

This class represents the Argument to the actions that Permis is using. It is evaluated in the IF-statements of the Policy.

Version:
0.2
Author:
E Ball, D Chadwick, A Otenko

Constructor Summary
protected PermisArgument()
           
  PermisArgument(java.lang.String Type, java.lang.String Value)
          This constructor builds an argument by specifying its Type and Value
 
Method Summary
 java.lang.String getType()
          This method returns the String name of the type of this value.
 java.lang.String getValue()
          This method returns the value of this argument.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermisArgument

protected PermisArgument()

PermisArgument

public PermisArgument(java.lang.String Type,
                      java.lang.String Value)
This constructor builds an argument by specifying its Type and Value

Method Detail

getValue

public java.lang.String getValue()
This method returns the value of this argument.

Specified by:
getValue in interface Argument
Returns:
the String encoding of the value of this argument

getType

public java.lang.String getType()
This method returns the String name of the type of this value.

Specified by:
getType in interface Argument
Returns:
the type of the argument, as specified in the IF-statement