summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/jingle/JingleContentID.java')
-rw-r--r--src/com/isode/stroke/jingle/JingleContentID.java33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/com/isode/stroke/jingle/JingleContentID.java b/src/com/isode/stroke/jingle/JingleContentID.java
new file mode 100644
index 0000000..ef959e6
--- /dev/null
+++ b/src/com/isode/stroke/jingle/JingleContentID.java
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2011-2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+/*
+ * Copyright (c) 2015 Tarun Gupta.
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+package com.isode.stroke.jingle;
+
+import com.isode.stroke.elements.JingleContentPayload;
+
+public class JingleContentID {
+
+ private String name = "";
+ private JingleContentPayload.Creator creator;
+
+ public JingleContentID(final String name, JingleContentPayload.Creator creator) {
+ this.name = name;
+ this.creator = creator;
+ }
+
+ public String getName() {
+ return this.name;
+ }
+
+ public JingleContentPayload.Creator getCreator() {
+ return this.creator;
+ }
+} \ No newline at end of file