Class AttributeQueryData
- java.lang.Object
-
- org.certificateservices.messages.assertion.AttributeQueryData
-
public class AttributeQueryData extends java.lang.ObjectData of a parsed attribute query.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringidprotected java.lang.StringsubjectIdprotected java.lang.StringtokenTypeprotected AttributeQueryTypeEnumtype
-
Constructor Summary
Constructors Constructor Description AttributeQueryData()Main Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetID()java.lang.StringgetSubjectId()java.lang.StringgetTokenType()AttributeQueryTypeEnumgetType()inthashCode()voidparse(javax.xml.bind.JAXBElement<AttributeQueryType> attributeQuery)Main parser called by AssertionPayloadParser when parsing attribute query.java.lang.StringtoString()
-
-
-
Field Detail
-
id
protected java.lang.String id
-
type
protected AttributeQueryTypeEnum type
-
subjectId
protected java.lang.String subjectId
-
tokenType
protected java.lang.String tokenType
-
-
Method Detail
-
parse
public void parse(javax.xml.bind.JAXBElement<AttributeQueryType> attributeQuery) throws MessageContentException, MessageProcessingException
Main parser called by AssertionPayloadParser when parsing attribute query.
-
getID
public java.lang.String getID()
- Returns:
- the id of the attribute query.
-
getType
public AttributeQueryTypeEnum getType()
- Returns:
- the type of attribute query.
-
getSubjectId
public java.lang.String getSubjectId()
- Returns:
- the subject id to look-up.
-
getTokenType
public java.lang.String getTokenType()
- Returns:
- the related token type in attribute query. only set for UserData Attribute queries, otherwise null.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-