public final class HadoopProperty<V> extends Object implements Property<V>, WrappedProperty<Property<V>>
Property.Exceptions
Modifier | Constructor and Description |
---|---|
protected |
HadoopProperty(Property<V> baseProperty,
Element hadoopElement) |
Modifier and Type | Method and Description |
---|---|
Element |
element()
Get the element that this property is associated with.
|
boolean |
equals(Object object) |
Property<V> |
getBaseProperty() |
int |
hashCode() |
boolean |
isPresent()
Whether the property is empty or not.
|
String |
key()
The key of the property.
|
void |
remove()
Remove the property from the associated element.
|
String |
toString() |
V |
value()
The value of the property.
|
public boolean isPresent()
Property
public Property<V> getBaseProperty()
getBaseProperty
in interface WrappedProperty<Property<V>>
public void remove()
Property
public Element element()
Property
Copyright © 2013–2018 Apache Software Foundation. All rights reserved.