JML

java.security
Class Permission

java.lang.Object
  extended byjava.security.Permission
All Implemented Interfaces:
Guard, Serializable

public abstract class Permission
extends Object
implements Guard, Serializable


Field Summary
private  String name
           
private static long serialVersionUID
           
 
Constructor Summary
Permission(String)
           
 
Method Summary
 void checkGuard(Object)
           
abstract  boolean equals(Object)
           
abstract  String getActions()
           
 String getName()
           
abstract  int hashCode()
           
abstract  boolean implies(Permission)
           
 PermissionCollection newPermissionCollection()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private String name

serialVersionUID

private static final long serialVersionUID
Constructor Detail

Permission

public Permission(String)
Method Detail

checkGuard

public void checkGuard(Object)
                throws SecurityException
Specified by:
checkGuard in interface Guard
Throws:
SecurityException

implies

public abstract boolean implies(Permission)

equals

public abstract boolean equals(Object)
Overrides:
equals in class Object

hashCode

public abstract int hashCode()
Overrides:
hashCode in class Object

getName

public final String getName()

getActions

public abstract String getActions()

newPermissionCollection

public PermissionCollection newPermissionCollection()

toString

public String toString()
Overrides:
toString in class Object

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.