public class DetachedProperty<V> extends Object implements Property<V>, Serializable, Attachable<Property<V>>
Property.ExceptionsAttachable.Exceptions, Attachable.Method| Modifier | Constructor and Description | 
|---|---|
protected  | 
DetachedProperty(Property<V> property)  | 
  | 
DetachedProperty(String key,
                V value)  | 
  | 
DetachedProperty(String key,
                V value,
                Element element)  | 
| Modifier and Type | Method and Description | 
|---|---|
Element | 
element()
Get the element that this property is associated with. 
 | 
boolean | 
equals(Object object)  | 
Property<V> | 
get()
Get the raw object trying to be attached. 
 | 
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. 
 | 
clone, finalize, getClass, notify, notifyAll, wait, wait, waitempty, ifPresent, orElse, orElseGet, orElseThrowattachpublic Property<V> get()
Attachableget in interface Attachable<Property<V>>public boolean isPresent()
Propertypublic Element element()
Propertypublic void remove()
PropertyCopyright © 2013–2021 Apache Software Foundation. All rights reserved.