Property.Exceptions
Modifier and Type | Field and Description |
---|---|
protected Element |
element |
protected String |
key |
protected V |
value |
Constructor and Description |
---|
TinkerProperty(Element element,
String key,
V value) |
Modifier and Type | Method and Description |
---|---|
Element |
element()
Get the element that this property is associated with.
|
boolean |
equals(Object object) |
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.
|
protected final Element element
protected final String key
protected V value
public Element element()
Property
public boolean isPresent()
Property
Copyright © 2013–2019 Apache Software Foundation. All rights reserved.