|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Resource
The Resource
interface provides the definition for an object that represents a resource that may be protected from unauthorized access.
Method Summary | |
---|---|
abstract boolean |
equals(Object another) Compares this resource to the resource in the specified object. |
abstract long |
getID() Gets a 64-bit hashcode for a resource. |
abstract String[] |
getKeys() Gets keys for the resource. |
abstract Resource |
getParentResource() Gets a Resource object that represents the parent of the current resource. |
abstract String |
getType() Gets the type of this resource. |
abstract String[] |
getValues() Gets the values corresponding to the keys of this resource's type. |
abstract int |
hashCode() Returns an identifier for the resource as a hash code. |
abstract String |
toString() Returns a string representation of this resource. |
Method Detail |
---|
boolean equals(Object another)
equals
in class Object
another
- another resource with which to compare this resource.TRUE
indicates that the resource passed in is the same as that encapsulated by this resource; a value of FALSE
indicates that it is not the same.String toString()
toString
in class Object
int hashCode()
hashCode
in class Object
String getType()
Resource getParentResource()
Resource
object that represents the parent of the current resource. If the resource does not have a parent, the value of null
must be returned.Resource
object of the parent resource.long getID()
String[] getKeys()
String[] getValues()
getKeys
because the latter depends only on the type of the resource.
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |