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()
The existence of this object implies the property is present, thus even a
null value means "present". |
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()
null
value means "present".Copyright © 2013–2022 Apache Software Foundation. All rights reserved.