ch.sahits.model.java
Enum EVisibility

java.lang.Object
  extended by java.lang.Enum<EVisibility>
      extended by ch.sahits.model.java.EVisibility
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EVisibility>

public enum EVisibility
extends java.lang.Enum<EVisibility>

This enumeration holds the modifiers for the visibility

Since:
0.9.1
Author:
Andi Hotz

Enum Constant Summary
DEFAULT
          package private
PRIVATE
          Private
PROTECTED
          Protected
PUBLIC
          public
 
Method Summary
 java.lang.String toJetString()
          Convenience method for jetemplates that represents this instance as the correct Java modifier
static EVisibility valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EVisibility[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PUBLIC

public static final EVisibility PUBLIC
public


DEFAULT

public static final EVisibility DEFAULT
package private


PROTECTED

public static final EVisibility PROTECTED
Protected


PRIVATE

public static final EVisibility PRIVATE
Private

Method Detail

values

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

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

valueOf

public static EVisibility valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toJetString

public java.lang.String toJetString()
Convenience method for jetemplates that represents this instance as the correct Java modifier

Returns:
String representation of the visibility