com.atlassian.confluence.pages.templates.variables
Class ListVariable

java.lang.Object
  extended by com.atlassian.confluence.pages.templates.variables.ListVariable
All Implemented Interfaces:
Variable

public class ListVariable
extends Object
implements Variable


Field Summary
static String TYPE
           
 
Constructor Summary
ListVariable(String name, List<String> options)
           
ListVariable(String name, String value, List<String> options)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 List<String> getOptions()
           
 String getType()
           
 String getValue()
           
 int hashCode()
           
 void setName(String name)
           
 void setOptions(List<String> options)
           
 void setValue(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
See Also:
Constant Field Values
Constructor Detail

ListVariable

public ListVariable(String name,
                    String value,
                    List<String> options)

ListVariable

public ListVariable(String name,
                    List<String> options)
Method Detail

getType

public String getType()
Specified by:
getType in interface Variable

getName

public String getName()
Specified by:
getName in interface Variable

setName

public void setName(String name)
Specified by:
setName in interface Variable

getValue

public String getValue()
Specified by:
getValue in interface Variable

setValue

public void setValue(String value)
Specified by:
setValue in interface Variable

getOptions

public List<String> getOptions()

setOptions

public void setOptions(List<String> options)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003-2013 Atlassian. All Rights Reserved.