|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fosstrak.llrp.adaptor.config.AdaptorConfiguration
public class AdaptorConfiguration
a prototype class holding all information to create a adaptor.
Constructor Summary | |
---|---|
AdaptorConfiguration(java.lang.String adaptorName,
java.lang.String ip,
boolean isLocal,
java.lang.String prefix)
constructor for a configuration prototype. |
Method Summary | |
---|---|
java.lang.String |
getAdaptorName()
returns the name of the adaptor. |
java.lang.String |
getIp()
returns the ip of the adaptor if remote. |
java.lang.String |
getPrefix()
returns the prefix. |
java.util.List<ReaderConfiguration> |
getReaderPrototypes()
returns the configuration for all the readers of this adaptor. |
boolean |
isLocal()
flags whether remote or local. |
void |
setAdaptorName(java.lang.String adaptorName)
sets the name of the adaptor. |
void |
setReaderConfigurations(java.util.List<ReaderConfiguration> readerConfigurations)
sets the configuration for all the readers of this adaptor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdaptorConfiguration(java.lang.String adaptorName, java.lang.String ip, boolean isLocal, java.lang.String prefix)
adaptorName
- the name of the adaptor.ip
- the ip of the adaptor if remote.isLocal
- flags whether remote or local.prefix
- the prefix (needed in the configurations. only for parsing.) unless you are not
writing your own configuration loader it is safe to pass null here.Method Detail |
---|
public java.lang.String getAdaptorName()
public void setAdaptorName(java.lang.String adaptorName)
adaptorName
- the name of the adaptor.public java.lang.String getIp()
public boolean isLocal()
public java.lang.String getPrefix()
public java.util.List<ReaderConfiguration> getReaderPrototypes()
public void setReaderConfigurations(java.util.List<ReaderConfiguration> readerConfigurations)
readerConfigurations
- the configuration for all the readers of this adaptor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |