Package com.iizix.prop
Enum Class References.ReturnCode
- All Implemented Interfaces:
- IEnumLocaleKString,- IEnumLocaleString,- Serializable,- Comparable<References.ReturnCode>,- Constable
- Enclosing class:
- References
public static enum References.ReturnCode extends Enum<References.ReturnCode> implements IEnumLocaleKString
Reference collection return code.
Text IDs used
   references.rc.success   = Success.
   references.rc.not_found = Reference "{1}" not found from "{2}", in "{3}"
   references.rc.circular  = Circular reference "{1}" from "{2}" in "{3}"
   references.rc.crossover = Crossover to circular reference "{1}" from "{2}" in "{3}"
 - Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum Constants
- Field SummaryFields
- Method SummaryModifier and TypeMethodDescriptionGets the fallback String.- getID()Gets the text ID.Gets the fallback KString.- booleanChecks if the return code is success.- static References.ReturnCodeReturns the enum constant of this class with the specified name.- static References.ReturnCode[]- values()Returns an array containing the constants of this enum class, in the order they are declared.- Methods inherited from class java.lang.Enum- clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf- Methods inherited from interface com.iizix.text.IEnumLocaleKString- asKString, asKString- Methods inherited from interface com.iizix.text.IEnumLocaleString- asString, asString, asString, name, ordinal, valuesList
- Enum Constant Details- SUCCESSSuccess.
- NOT_FOUNDReference "target" not found from "source", type "reference-type".
- CIRCULARCircular reference in "target" from "source", type "reference-type".
- CROSSOVERCrossover to circular reference "target" from "source", type "reference-type".
 
- Field Details- englishMessageThe English text message fallback String.
- textIDThe text ID for the message, starts with "references.rc.".
 
- 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
 
- isSuccesspublic boolean isSuccess()Checks if the return code is success.- Returns:
- True only when it is SUCCESS.
 
- getIDGets the text ID.- Specified by:
- getIDin interface- IEnumLocaleString
- Returns:
- The text ID string.
 
- getFallbackGets the fallback String.- Specified by:
- getFallbackin interface- IEnumLocaleString
- Returns:
- The fallback string.
 
- getKStringFallbackGets the fallback KString.- Specified by:
- getKStringFallbackin interface- IEnumLocaleKString
- Returns:
- The fallback KString.