Enum VitroModelSource.ModelName
- java.lang.Object
-
- java.lang.Enum<VitroModelSource.ModelName>
-
- edu.cornell.mannlib.vitro.webapp.dao.jena.VitroModelSource.ModelName
-
- All Implemented Interfaces:
Serializable,Comparable<VitroModelSource.ModelName>
- Enclosing class:
- VitroModelSource
public static enum VitroModelSource.ModelName extends Enum<VitroModelSource.ModelName>
Each of these values identifies a model in the system.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOXName for default assertion model.DISPLAYName for default display model related to ABOX and TBOX.DISPLAY_DISPLAYName for display model related to DISPLAY and DISPLAY_TBOX.DISPLAY_TBOXName for t-box for DISPLAY.TBOXName of default t-box for default assertion model.USER_ACCOUNTSName for user accounts model.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VitroModelSource.ModelNamevalueOf(String name)Returns the enum constant of this type with the specified name.static VitroModelSource.ModelName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABOX
public static final VitroModelSource.ModelName ABOX
Name for default assertion model.
-
TBOX
public static final VitroModelSource.ModelName TBOX
Name of default t-box for default assertion model.
-
DISPLAY
public static final VitroModelSource.ModelName DISPLAY
Name for default display model related to ABOX and TBOX.
-
DISPLAY_TBOX
public static final VitroModelSource.ModelName DISPLAY_TBOX
Name for t-box for DISPLAY.
-
DISPLAY_DISPLAY
public static final VitroModelSource.ModelName DISPLAY_DISPLAY
Name for display model related to DISPLAY and DISPLAY_TBOX.
-
USER_ACCOUNTS
public static final VitroModelSource.ModelName USER_ACCOUNTS
Name for user accounts model.
-
-
Method Detail
-
values
public static VitroModelSource.ModelName[] 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 (VitroModelSource.ModelName c : VitroModelSource.ModelName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VitroModelSource.ModelName 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
-
-