@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public abstract class AbstractAttribute extends Object implements Attribute
Attribute
.Attribute.RemoveOnceSwitchingAttributes
Modifier | Constructor and Description |
---|---|
protected |
AbstractAttribute()
Creates a new abstract attribute.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsAll(Collection<?> values)
Indicates whether this attribute contains all the values in the collection.
|
boolean |
equals(Object o)
Indicates whether the provided object is an attribute that is equal to this attribute.
|
int |
hashCode()
Retrieves the hash code for this attribute.
|
boolean |
isEmpty()
Returns
true if this attribute contains no attribute values. |
boolean |
isReal()
Indicates whether this is a real attribute (persisted) rather than a virtual attribute (dynamically computed).
|
String |
toString()
Retrieves a one-line string representation of this attribute.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
approximatelyEqualTo, contains, getAttributeDescription, greaterThanOrEqualTo, isVirtual, iterator, lessThanOrEqualTo, matchesEqualityAssertion, matchesSubstring, size, toString
forEach, spliterator
protected AbstractAttribute()
public boolean containsAll(Collection<?> values)
Attribute
containsAll
in interface Attribute
values
- The set of values for which to make the determination.true
if this attribute contains all the values in the provided collection, or false
if it
does not contain at least one of them.public final boolean equals(Object o)
Attribute
public int hashCode()
Attribute
public boolean isEmpty()
true
if this attribute contains no attribute values.
This implementation returns true
if the Attribute.size()
of this attribute is zero.
public boolean isReal()
Attribute
Copyright © 2010–2017 ForgeRock AS. All rights reserved.