net.geant.edugain.meta.metadata
Class EGAttribute

java.lang.Object
  extended by net.geant.edugain.meta.metadata.EGAttribute

public class EGAttribute
extends java.lang.Object

This class contains a representation of an eduGAIN Attribute object

Author:
Manuela Stanica

Field Summary
protected  java.util.ArrayList<java.lang.String> attrValues
          The list of possible values for this attribute
protected  java.lang.String name
          The attribute name
 
Constructor Summary
EGAttribute()
          Constructor
EGAttribute(java.lang.String name)
          Constructor, takes as parameter the attribute name
EGAttribute(java.lang.String name, java.util.ArrayList<java.lang.String> values)
          Constructor
 
Method Summary
 java.util.ArrayList<java.lang.String> getAttrValues()
          Gets the attribute values
 java.lang.String getName()
          Gets the attribute name
 void setName(java.lang.String name)
          the attribute name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name
The attribute name


attrValues

protected java.util.ArrayList<java.lang.String> attrValues
The list of possible values for this attribute

Constructor Detail

EGAttribute

public EGAttribute()
Constructor


EGAttribute

public EGAttribute(java.lang.String name)
Constructor, takes as parameter the attribute name


EGAttribute

public EGAttribute(java.lang.String name,
                   java.util.ArrayList<java.lang.String> values)
Constructor

Parameters:
name - the attribute name
values - the attribute value list
Method Detail

getName

public java.lang.String getName()
Gets the attribute name

Returns:
the attribute name

setName

public void setName(java.lang.String name)
the attribute name

Parameters:
name - the attribute name

getAttrValues

public java.util.ArrayList<java.lang.String> getAttrValues()
Gets the attribute values

Returns:
the list of attribute values