| 
 | Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface SelfDescribingResource
The SelfDescribingResource class adds added query methods to the
 Resource class.  It should be used for all new
 Resources.
| Field Summary | |
|---|---|
| static int | LIST_FIELD_TYPEFields that are comma separated and are part of the inheritance hierarchy of Resources return LIST_FIELD_TYPEfromgetFieldType(). | 
| static int | NORMAL_FIELD_TYPENORMAL_FIELD_TYPEdescribes fields that are simplyStringvalues. | 
| static int | PATH_FIELD_TYPEFields that are slash separated and are part of the inheritance hierarchy of Resources return PATH_FIELD_TYPEfromgetFieldType(). | 
| static int | UNDEFINED_FIELD_TYPEUNDEFINED_FIELD_TYPEis returned when no further
 information regarding this field is available. | 
| Method Summary | |
|---|---|
|  int | getFieldType(String fieldName)Describe getFieldTypemethod here. | 
|  int | getRepeatingFieldIndex()getRepeatingFieldIndexreturns an index into the
 array returned bygetKeys()that signifies what part
 of the Resource's fields repeat as the hierarchy is traversed. | 
|  int | getRepeatingFieldTerminatingIndex()The field returned by getRepeatingFieldIndexis
 repeated as the Resource is shortened up to and including this
 field index. | 
| Methods inherited from interface weblogic.security.spi.Resource | 
|---|
| equals, getID, getKeys, getParentResource, getType, getValues, hashCode, toString | 
| Field Detail | 
|---|
static final int UNDEFINED_FIELD_TYPE
UNDEFINED_FIELD_TYPE is returned when no further
 information regarding this field is available.
static final int NORMAL_FIELD_TYPE
NORMAL_FIELD_TYPE describes fields that are simply
 String values.  They cannot be subdivided or parsed
 further.
static final int PATH_FIELD_TYPE
PATH_FIELD_TYPE from
 getFieldType().  An example of this type of field
 is be path=/my/path/my/object.
static final int LIST_FIELD_TYPE
LIST_FIELD_TYPE from
 getFieldType().  An example of this type of field is
 path={my, path, my, object}.
| Method Detail | 
|---|
int getFieldType(String fieldName)
getFieldType method here.
fieldName - the String name of the field being queried.
int field type of fieldNameint getRepeatingFieldIndex()
getRepeatingFieldIndex returns an index into the
 array returned by getKeys() that signifies what part
 of the Resource's fields repeat as the hierarchy is traversed.
 For example, in the URLResource, the
 httpMethod is repeated as the hierarchy is walked.
 A value of -1 indicates that there are no repeating
 fields.
int getRepeatingFieldTerminatingIndex()
getRepeatingFieldIndex is
 repeated as the Resource is shortened up to and including this
 field index.  After this field index the repetition is no longer
 applied.
int describing the terminating index or
 getKeys().length if none| 
 | Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, 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 Oracle WebLogic Server 10.3.1 API Reference 11g Release 1 (10.3.1) Part Number E13941-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||