public class AccessRule
extends java.lang.Object
Constructor and Description |
---|
AccessRule() |
Modifier and Type | Method and Description |
---|---|
void |
addPrincipal(java.lang.String newPrincipal)
Set the a principle
|
java.lang.Object |
clone()
Copy a AccessRule to another accessrule object
|
int |
getPermission()
Get permission
|
java.lang.String |
getPermissionType() |
java.util.Vector<java.lang.String> |
getPrincipal()
Get the principle vector
|
void |
setPermission(int myPermission)
Set a permission.
|
void |
setPermissionType(java.lang.String type)
Set the permssionType
|
public void setPermissionType(java.lang.String type)
public java.lang.String getPermissionType()
public void addPrincipal(java.lang.String newPrincipal)
public java.util.Vector<java.lang.String> getPrincipal()
public void setPermission(int myPermission)
public int getPermission()
public java.lang.Object clone()
clone
in class java.lang.Object
Copyright © 2020 Regents of the University of California. All Rights Reserved.