com.wewebu.ow.server.ui.viewer
Enum OwAnnotResultsEnum

java.lang.Object
  extended by java.lang.Enum<OwAnnotResultsEnum>
      extended by com.wewebu.ow.server.ui.viewer.OwAnnotResultsEnum
All Implemented Interfaces:
Serializable, Comparable<OwAnnotResultsEnum>

public enum OwAnnotResultsEnum
extends Enum<OwAnnotResultsEnum>

Enumeration of Results. This class represent the possible results for annotation info requests.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.2.0.0

Enum Constant Summary
DEFAULT_ID
          Value to represent a default setting
VALUE_ALLOW
          Value to allow a specified request
VALUE_DENY
          Value to deny a specified request
 
Method Summary
 String getValue()
           
static OwAnnotResultsEnum valueOf(String name)
          Returns the enum constant of this type with the specified name.
static OwAnnotResultsEnum[] 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

VALUE_ALLOW

public static final OwAnnotResultsEnum VALUE_ALLOW
Value to allow a specified request


VALUE_DENY

public static final OwAnnotResultsEnum VALUE_DENY
Value to deny a specified request


DEFAULT_ID

public static final OwAnnotResultsEnum DEFAULT_ID
Value to represent a default setting

Method Detail

values

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

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

valueOf

public static OwAnnotResultsEnum 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

getValue

public String getValue()


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.