X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=source%2Fmir%2Frss%2FRSSBasicModule.java;h=ed03310d234d72f3ad859dc7736e1c7e505e5f9a;hb=bc5374713b8c4146384052ee271f730f99619d8e;hp=550993a9b5af7973444fdeac38156806abd6b961;hpb=5fa251d77e61805908cee003a1777f59d8e79778;p=mir.git diff --git a/source/mir/rss/RSSBasicModule.java b/source/mir/rss/RSSBasicModule.java index 550993a9..ed03310d 100755 --- a/source/mir/rss/RSSBasicModule.java +++ b/source/mir/rss/RSSBasicModule.java @@ -58,16 +58,22 @@ public class RSSBasicModule implements RSSModule { } 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() { @@ -77,5 +83,10 @@ public class RSSBasicModule implements RSSModule { public int getType() { return type; } + + public boolean getIsMultiValued() { + return multivalued; + } + } } \ No newline at end of file