}
public void addProperty(String aName, int aType) {
- properties.put(aName, new RSSBasicModuleProperty(aName, aType));
+ properties.put(aName, new RSSBasicModuleProperty(aName, aType, false));
+ }
+
+ public void addMultiValuedProperty(String aName, int aType) {
+ properties.put(aName, new RSSBasicModuleProperty(aName, aType, true));
}
private class RSSBasicModuleProperty implements RSSModuleProperty {
private String name;
private int type;
+ private boolean multivalued;
- public RSSBasicModuleProperty(String aName, int aType) {
+ public RSSBasicModuleProperty(String aName, int aType, boolean aMultiValued) {
name = aName;
type = aType;
+ multivalued = aMultiValued;
}
public String getName() {
public int getType() {
return type;
}
+
+ public boolean getIsMultiValued() {
+ return multivalued;
+ }
+
}
}
\ No newline at end of file