Package com.iizix.urn
Enum Class URNLocation
- All Implemented Interfaces:
- Serializable,- Comparable<URNLocation>,- Constable
The URN NID location: local file, database or external URL.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDatabase, stored in a database table indirectly defined by depending the- WSFileTypeimplementation.External URL, typically using the "file:" protocol.Local file, stored in one of the directories depending on the- WSFileType.
- Method SummaryModifier and TypeMethodDescription- static URNLocationReturns the enum constant of this class with the specified name.- static URNLocation[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- LOCAL_FILELocal file, stored in one of the directories depending on the- WSFileType.
- DATABASEDatabase, stored in a database table indirectly defined by depending the- WSFileTypeimplementation.
- EXTERNAL_URLExternal URL, typically using the "file:" protocol. The URL must be accessible by all servers in a cluster, using (very fast) high-speed data transfer as this resource is NOT cached on each server. The reason for not caching on the server is that this type of resource can be used for large resources such as videos, etc, exceeding the database file storage size of 32 MB (33_554_432 bytes),
 
- Method Details- valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
- NullPointerException- if the argument is null