org.okiproject.serviceimpl.mit.roles
Class GrantPrivilege
java.lang.Object
|
+--org.okiproject.serviceimpl.mit.roles.GrantPrivilege
- All Implemented Interfaces:
- org.okiproject.serviceapi.roles.GrantPrivilege, java.io.Serializable
- public class GrantPrivilege
- extends java.lang.Object
- implements org.okiproject.serviceapi.roles.GrantPrivilege
Copyright (c) 2001 Massachusetts Institute of Technology
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the
Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice
shall be included in all copies or substantial portions of
the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
$Source: /cvs/oki/org/okiproject/serviceimpl/mit/doc/roles/org/okiproject/serviceimpl/mit/roles/GrantPrivilege.html,v $
- See Also:
- Serialized Form
Fields inherited from interface org.okiproject.serviceapi.roles.GrantPrivilege |
GRANTABLE, GRANTABLEFORGRANTING, NOTGRANTABLE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GrantPrivilege
public GrantPrivilege(java.lang.String grantPrivilege)
throws java.lang.Exception
toString
public java.lang.String toString()
- Specified by:
toString
in interface org.okiproject.serviceapi.roles.GrantPrivilege
- Overrides:
toString
in class java.lang.Object
isGrantable
public boolean isGrantable()
- Specified by:
isGrantable
in interface org.okiproject.serviceapi.roles.GrantPrivilege
isGrantableForGranting
public boolean isGrantableForGranting()
- Specified by:
isGrantableForGranting
in interface org.okiproject.serviceapi.roles.GrantPrivilege