public abstract class AbstractLevelOfAssurance extends Object implements ILevelOfAssurance
ILevelOfAssurance
interface.
This class uses the Builder Pattern.
Implementors of the ILevelOfAssurance
should extend this class and its Builder.
Modifier and Type | Class and Description |
---|---|
static class |
AbstractLevelOfAssurance.AbstractBuilder<B extends AbstractLevelOfAssurance.AbstractBuilder<B,T>,T extends ILevelOfAssurance>
Abstract Builder pattern with self-bounding generics for
ILevelOfAssurance subtypes. |
EIDAS_LOA_HIGH, EIDAS_LOA_LOW, EIDAS_LOA_PREFIX, EIDAS_LOA_SUBSTANTIAL
Modifier | Constructor and Description |
---|---|
protected |
AbstractLevelOfAssurance(AbstractLevelOfAssurance.AbstractBuilder<?,?> builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getType()
Returns the Level of Assurance's type
Only valid types are "notified" or "nonNotified"
|
String |
getValue()
Returns the Level of Assurance's value.
|
int |
hashCode() |
String |
toString() |
protected StringBuilder |
toString(StringBuilder stringBuilder) |
static StringBuilder |
toString(StringBuilder stringBuilder,
ILevelOfAssurance loa) |
protected AbstractLevelOfAssurance(@Nonnull AbstractLevelOfAssurance.AbstractBuilder<?,?> builder)
@Nonnull public final String getType()
ILevelOfAssurance
getType
in interface ILevelOfAssurance
@Nonnull public final String getValue()
ILevelOfAssurance
getValue
in interface ILevelOfAssurance
protected StringBuilder toString(@Nonnull StringBuilder stringBuilder)
public static StringBuilder toString(@Nonnull StringBuilder stringBuilder, @Nonnull ILevelOfAssurance loa)
Copyright © 2020. All Rights Reserved.