Class FBObject
java.lang.Object
com.codename1.facebook.FBObject
public class FBObject
extends java.lang.Object
This is a base class for all FaceBook Objects
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FBObject
public FBObject()Empty Contructor -
FBObject
This contructor initialize it's attributes from the given Hashtable
Parameters
props: an Hashtable which contains the Object data
-
-
Method Details
-
getId
Simple getter
Returns
the facebook object id
-
setId
Simple setter
Parameters
id: the Object Id, each facebook element had an id
-
getName
Simple getter
Returns
the FB Object name
-
copy
copies the relevant values from the given hashtable
Parameters
props: an hashtable to copy from
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-