JML

java.security
Class BasicPermission

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

public abstract class BasicPermission
extends Permission
implements 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 path
           
private  boolean wildcard
           
 
Fields inherited from class java.security.Permission
 
Constructor Summary
BasicPermission(String)
           
BasicPermission(String, String)
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 boolean equals(Object)
           
 String getActions()
           
 int hashCode()
           
 boolean implies(Permission)
           
private  void init(String)
           
 PermissionCollection newPermissionCollection()
           
private  void readObject(ObjectInputStream)
           
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

wildcard

private transient boolean wildcard

path

private transient String path
Constructor Detail

BasicPermission

public BasicPermission(String)

BasicPermission

public BasicPermission(String,
                       String)
Method Detail

hashCode

public int hashCode()
Specified by:
hashCode in class Permission

readObject

private void readObject(ObjectInputStream)
                 throws IOException,
                        ClassNotFoundException
Throws:
IOException
ClassNotFoundException

equals

public boolean equals(Object)
Specified by:
equals in class Permission

getActions

public String getActions()

init

private void init(String)

implies

public boolean implies(Permission)

newPermissionCollection

public PermissionCollection newPermissionCollection()
Overrides:
newPermissionCollection in class Permission

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.