simpledb
Class Permissions

java.lang.Object
  extended by simpledb.Permissions

public class Permissions
extends java.lang.Object

Class representing requested permissions to a relation/file. Private constructor with two static objects READ_ONLY and READ_WRITE that represent the two levels of permission.


Field Summary
(package private)  int permLevel
           
static Permissions READ_ONLY
           
static Permissions READ_WRITE
           
 
Constructor Summary
private Permissions(int permLevel)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

permLevel

int permLevel

READ_ONLY

public static final Permissions READ_ONLY

READ_WRITE

public static final Permissions READ_WRITE
Constructor Detail

Permissions

private Permissions(int permLevel)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object