Package org.hyperledger.aries.api.jsonld
Class VerifiablePresentation.PresentationSubmission.DescriptorMap
- java.lang.Object
-
- org.hyperledger.aries.api.jsonld.VerifiablePresentation.PresentationSubmission.DescriptorMap
-
- Enclosing class:
- VerifiablePresentation.PresentationSubmission
public static final class VerifiablePresentation.PresentationSubmission.DescriptorMap extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVerifiablePresentation.PresentationSubmission.DescriptorMap.DescriptorMapBuilder
-
Constructor Summary
Constructors Constructor Description DescriptorMap()DescriptorMap(String id, String format, String path)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VerifiablePresentation.PresentationSubmission.DescriptorMap.DescriptorMapBuilderbuilder()booleanequals(Object o)StringgetFormat()StringgetId()StringgetPath()IntegergetPathAsIndex()Assumes that the path is only one level deep e.g.inthashCode()voidsetFormat(String format)voidsetId(String id)voidsetPath(String path)StringtoString()
-
-
-
Method Detail
-
getPathAsIndex
public Integer getPathAsIndex()
Assumes that the path is only one level deep e.g. '$.verifiableCredential[0]'- Returns:
- path index as
Integeror null
-
builder
public static VerifiablePresentation.PresentationSubmission.DescriptorMap.DescriptorMapBuilder builder()
-
getId
public String getId()
-
getFormat
public String getFormat()
-
getPath
public String getPath()
-
setId
public void setId(String id)
-
setFormat
public void setFormat(String format)
-
setPath
public void setPath(String path)
-
-