Package de.adorsys.psd2.validator.common
Enum RoleOfPSP
- java.lang.Object
-
- java.lang.Enum<RoleOfPSP>
-
- de.adorsys.psd2.validator.common.RoleOfPSP
-
- All Implemented Interfaces:
Serializable,Comparable<RoleOfPSP>
public enum RoleOfPSP extends Enum<RoleOfPSP>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RoleOfPSPgetInstance(org.bouncycastle.asn1.ASN1Encodable asn1Encodable)StringgetNormalizedRoleName()org.bouncycastle.asn1.DERUTF8StringgetRoleOfPspName()org.bouncycastle.asn1.ASN1ObjectIdentifiergetRoleOfPspOid()org.bouncycastle.asn1.DERSequencetoDERSequence()static RoleOfPSPvalueOf(String name)Returns the enum constant of this type with the specified name.static RoleOfPSP[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static RoleOfPSP[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RoleOfPSP c : RoleOfPSP.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleOfPSP valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getInstance
public static RoleOfPSP getInstance(org.bouncycastle.asn1.ASN1Encodable asn1Encodable)
-
getRoleOfPspOid
public org.bouncycastle.asn1.ASN1ObjectIdentifier getRoleOfPspOid()
-
getRoleOfPspName
public org.bouncycastle.asn1.DERUTF8String getRoleOfPspName()
-
toDERSequence
public org.bouncycastle.asn1.DERSequence toDERSequence()
-
getNormalizedRoleName
public String getNormalizedRoleName()
-
-