public class OraclePropertyBase<V> extends java.lang.Object implements Property<V>
Property.Exceptions| Constructor and Description |
|---|
OraclePropertyBase(OracleElementBase e,
java.lang.String key,
V value)
Constructs a new OracleProperty object
|
| Modifier and Type | Method and Description |
|---|---|
OracleElementBase |
element()
Get the element that this property is associated with
|
boolean |
equals(java.lang.Object object)
Validate if the given object is equal to this property
|
int |
hashCode()
Get the hash code associated to this property object
|
boolean |
isPresent()
Validate whether the property is empty or not
|
java.lang.String |
key()
Get the key of the property
|
void |
remove()
Remove the property from the associated element
|
java.lang.String |
toString()
Get a String representation of this property
|
V |
value()
Get the value of the property
|
public OraclePropertyBase(OracleElementBase e, java.lang.String key, V value)
e - the element that this property will be associated withkey - the name of the propertyvalue - the value of the propertypublic OracleElementBase element()
public boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isPresent()
public java.lang.String key()
public void remove()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 - 2018 Oracle and/or its affiliates. All Rights Reserved.