public class AttributePrincipal extends NamePrincipal
Constructor and Description |
---|
AttributePrincipal(Attribute attribute) |
AttributePrincipal(Attribute attribute,
Scope scope) |
AttributePrincipal(String key,
String value) |
AttributePrincipal(String key,
String value,
Scope scope) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Attribute |
getAttribute() |
AttributeValue |
getAttributeValue()
Short-cut for getAttribute().getValue()
|
String |
getValue() |
int |
hashCode() |
String |
toString() |
getName, getScope
public AttributePrincipal(Attribute attribute) throws IllegalArgumentException
IllegalArgumentException
public AttributePrincipal(Attribute attribute, Scope scope) throws IllegalArgumentException
IllegalArgumentException
public AttributePrincipal(String key, String value) throws IllegalArgumentException
IllegalArgumentException
public AttributePrincipal(String key, String value, Scope scope) throws IllegalArgumentException
IllegalArgumentException
public Attribute getAttribute()
public AttributeValue getAttributeValue()
public String getValue()
public boolean equals(Object o)
equals
in interface Principal
equals
in class NamePrincipal
public int hashCode()
hashCode
in interface Principal
hashCode
in class NamePrincipal
public String toString()
toString
in interface Principal
toString
in class NamePrincipal
Copyright © 2004–2016 52north.org. All rights reserved.