Package adalid.core.enums
Enum VirtualEntityType
- java.lang.Object
-
- java.lang.Enum<VirtualEntityType>
-
- adalid.core.enums.VirtualEntityType
-
- All Implemented Interfaces:
Serializable,Comparable<VirtualEntityType>
public enum VirtualEntityType extends Enum<VirtualEntityType>
- Author:
- Jorge Campins
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LINEA table hierarquical line, up to its root.QUERYAny other kind of view, defined by a sql query.SELECTIONA single table view.SNOWFLAKEA table joined with all its directly or indirectly linked tables.STARA table joined with all its directly linked tables.STAR_LINEA table joined with all its directly linked tables plus the tables in its hierarquical line.STARRY_LINEA table hierarquical line joined with all tables directly linked to any table of the line.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VirtualEntityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VirtualEntityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECTION
public static final VirtualEntityType SELECTION
A single table view.
-
LINE
public static final VirtualEntityType LINE
A table hierarquical line, up to its root.
-
STAR
public static final VirtualEntityType STAR
A table joined with all its directly linked tables.
-
STAR_LINE
public static final VirtualEntityType STAR_LINE
A table joined with all its directly linked tables plus the tables in its hierarquical line.
-
STARRY_LINE
public static final VirtualEntityType STARRY_LINE
A table hierarquical line joined with all tables directly linked to any table of the line.
-
SNOWFLAKE
public static final VirtualEntityType SNOWFLAKE
A table joined with all its directly or indirectly linked tables.
-
QUERY
public static final VirtualEntityType QUERY
Any other kind of view, defined by a sql query.
-
-
Method Detail
-
values
public static VirtualEntityType[] 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 (VirtualEntityType c : VirtualEntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VirtualEntityType 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 nameNullPointerException- if the argument is null
-
-