eu.emi.dsr.security
Class XACMLAttribute
java.lang.Object
eu.emi.dsr.security.XACMLAttribute
- All Implemented Interfaces:
- Serializable
public class XACMLAttribute
- extends Object
- implements Serializable
This class is used to define an attribute. It is not bound to any XACML library API
but the definition should be complaint (and easily translatable) to any XACML attribute
object.
- Author:
- golbi
- See Also:
- Serialized Form
XACMLAttribute
public XACMLAttribute(String name,
String value,
XACMLAttribute.Type type)
- Parameters:
name - value - type - XACML 2.0 attribute type.
getName
public String getName()
setName
public void setName(String name)
getValue
public String getValue()
setValue
public void setValue(String value)
getType
public XACMLAttribute.Type getType()
- Sets XACML 2.0 type
- Returns:
setType
public void setType(XACMLAttribute.Type type)
- Sets XACML 2.0 type.
- Parameters:
type -
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2012. All Rights Reserved.