public class EmptyAttributeValue extends Object implements IdPAttributeValue<EmptyAttributeValue.EmptyType>
IdPAttributeValue that is empty. This class defines an enum to represent the various types of empty values
that can occur.| Modifier and Type | Class and Description |
|---|---|
static class |
EmptyAttributeValue.EmptyType
Types of empty values.
|
| Modifier and Type | Field and Description |
|---|---|
static EmptyAttributeValue |
NULL
Instance of null empty attribute value.
|
private EmptyAttributeValue.EmptyType |
value
Value of the attribute.
|
static EmptyAttributeValue |
ZERO_LENGTH
Instance of zero length attribute value.
|
| Constructor and Description |
|---|
EmptyAttributeValue(EmptyAttributeValue.EmptyType attributeValue)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDisplayValue()
Get a displayable form of the value for user interfaces and similar purposes.
|
EmptyAttributeValue.EmptyType |
getValue()
Get the value of this attribute.
|
int |
hashCode() |
String |
toString() |
public static final EmptyAttributeValue NULL
public static final EmptyAttributeValue ZERO_LENGTH
@Nonnull @NotEmpty private final EmptyAttributeValue.EmptyType value
public EmptyAttributeValue(@Nonnull@ParameterName(name="attributeValue") EmptyAttributeValue.EmptyType attributeValue)
attributeValue - value of the attribute@Nonnull public EmptyAttributeValue.EmptyType getValue()
getValue in interface IdPAttributeValue<EmptyAttributeValue.EmptyType>@Nonnull @NotEmpty public String getDisplayValue()
getDisplayValue in interface IdPAttributeValue<EmptyAttributeValue.EmptyType>Copyright © 1999–2018 Shibboleth Consortium. All rights reserved.