Package org.italiangrid.voms.ac.impl
Class VOMSGenericAttributeImpl
- java.lang.Object
-
- org.italiangrid.voms.ac.impl.VOMSGenericAttributeImpl
-
- All Implemented Interfaces:
VOMSGenericAttribute
public class VOMSGenericAttributeImpl extends java.lang.Object implements VOMSGenericAttribute
The default implementation for VOMS Generic Attributes.- Author:
- Andrea Ceccanti
-
-
Constructor Summary
Constructors Constructor Description VOMSGenericAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetContext()This method returns the context for this generic attributejava.lang.StringgetName()This method returns the name of this generic attributejava.lang.StringgetValue()This method returns the value of this generic attributeinthashCode()voidsetContext(java.lang.String context)voidsetName(java.lang.String name)voidsetValue(java.lang.String value)java.lang.StringtoString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:VOMSGenericAttributeThis method returns the name of this generic attribute- Specified by:
getNamein interfaceVOMSGenericAttribute- Returns:
- the name of this generic attribute
-
getValue
public java.lang.String getValue()
Description copied from interface:VOMSGenericAttributeThis method returns the value of this generic attribute- Specified by:
getValuein interfaceVOMSGenericAttribute- Returns:
- the value of this generic attribute
-
getContext
public java.lang.String getContext()
Description copied from interface:VOMSGenericAttributeThis method returns the context for this generic attribute- Specified by:
getContextin interfaceVOMSGenericAttribute- Returns:
- the context of this generic attribute
-
setName
public void setName(java.lang.String name)
-
setValue
public void setValue(java.lang.String value)
-
setContext
public void setContext(java.lang.String context)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-