/*
 * Copyright (c) 2010-2011 Mark Allen.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

package com.restfb.types;

import com.restfb.Facebook;

/**
 * Superclass for <a
 * href="http://developers.facebook.com/docs/reference/api/">Graph API types</a>
 * that include a {@code name} field.
 * 
 * @author <a href="http://restfb.com">Mark Allen</a>
 * @since 1.5
 */
public class NamedFacebookType extends FacebookType {
  @Facebook
  private String name;

  /**
   * The name field for this type.
   * 
   * @return The name field for this type.
   */
  public String getName() {
    return name;
  }
}
@@ -1169,16 +1169,107 @@
 pes;%0D%0A%0D%0A
+import static com.restfb.util.DateUtils.toDateFromLongFormat;%0D%0A%0D%0Aimport java.util.Date;%0D%0A%0D%0A
 import c
@@ -1289,16 +1289,16 @@
 ebook;%0D%0A
-
 %0D%0A/**%0D%0A 
@@ -1430,16 +1430,66 @@
 de name%7D
+ field and (optionally) a %7B@code created_time%7D%0D%0A *
  field.%0D
@@ -1549,16 +1549,44 @@
 en%3C/a%3E%0D%0A
+ * @author Patrick Alberts%0D%0A
  * @sinc
@@ -1691,16 +1691,78 @@
 ame;%0D%0A%0D%0A
+  @Facebook(%22created_time%22)%0D%0A  private String createdTime;%0D%0A%0D%0A
   /**%0D%0A 
@@ -1883,16 +1883,16 @@
 me() %7B%0D%0A
-
     retu
@@ -1905,10 +1905,258 @@
 e;%0D%0A  %7D%0D
+%0A%0D%0A  /**%0D%0A   * The time at which this object was created, if available.%0D%0A   * %0D%0A   * @return The time at which this object was created.%0D%0A   * @since 1.6.3%0D%0A   */%0D%0A  public Date getCreatedTime() %7B%0D%0A    return toDateFromLongFormat(createdTime);%0D%0A  %7D%0D
 %0A%7D

Fix for #114: added "created_time" to NamedFacebookType.