org.glite.authz.common.model
Class AttributeAssignment

java.lang.Object
  extended by org.glite.authz.common.model.AttributeAssignment
All Implemented Interfaces:
java.io.Serializable

public final class AttributeAssignment
extends java.lang.Object
implements java.io.Serializable

A requirement that a particular attribute have a given set of values within the PEP.

See Also:
Serialized Form

Constructor Summary
AttributeAssignment()
          Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getAttributeId()
          Gets the ID of the attribute.
 java.lang.String getDataType()
          Gets the data type of the attribute.
 java.lang.String getValue()
          Gets the value the identified attribute must be assigned.
 int hashCode()
          
 void setAttributeId(java.lang.String id)
          Sets the ID of the attribute.
 void setDataType(java.lang.String type)
          Sets the data type of the attribute.
 void setValue(java.lang.String newValue)
          Sets the value the identified attribute must be assigned.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeAssignment

public AttributeAssignment()
Constructor.

Method Detail

getAttributeId

public java.lang.String getAttributeId()
Gets the ID of the attribute.

Returns:
ID of the attribute

setAttributeId

public void setAttributeId(java.lang.String id)
Sets the ID of the attribute.

Parameters:
id - ID of the attribute

getDataType

public java.lang.String getDataType()
Gets the data type of the attribute.

Returns:
data type of the attribute

setDataType

public void setDataType(java.lang.String type)
Sets the data type of the attribute.

Parameters:
type - data type of the attribute

getValue

public java.lang.String getValue()
Gets the value the identified attribute must be assigned.

Returns:
value the identified attribute must be assigned

setValue

public void setValue(java.lang.String newValue)
Sets the value the identified attribute must be assigned.

Parameters:
newValue - value the identified attribute must be assigned

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object


Copyright © 2008-2012 EMI - European Middleware Initiative. All Rights Reserved.