eu.emi.dsr.security
Class XACMLAttribute

java.lang.Object
  extended by 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

Nested Class Summary
static class XACMLAttribute.Name
           
static class XACMLAttribute.Type
           
 
Constructor Summary
XACMLAttribute(String name, String value, XACMLAttribute.Type type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 XACMLAttribute.Type getType()
          Sets XACML 2.0 type
 String getValue()
           
 int hashCode()
           
 void setName(String name)
           
 void setType(XACMLAttribute.Type type)
          Sets XACML 2.0 type.
 void setValue(String value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XACMLAttribute

public XACMLAttribute(String name,
                      String value,
                      XACMLAttribute.Type type)
Parameters:
name -
value -
type - XACML 2.0 attribute type.
Method Detail

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.