Class VOMSGenericAttributeImpl

  • All Implemented Interfaces:
    VOMSGenericAttribute

    public class VOMSGenericAttributeImpl
    extends java.lang.Object
    implements VOMSGenericAttribute
    The default implementation for VOMS Generic Attributes.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String context  
      private java.lang.String name  
      private java.lang.String value  
    • 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 attribute
      java.lang.String getName()
      This method returns the name of this generic attribute
      java.lang.String getValue()
      This method returns the value of this generic attribute
      int hashCode()  
      void setContext​(java.lang.String context)  
      void setName​(java.lang.String name)  
      void setValue​(java.lang.String value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        private java.lang.String name
      • value

        private java.lang.String value
      • context

        private java.lang.String context
    • Constructor Detail

      • VOMSGenericAttributeImpl

        public VOMSGenericAttributeImpl()
    • 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 interface VOMSGenericAttribute
        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 interface VOMSGenericAttribute
        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 interface VOMSGenericAttribute
        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 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