Spring Social Yammer

org.springframework.social.yammer.api
Enum OpenGraphObject.ObjectType

java.lang.Object
  extended by java.lang.Enum<OpenGraphObject.ObjectType>
      extended by org.springframework.social.yammer.api.OpenGraphObject.ObjectType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OpenGraphObject.ObjectType>
Enclosing class:
OpenGraphObject

public static enum OpenGraphObject.ObjectType
extends java.lang.Enum<OpenGraphObject.ObjectType>

Enum for the Open Graph Object types supported by Yammer


Enum Constant Summary
ARTICLE
           
AUDIO
           
BLOG
           
COMPANY
           
CUSTOMER
           
DEPARTMENT
           
DOCUMENT
           
EMPLOYEE
           
FILE
           
IMAGE
           
OFFICE
           
PAGE
           
PARTNER
           
PLACE
           
PRODUCT
           
PROFILE
           
PROJECT
           
ROOM
           
SUPPLIER
           
TEAM
           
VIDEO
           
WEBSITE
           
WIKI
           
 
Method Summary
 java.lang.String getTypeString()
           
static OpenGraphObject.ObjectType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OpenGraphObject.ObjectType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EMPLOYEE

public static final OpenGraphObject.ObjectType EMPLOYEE

COMPANY

public static final OpenGraphObject.ObjectType COMPANY

PRODUCT

public static final OpenGraphObject.ObjectType PRODUCT

PROFILE

public static final OpenGraphObject.ObjectType PROFILE

ARTICLE

public static final OpenGraphObject.ObjectType ARTICLE

BLOG

public static final OpenGraphObject.ObjectType BLOG

WEBSITE

public static final OpenGraphObject.ObjectType WEBSITE

PAGE

public static final OpenGraphObject.ObjectType PAGE

PLACE

public static final OpenGraphObject.ObjectType PLACE

OFFICE

public static final OpenGraphObject.ObjectType OFFICE

ROOM

public static final OpenGraphObject.ObjectType ROOM

CUSTOMER

public static final OpenGraphObject.ObjectType CUSTOMER

PARTNER

public static final OpenGraphObject.ObjectType PARTNER

SUPPLIER

public static final OpenGraphObject.ObjectType SUPPLIER

DEPARTMENT

public static final OpenGraphObject.ObjectType DEPARTMENT

TEAM

public static final OpenGraphObject.ObjectType TEAM

PROJECT

public static final OpenGraphObject.ObjectType PROJECT

FILE

public static final OpenGraphObject.ObjectType FILE

DOCUMENT

public static final OpenGraphObject.ObjectType DOCUMENT

IMAGE

public static final OpenGraphObject.ObjectType IMAGE

AUDIO

public static final OpenGraphObject.ObjectType AUDIO

VIDEO

public static final OpenGraphObject.ObjectType VIDEO

WIKI

public static final OpenGraphObject.ObjectType WIKI
Method Detail

values

public static OpenGraphObject.ObjectType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (OpenGraphObject.ObjectType c : OpenGraphObject.ObjectType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OpenGraphObject.ObjectType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getTypeString

public java.lang.String getTypeString()

Spring Social Yammer