com.sap.workspaces.workspace

Class Type

java.lang.Object
  extended by com.sap.workspaces.workspace.Type

public final class Type
extends Object

Enumeration of the workspace types


Field Summary
static Type PERSONAL
          Personal workspace
static Type SHARED
          Shared workspace
 
Constructor Summary
protected Type(String value)
          Constructs a new Type
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
static Type valueOf(String value)
          Converts the specified string value to the workspace type
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SHARED

public static final Type SHARED
Shared workspace


PERSONAL

public static final Type PERSONAL
Personal workspace

Constructor Detail

Type

protected Type(String value)
Constructs a new Type

Parameters:
value - string value, which can be later converted by the toString() method
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

valueOf

public static Type valueOf(String value)
Converts the specified string value to the workspace type

Parameters:
value - the string value of a workspace type
Returns:
workspace type object


Copyright 2010 SAP AG Complete Copyright Notice