org.chromium.sdk/src/org/chromium/sdk/internal/PropertyReference.java
changeset 276 f2f4a1259de8
parent 2 e4420d2515f1
--- a/org.chromium.sdk/src/org/chromium/sdk/internal/PropertyReference.java	Thu Mar 18 11:10:35 2010 -0700
+++ b/org.chromium.sdk/src/org/chromium/sdk/internal/PropertyReference.java	Thu Mar 18 11:56:59 2010 -0700
@@ -9,7 +9,7 @@
  * A named property reference.
  */
 public class PropertyReference {
-  private final String name;
+  private final Object name;
 
   private final DataWithRef smthWithRef;
 
@@ -17,7 +17,7 @@
    * @param propertyName the name of the property
    * @param valueObject a JSON descriptor of the property
    */
-  public PropertyReference(String propertyName, DataWithRef smthWithRef) {
+  public PropertyReference(Object propertyName, DataWithRef smthWithRef) {
     this.name = propertyName;
     this.smthWithRef = smthWithRef;
   }
@@ -26,7 +26,7 @@
     return smthWithRef.ref();
   }
 
-  public String getName() {
+  public Object getName() {
     return name;
   }