Skip navigation links


Thor.API.Base
Class tcBaseUtility.Entities

java.lang.Object
  extended by java.lang.Enum
      extended by Thor.API.Base.tcBaseUtility.Entities

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable
Enclosing class:
tcBaseUtility

public static class tcBaseUtility.Entities
extends java.lang.Enum

The following enum serves two purposes: 1. It organizes the entity names used, especially by the backwards compatibility project 2. More importantly, it implements the "Poor Man's Inheritance" Pattern: allowing entity-specific behavior without touching all the derived classes, as would otherwise be necessary by using abstract methods.

See Also:
Serialized Form

Field Summary
static tcBaseUtility.Entities GROUP
           
static tcBaseUtility.Entities ORGANIZATION
           
static tcBaseUtility.Entities USER
           

 

Method Summary
abstract  java.util.Map getColumnCodeAndEntityAttrMap()
           
abstract  java.lang.Object getManager()
           
 java.lang.String toString()
           
static tcBaseUtility.Entities valueOf(java.lang.String name)
           
static tcBaseUtility.Entities[] values()
           

 

Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

USER

public static final tcBaseUtility.Entities USER

GROUP

public static final tcBaseUtility.Entities GROUP

ORGANIZATION

public static final tcBaseUtility.Entities ORGANIZATION

Method Detail

values

public static tcBaseUtility.Entities[] values()

valueOf

public static tcBaseUtility.Entities valueOf(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum

getManager

public abstract java.lang.Object getManager()

getColumnCodeAndEntityAttrMap

public abstract java.util.Map getColumnCodeAndEntityAttrMap()

Skip navigation links


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.