com.force.sdk.jpa.table
Enum TableName.Type

java.lang.Object
  extended by java.lang.Enum<TableName.Type>
      extended by com.force.sdk.jpa.table.TableName.Type
All Implemented Interfaces:
Serializable, Comparable<TableName.Type>
Enclosing class:
TableName

public static enum TableName.Type
extends Enum<TableName.Type>

Enum of all possible table types.


Enum Constant Summary
Custom
          Custom Force.com table.
CustomComponent
          Custom Force.com component.
CustomRelationship
          Custom Force.com relationship.
Feed
          Force.com Chatter feed.
KnowledgeArticle
          Force.com knowledge article.
KnowledgeArticleVersion
          Force.com knowledge article version.
Standard
          Standard Force.com table.
 
Method Summary
static TableName.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TableName.Type[] 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

Standard

public static final TableName.Type Standard
Standard Force.com table.


Custom

public static final TableName.Type Custom
Custom Force.com table.


CustomRelationship

public static final TableName.Type CustomRelationship
Custom Force.com relationship.


CustomComponent

public static final TableName.Type CustomComponent
Custom Force.com component.


KnowledgeArticle

public static final TableName.Type KnowledgeArticle
Force.com knowledge article.


KnowledgeArticleVersion

public static final TableName.Type KnowledgeArticleVersion
Force.com knowledge article version.


Feed

public static final TableName.Type Feed
Force.com Chatter feed.

Method Detail

values

public static TableName.Type[] 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 (TableName.Type c : TableName.Type.values())
    System.out.println(c);

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

valueOf

public static TableName.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2011. All Rights Reserved.