org.apache.stanbol.entityhub.servicesapi.yard
Enum CacheingLevel

java.lang.Object
  extended by java.lang.Enum<CacheingLevel>
      extended by org.apache.stanbol.entityhub.servicesapi.yard.CacheingLevel
All Implemented Interfaces:
Serializable, Comparable<CacheingLevel>

public enum CacheingLevel
extends Enum<CacheingLevel>


Enum Constant Summary
base
          This indicated that a document in the cache confirms to the specification as stored within the cache.
special
          If a Document is updated in the cache, than there may be more information be stored as defined by the initial creation of a cache.
 
Method Summary
static CacheingLevel valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CacheingLevel[] 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

base

public static final CacheingLevel base
This indicated that a document in the cache confirms to the specification as stored within the cache. This configuration is stored within the cache and only be changed for an empty cache.


special

public static final CacheingLevel special
If a Document is updated in the cache, than there may be more information be stored as defined by the initial creation of a cache.

This level indicates that a document includes all the field defined for base but also some additional information.

Method Detail

values

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

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

valueOf

public static CacheingLevel 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 © 2010-2013 The Apache Software Foundation. All Rights Reserved.