issrg.pba.rbac
Interface Argument

All Known Implementing Classes:
ActionParameter, PermisArgument

public interface Argument

This interface is the abstract argument to an Action. It knows its type and its value. However, there is still some confusion about how the value should be returned and this may be updated in later versions.

The Argument is deployed in IF-statements only.

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

Method Summary
 java.lang.String getType()
          This method gets the type of the argument.
 java.lang.String getValue()
          This method gets the string encoding of the value of the argument.
 

Method Detail

getType

java.lang.String getType()
This method gets the type of the argument.

Returns:
the string name of the argument type

getValue

java.lang.String getValue()
This method gets the string encoding of the value of the argument. This may be needed for output purposes only. It is suggested to better override equals method of java.lang.Object to make comparisons more efficient.

Returns:
the string representation of the value; the encoding must correspond to that which would be used in XML