de.smartics.properties.integration.cdi
Enum ConfigurationValidationNumberCode

Package class diagram package ConfigurationValidationNumberCode
java.lang.Object
  extended by java.lang.Enum<ConfigurationValidationNumberCode>
      extended by de.smartics.properties.integration.cdi.ConfigurationValidationNumberCode
All Implemented Interfaces:
de.smartics.exceptions.code.NumberCode, de.smartics.exceptions.core.Code, Serializable, Comparable< ConfigurationValidationNumberCode>

public enum ConfigurationValidationNumberCode
     
     
extends Enum< ConfigurationValidationNumberCode>
implements de.smartics.exceptions.code.NumberCode

Enumeration of the configuration validation exception codes.


Enum Constant Summary
MARKER_ANNOTATION_NOT_FOUND
          No class has been annotated with the marker annotation Application.
TOO_MANY_CLASSES_ANNOTATED
          More than one class has been annotated with the marker annotation Application.
 
Method Summary
 String getCode()
          
 String getComponentId()
          
 String getDisplayId()
          
 Integer getMajorNumber()
          
 Integer getMinorNumber()
          
 String toString()
          Returns the string representation of the object.
static ConfigurationValidationNumberCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConfigurationValidationNumberCode[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MARKER_ANNOTATION_NOT_FOUND

public static final ConfigurationValidationNumberCode MARKER_ANNOTATION_NOT_FOUND
No class has been annotated with the marker annotation Application.


TOO_MANY_CLASSES_ANNOTATED

public static final ConfigurationValidationNumberCode TOO_MANY_CLASSES_ANNOTATED
More than one class has been annotated with the marker annotation Application.

Method Detail

values

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

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

valueOf

public static ConfigurationValidationNumberCode 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

getCode

public String getCode()

Specified by:
getCode in interface de.smartics.exceptions.core.Code

getComponentId

public String getComponentId()

Specified by:
getComponentId in interface de.smartics.exceptions.core.Code

getDisplayId

public String getDisplayId()

Specified by:
getDisplayId in interface de.smartics.exceptions.core.Code
See Also:
Code.getDisplayId()

getMajorNumber

public Integer getMajorNumber()

Specified by:
getMajorNumber in interface de.smartics.exceptions.code.NumberCode
See Also:
NumberCode.getMajorNumber()

getMinorNumber

public Integer getMinorNumber()

Specified by:
getMinorNumber in interface de.smartics.exceptions.code.NumberCode
See Also:
NumberCode.getMinorNumber()

toString

public String toString()
Returns the string representation of the object.

Specified by:
toString in interface de.smartics.exceptions.core.Code
Overrides:
toString in class Enum<ConfigurationValidationNumberCode>
Returns:
the string representation of the object.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.