Package net.shibboleth.idp.attribute
Class EmptyAttributeValue
java.lang.Object
net.shibboleth.idp.attribute.EmptyAttributeValue
- All Implemented Interfaces:
Comparable<IdPAttributeValue>,IdPAttributeValue
An
IdPAttributeValue that is empty. This class defines an enum to represent the various types of empty values
that can occur.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumTypes of empty values. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EmptyAttributeValueInstance of null empty attribute value.private final EmptyAttributeValue.EmptyTypeValue of the attribute.static final EmptyAttributeValueInstance of zero length attribute value. -
Constructor Summary
ConstructorsConstructorDescriptionEmptyAttributeValue(EmptyAttributeValue.EmptyType attributeValue) Constructor. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.shibboleth.idp.attribute.IdPAttributeValue
compareTo
-
Field Details
-
NULL
Instance of null empty attribute value. -
ZERO_LENGTH
Instance of zero length attribute value. -
value
Value of the attribute.
-
-
Constructor Details
-
EmptyAttributeValue
public EmptyAttributeValue(@Nonnull @ParameterName(name="attributeValue") EmptyAttributeValue.EmptyType attributeValue) Constructor.- Parameters:
attributeValue- value of the attribute
-
-
Method Details
-
getNativeValue
Get the native representation of the value of this attribute.- Specified by:
getNativeValuein interfaceIdPAttributeValue- Returns:
- the attribute value in native format.
-
getValue
Return the value.- Returns:
- the value
-
getDisplayValue
Get a displayable form of the value for user interfaces and similar purposes.- Specified by:
getDisplayValuein interfaceIdPAttributeValue- Returns:
- a displayable value
-
equals
-
hashCode
public int hashCode() -
toString
-