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 pathprotectedKey(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 notintgetKey()java.lang.StringgetPath()voidsetKey(int key)voidsetPath(java.lang.String path)java.lang.StringtoString() 
 - 
 
- 
- 
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:
 toStringin 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
 
 
 - 
 
 -