net.sourceforge.domian.repository
Enum PersistenceGranularityDefinition

java.lang.Object
  extended by java.lang.Enum<PersistenceGranularityDefinition>
      extended by net.sourceforge.domian.repository.PersistenceGranularityDefinition
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PersistenceGranularityDefinition>

Deprecated.

@Deprecated
 enum PersistenceGranularityDefinition
extends java.lang.Enum<PersistenceGranularityDefinition>

Enum defining the granularity scope when persisting.


Enum Constant Summary
ENTITY
          Deprecated. Deals only with altered entities/aggregates when persisting.
FIELD
          Deprecated. Deals only with altered entity fields when persisting.
REPOSITORY
          Deprecated. Always deals with the entire repository when persisting.
 
Method Summary
static PersistenceGranularityDefinition valueOf(java.lang.String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static PersistenceGranularityDefinition[] values()
          Deprecated. 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

REPOSITORY

public static final PersistenceGranularityDefinition REPOSITORY
Deprecated. 
Always deals with the entire repository when persisting.


ENTITY

public static final PersistenceGranularityDefinition ENTITY
Deprecated. 
Deals only with altered entities/aggregates when persisting.


FIELD

public static final PersistenceGranularityDefinition FIELD
Deprecated. 
Deals only with altered entity fields when persisting.

Method Detail

values

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

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

valueOf

public static PersistenceGranularityDefinition valueOf(java.lang.String name)
Deprecated. 
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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Copyright © 2006-2009. All Rights Reserved.