public final class Attribute<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
T |
get() |
boolean |
hasNoValue()
Defines there is no value for this attribute.
It does not consider if this attribute should or should not be undefined. |
boolean |
hasValue()
Defines there is a value for this attribute.
It does not consider if this attribute should or should not be undefined. |
boolean |
isAbsent()
Declares there is no value and attribute state is not ordering
for attribute to be undefined.
Basically this attribute is empty in state 'nothing to do'. |
boolean |
isUndefine()
Defines if the attribute is expected to be undefined.
|
static <T> Attribute<T> |
noValue() |
static <T> Attribute<T> |
of(T referenceValue) |
static <T> Attribute<T> |
undefine() |
static Attribute<String> |
undefineString() |
public static <T> Attribute<T> noValue()
public static <T> Attribute<T> undefine()
public static <T> Attribute<T> of(T referenceValue)
public T get()
public boolean isUndefine()
public boolean hasValue()
public boolean hasNoValue()
public boolean isAbsent()
Copyright © 2024. All rights reserved.