public class PropertyObjectValue
extends java.lang.Object
Constructor and Description |
---|
PropertyObjectValue(java.lang.String pKey,
java.lang.Object pValue,
boolean pSecure)
Creates a PropertyObjectValue object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Returns the String key
|
java.lang.Object |
getValue()
Returns the value as an Object
|
boolean |
isSecure()
Returns whether this property is secure
|
java.lang.String |
toString()
Returns a string representation of this PropertyObjectValue, masking the value if the property is secure.
|
public PropertyObjectValue(java.lang.String pKey, java.lang.Object pValue, boolean pSecure)
pKey
- the keypValue
- the valuepSecure
- true if the property is secure; false otherwisepublic java.lang.String getKey()
public java.lang.Object getValue()
public boolean isSecure()
public java.lang.String toString()
toString
in class java.lang.Object