Class PepActionAttributeAssignment<AV extends AttributeValue>

  • Type Parameters:
    AV - type assigned attribute value

    public final class PepActionAttributeAssignment<AV extends AttributeValue>
    extends Object
    (XACML-like) AttributeAssignment to be passed to a PEP action (obligation, advice).
    • Constructor Detail

      • PepActionAttributeAssignment

        public PepActionAttributeAssignment​(String attributeId,
                                            Optional<String> category,
                                            Optional<String> issuer,
                                            Datatype<AV> datatype,
                                            AV value)
        Default constructor
        Parameters:
        attributeId - attribute ID
        category - attribute category
        issuer - attribute Issuer
        datatype - attribute datatype
        value - attribute value
    • Method Detail

      • getAttributeId

        public String getAttributeId()
        Returns:
        the attribute Id
      • getCategory

        public Optional<String> getCategory()
        Returns:
        the category
      • getDatatype

        public Datatype<AV> getDatatype()
        Returns:
        the attribute datatype
      • getValue

        public AV getValue()
        Returns:
        the attribute value
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object