org.openpermis.policy.predicate
Class Argument<T>
java.lang.Object
org.openpermis.policy.predicate.Argument<T>
- Type Parameters:
T
- argument value type.
- All Implemented Interfaces:
- Value<T>
public class Argument<T>
- extends Object
- implements Value<T>
An argument value that is evaluated at runtime.
- Since:
- 0.1.0
Argument
public Argument(String name,
Class<T> type)
getType
public Class<?> getType()
- Specified by:
getType
in interface Value<T>
- Since:
- 0.1.0
getName
public String getName()
- Returns the argument name.
- Returns:
- the argument name.
- Since:
- 0.1.0
valueOf
public T valueOf(TimeStamp timeStamp,
Map<String,?> arguments)
- Description copied from interface:
Value
- Returns the enclosed value.
- Specified by:
valueOf
in interface Value<T>
- Since:
- 0.1.0
isMatchable
public boolean isMatchable(Map<String,Class<?>> arguments)
- Specified by:
isMatchable
in interface Value<T>
- Since:
- 0.3.0
equals
public final boolean equals(Object obj)
- Overrides:
equals
in class Object
- Since:
- 0.1.0
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
- Since:
- 0.1.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:49
Copyright (c) 2002-2007 Ergon Informatik AG