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


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private  String name
           
 
Constructor Summary
Permission(String)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
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
Constructor Detail

Permission

public Permission(String)
Method Detail

hashCode

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

checkGuard

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

equals

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

getActions

public abstract String getActions()

getName

public final String getName()

toString

public String toString()
Overrides:
toString in class Object

implies

public abstract boolean implies(Permission)

newPermissionCollection

public PermissionCollection newPermissionCollection()

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.