Package com.microstrategy.utils.proxy
Class Key
- java.lang.Object
-
- com.microstrategy.utils.proxy.Key
-
public final class Key extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description Key()
Default constructorKey(int key, java.lang.String path)
Constructor with the index key and the pathprotected
Key(Key parentKey, int key, java.lang.String subPath)
Constructor used by the class Regor and the open key method, to open a child key
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
_isValidKey()
Method looks up the key and determine if it is an valid key (not -1) or notint
getKey()
java.lang.String
getPath()
void
setKey(int key)
void
setPath(java.lang.String path)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Key
public Key()
Default constructor
-
Key
public Key(int key, java.lang.String path)
Constructor with the index key and the path- Parameters:
key
- intpath
- String
-
Key
protected Key(Key parentKey, int key, java.lang.String subPath)
Constructor used by the class Regor and the open key method, to open a child key- Parameters:
parentKey
- Key to get the parent path and append the new subpathkey
- int the key handlesubPath
- String subpath which will be append to the parent path
-
-
Method Detail
-
getKey
public int getKey()
-
getPath
public java.lang.String getPath()
-
setKey
public void setKey(int key)
-
setPath
public void setPath(java.lang.String path)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
_isValidKey
public boolean _isValidKey()
Method looks up the key and determine if it is an valid key (not -1) or not- Returns:
- boolean
-
-