| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.endeca.itl.cas.api.ModuleProperty
public class ModuleProperty
A ModuleProperty is a key/value-list pair used to provide configuration information about a particular module (such as a content source or output destination).
| Constructor Summary | |
|---|---|
ModuleProperty()
 | 
|
ModuleProperty(String key,
               List<String> values)
 | 
|
ModuleProperty(String key,
               String... values)
 | 
|
| Method Summary | |
|---|---|
 void | 
addValues(String... values)
Adds values to this ModuleProperty  | 
 int | 
compareTo(ModuleProperty other)
A comparison of keys first, then values.  | 
 boolean | 
equals(Object other)
 | 
 String | 
getKey()
Gets the value of the key property.  | 
 String | 
getSingletonValue()
 | 
 List<String> | 
getValues()
 | 
 int | 
hashCode()
 | 
 boolean | 
hasValues()
 | 
 void | 
setKey(String key)
Sets the value of the key property.  | 
 void | 
setValues(List<String> values)
Update the list holding the values for the property.  | 
 void | 
setValues(String... values)
Sets the values of this ModuleProperty to the argument values.  | 
 String | 
toString()
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ModuleProperty()
public ModuleProperty(String key,
                      String... values)
public ModuleProperty(String key,
                      List<String> values)
| Method Detail | 
|---|
public String getKey()
public void setKey(String key)
public List<String> getValues()
public void setValues(List<String> values)
values - public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic void setValues(String... values)
values - public void addValues(String... values)
values - public String getSingletonValue()
IllegalStateException - if this module property has multiple values.public boolean hasValues()
public int compareTo(ModuleProperty other)
compareTo in interface Comparable<ModuleProperty>
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||