com.semarchy.mdm.runtime.model.logical
Enum FLCType

java.lang.Object
  extended by java.lang.Enum<FLCType>
      extended by com.semarchy.mdm.runtime.model.logical.FLCType
All Implemented Interfaces:
Serializable, Comparable<FLCType>

public enum FLCType
extends Enum<FLCType>

Type of Fiel-Level-Consolidation strategies

Author:
skamel

Enum Constant Summary
ANY_VALUE
          Any value: The consolidation will pick a random master record
CUSTOM_RANKING
          Custom Ranking: The consolidation will pick the master record based on a ranking expression
LARGEST_VALUE
          Largest value: The consolidation will pick the master record having the largest value in the given field
LONGEST_VALUE
          Longest value: The consolidation will pick the master record having the longest value in the given field
MOST_FREQ_VALUE
          Most frequent value: The consolidation will pick the master record having the most frequent value in the given field
PREFERRED_SOURCE
          Prefered Source: The consolidation will pick the value from the master record having the highest publishers ranking
SHORTEST_VALUE
          Shortest value: The consolidation will pick the master record having the shortest value in the given field
SMALLEST_VALUE
          Smallest value: The consolidation will pick the master record having the smallest value in the given field
 
Method Summary
static FLCType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FLCType[] 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

ANY_VALUE

public static final FLCType ANY_VALUE
Any value: The consolidation will pick a random master record


CUSTOM_RANKING

public static final FLCType CUSTOM_RANKING
Custom Ranking: The consolidation will pick the master record based on a ranking expression


LARGEST_VALUE

public static final FLCType LARGEST_VALUE
Largest value: The consolidation will pick the master record having the largest value in the given field


LONGEST_VALUE

public static final FLCType LONGEST_VALUE
Longest value: The consolidation will pick the master record having the longest value in the given field


MOST_FREQ_VALUE

public static final FLCType MOST_FREQ_VALUE
Most frequent value: The consolidation will pick the master record having the most frequent value in the given field


PREFERRED_SOURCE

public static final FLCType PREFERRED_SOURCE
Prefered Source: The consolidation will pick the value from the master record having the highest publishers ranking


SHORTEST_VALUE

public static final FLCType SHORTEST_VALUE
Shortest value: The consolidation will pick the master record having the shortest value in the given field


SMALLEST_VALUE

public static final FLCType SMALLEST_VALUE
Smallest value: The consolidation will pick the master record having the smallest value in the given field

Method Detail

values

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

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

valueOf

public static FLCType 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 © 2015. All Rights Reserved.