|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.stanwood.media.setup.BaseMediaDirSubItem
public class BaseMediaDirSubItem
This is a base class for all sub items of the media directory configuration.
Constructor Summary | |
---|---|
BaseMediaDirSubItem()
|
Method Summary | |
---|---|
void |
addParam(java.lang.String key,
java.lang.String value)
Used to add a parameter of the store/store/action to it's configuration. |
java.lang.String |
getID()
Used to get the ID of the store/store/action. |
int |
getNumber()
Used to get the index number of the store within the configuration |
java.util.Map<java.lang.String,java.lang.String> |
getParams()
Used to get the key/value pair parameters of the store/store/action. |
void |
setID(java.lang.String id)
Used to set the ID of the store/store/action. |
void |
setNumber(int num)
Used set the index number of the store within the configuration |
void |
setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
Used to set the parameters |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseMediaDirSubItem()
Method Detail |
---|
public java.lang.String getID()
public void setID(java.lang.String id)
id
- The ID of the store.public java.util.Map<java.lang.String,java.lang.String> getParams()
public void addParam(java.lang.String key, java.lang.String value)
key
- The key of the parametervalue
- The value of the parameterpublic java.lang.String toString()
toString
in class java.lang.Object
public void setParameters(java.util.Map<java.lang.String,java.lang.String> parameters)
parameters
- The parameterspublic void setNumber(int num)
num
- the index number of the store within the configurationpublic int getNumber()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |