|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.soda.dk.epcglobal.llrp.config.servlet.display.AbstractDisplayElement
org.eclipse.soda.dk.epcglobal.llrp.config.servlet.display.ParameterDisplay
public class ParameterDisplay
| Field Summary | |
|---|---|
static char |
CHOICE_SEPERATOR
Define the choice seperator (char) constant. |
static char |
SEPERATOR
Define the seperator (char) constant. |
| Fields inherited from interface org.eclipse.soda.dk.epcglobal.llrp.config.servlet.display.IDisplayElement |
|---|
TYPE_PARAMETER, TYPE_PROFILE, TYPE_READER |
| Constructor Summary | |
|---|---|
ParameterDisplay(java.lang.String name,
java.lang.Object paramObj)
Constructs an instance of this class from the specified name and param obj parameters. |
|
ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
int type,
java.util.List historyChain,
IReaderCapabilities readerCapabilities)
Constructs an instance of this class from the specified name, param obj, type, history chain and reader capabilities parameters. |
|
ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
java.util.List historyChain)
Constructs an instance of this class from the specified name, param obj and history chain parameters. |
|
ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
java.util.List historyChain,
IReaderCapabilities readerCapabilities)
Constructs an instance of this class from the specified name, param obj, history chain and reader capabilities parameters. |
|
| Method Summary | |
|---|---|
static java.lang.String |
addSerialNumToPath(java.lang.String path,
int serialNum)
Add serial num to path with the specified path and serial num parameters and return the String result. |
static java.lang.String |
getChoiceId(java.lang.String choiceParamPath)
Get choice id with the specified choice param path parameter and return the String result. |
static java.lang.String |
getChoiceParamId(java.lang.String choiceParamPath)
Get choice param id with the specified choice param path parameter and return the String result. |
static java.lang.String |
getElementPath(java.lang.String elementId)
Get element path with the specified element id parameter and return the String result. |
static java.lang.String |
getElementPath(java.lang.String choiceId,
java.lang.String elementId)
Get element path with the specified choice id and element id parameters and return the String result. |
protected java.lang.String |
getFormHeader(java.lang.String servletPath)
Get form header with the specified servlet path parameter and return the String result. |
protected java.lang.String |
getFormTail(boolean subParamOnly)
Get form tail with the specified sub param only parameter and return the String result. |
java.util.List |
getHistoryChain()
Gets the history chain (List) value. |
java.lang.String |
getHtml(java.lang.String servletPath)
Get html with the specified servlet path parameter and return the String result. |
protected java.lang.String |
getNavigatorHtml(java.lang.String servletPath)
Get navigator html with the specified servlet path parameter and return the String result. |
java.lang.String |
getParamId()
Gets the param ID (String) value. |
static java.lang.String |
getParamId(java.lang.String name)
Get param id with the specified name parameter and return the String result. |
IReaderCapabilities |
getReaderCapabilities()
Gets the reader capabilities (IReaderCapabilities) value. |
int |
getSerialNo()
Gets the serial no (int) value. |
static int |
getSerialNo(java.lang.String name)
Get serial no with the specified name parameter and return the int result. |
static boolean |
isChoiceParamPath(java.lang.String path)
Is choice param path with the specified path parameter and return the boolean result. |
boolean |
isValidSubparameters()
Gets the valid sub parameters (boolean) value. |
protected boolean |
isValidSubparameters(java.lang.String paramId,
java.util.Map paramObj)
Is valid sub parameters with the specified param id and param obj parameters and return the boolean result. |
boolean |
setParamValues(javax.servlet.http.HttpServletRequest request)
Sets the param values value. |
| Methods inherited from class org.eclipse.soda.dk.epcglobal.llrp.config.servlet.display.AbstractDisplayElement |
|---|
addComment, addCommentTitle, clearComment, getButton, getComment, getJavaScriptFunction, getName, getParamObj, getType, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final char SEPERATOR
public static final char CHOICE_SEPERATOR
| Constructor Detail |
|---|
public ParameterDisplay(java.lang.String name,
java.lang.Object paramObj)
name - The name (String) parameter.paramObj - The param obj (Object) parameter.ParameterDisplay(String,Object,int,List,IReaderCapabilities),
ParameterDisplay(String,Object,List),
ParameterDisplay(String,Object,List,IReaderCapabilities)
public ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
int type,
java.util.List historyChain,
IReaderCapabilities readerCapabilities)
name - The name (String) parameter.paramObj - The param obj (Object) parameter.type - The type (int) parameter.historyChain - The history chain (List) parameter.readerCapabilities - The reader capabilities (IReaderCapabilities) parameter.ParameterDisplay(String,Object),
ParameterDisplay(String,Object,List),
ParameterDisplay(String,Object,List,IReaderCapabilities)
public ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
java.util.List historyChain)
name - The name (String) parameter.paramObj - The param obj (Object) parameter.historyChain - The history chain (List) parameter.ParameterDisplay(String,Object),
ParameterDisplay(String,Object,int,List,IReaderCapabilities),
ParameterDisplay(String,Object,List,IReaderCapabilities)
public ParameterDisplay(java.lang.String name,
java.lang.Object paramObj,
java.util.List historyChain,
IReaderCapabilities readerCapabilities)
name - The name (String) parameter.paramObj - The param obj (Object) parameter.historyChain - The history chain (List) parameter.readerCapabilities - The reader capabilities (IReaderCapabilities) parameter.ParameterDisplay(String,Object),
ParameterDisplay(String,Object,int,List,IReaderCapabilities),
ParameterDisplay(String,Object,List)| Method Detail |
|---|
public static java.lang.String addSerialNumToPath(java.lang.String path,
int serialNum)
path - The path (String) parameter.serialNum - The serial num (int) parameter.
String) value.public static java.lang.String getChoiceId(java.lang.String choiceParamPath)
choiceParamPath - The choice param path (String) parameter.
String) value.public static java.lang.String getChoiceParamId(java.lang.String choiceParamPath)
choiceParamPath - The choice param path (String) parameter.
String) value.public static java.lang.String getElementPath(java.lang.String elementId)
elementId - The element ID (String) parameter.
String) value.getElementPath(String,String)
public static java.lang.String getElementPath(java.lang.String choiceId,
java.lang.String elementId)
choiceId - The choice ID (String) parameter.elementId - The element ID (String) parameter.
String) value.getElementPath(String)public static java.lang.String getParamId(java.lang.String name)
name - The name (String) parameter.
String) value.getChoiceParamId(String),
getParamId()public static int getSerialNo(java.lang.String name)
name - The name (String) parameter.
int) value.getSerialNo()public static boolean isChoiceParamPath(java.lang.String path)
path - The path (String) parameter.
boolean) value.protected java.lang.String getFormHeader(java.lang.String servletPath)
servletPath - The servlet path (String) parameter.
String) value.protected java.lang.String getFormTail(boolean subParamOnly)
subParamOnly - The sub param only (boolean) parameter.
String) value.public java.util.List getHistoryChain()
List) value.public java.lang.String getHtml(java.lang.String servletPath)
servletPath - The servlet path (String) parameter.
String) value.getNavigatorHtml(String)protected java.lang.String getNavigatorHtml(java.lang.String servletPath)
servletPath - The servlet path (String) parameter.
String) value.public java.lang.String getParamId()
String) value.getChoiceParamId(String),
getParamId(String)public IReaderCapabilities getReaderCapabilities()
IReaderCapabilities) value.public int getSerialNo()
int) value.getSerialNo(String)public boolean isValidSubparameters()
boolean) value.isValidSubparameters(String,Map)
protected boolean isValidSubparameters(java.lang.String paramId,
java.util.Map paramObj)
paramId - The param ID (String) parameter.paramObj - The param obj (Map) parameter.
boolean) value.isValidSubparameters()public boolean setParamValues(javax.servlet.http.HttpServletRequest request)
request - The request (HttpServletRequest) parameter.
boolean) value.
|
2009-10-01 1.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||