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 boolean
equals(java.lang.Object obj)
java.lang.String
getContext()
This method returns the context for this generic attributejava.lang.String
getName()
This method returns the name of this generic attributejava.lang.String
getValue()
This method returns the value of this generic attributeint
hashCode()
void
setContext(java.lang.String context)
void
setName(java.lang.String name)
void
setValue(java.lang.String value)
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:VOMSGenericAttribute
This method returns the name of this generic attribute- Specified by:
getName
in interfaceVOMSGenericAttribute
- Returns:
- the name of this generic attribute
-
getValue
public java.lang.String getValue()
Description copied from interface:VOMSGenericAttribute
This method returns the value of this generic attribute- Specified by:
getValue
in interfaceVOMSGenericAttribute
- Returns:
- the value of this generic attribute
-
getContext
public java.lang.String getContext()
Description copied from interface:VOMSGenericAttribute
This method returns the context for this generic attribute- Specified by:
getContext
in 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:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-