org.openpermis.policy
Class ParameterList.Parameter

java.lang.Object
  extended by org.openpermis.policy.ParameterList.Parameter
Enclosing class:
ParameterList

public static class ParameterList.Parameter
extends Object

A parameter with a name and a type.

Since:
0.1.0

Field Summary
private  String name
           
private  Class<?> type
           
 
Constructor Summary
ParameterList.Parameter(String name, Class<?> type)
          Creates a parameter.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Returns the name.
 Class<?> getType()
          Returns the type.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
Since:
0.1.0

type

private Class<?> type
Since:
0.1.0
Constructor Detail

ParameterList.Parameter

public ParameterList.Parameter(String name,
                               Class<?> type)
Creates a parameter.

Parameters:
name - the name.
type - the type.
Method Detail

getName

public String getName()
Returns the name.

Returns:
the name.
Since:
0.1.0

getType

public Class<?> getType()
Returns the type.

Returns:
the type.
Since:
0.1.0

equals

public 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.3.0 (Build 14)
2009/05/08 09:06:22
Copyright (c) 2002-2007 Ergon Informatik AG