org.sakaiproject.tool.preferences
Class AdminPrefsTool.KeyNameValue

java.lang.Object
  extended byorg.sakaiproject.tool.preferences.AdminPrefsTool.KeyNameValue
Enclosing class:
AdminPrefsTool

public class AdminPrefsTool.KeyNameValue
extends Object

Represents a name value pair in a keyed preferences set.


Field Summary
protected  boolean m_isList
          Is this value a list?.
protected  String m_key
          The key.
protected  String m_name
          The name.
protected  boolean m_origIsList
          The original is this value a list?.
protected  String m_origKey
          The original key.
protected  String m_origName
          The original name.
protected  String m_origValue
          The original value.
protected  String m_value
          The value.
 
Constructor Summary
AdminPrefsTool.KeyNameValue(String key, String name, String value, boolean isList)
           
 
Method Summary
 String getKey()
           
 String getName()
           
 String getOrigKey()
           
 String getOrigName()
           
 String getOrigValue()
           
 String getValue()
           
 boolean isChanged()
           
 boolean isList()
           
 boolean origIsList()
           
 void setKey(String value)
           
 void setList(boolean b)
           
 void setName(String value)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_isList

protected boolean m_isList
Is this value a list?.


m_key

protected String m_key
The key.


m_name

protected String m_name
The name.


m_origIsList

protected boolean m_origIsList
The original is this value a list?.


m_origKey

protected String m_origKey
The original key.


m_origName

protected String m_origName
The original name.


m_origValue

protected String m_origValue
The original value.


m_value

protected String m_value
The value.

Constructor Detail

AdminPrefsTool.KeyNameValue

public AdminPrefsTool.KeyNameValue(String key,
                                   String name,
                                   String value,
                                   boolean isList)
Method Detail

getKey

public String getKey()

getName

public String getName()

getOrigKey

public String getOrigKey()

getOrigName

public String getOrigName()

getOrigValue

public String getOrigValue()

getValue

public String getValue()

isChanged

public boolean isChanged()

isList

public boolean isList()

origIsList

public boolean origIsList()

setKey

public void setKey(String value)

setList

public void setList(boolean b)

setName

public void setName(String value)

setValue

public void setValue(String value)