FileDocCategorySizeDatePackage
SomeEnum.javaAPI DocExample303Mon Jul 23 13:26:26 BST 2007org.apache.struts2

SomeEnum.java

package org.apache.struts2;

public enum SomeEnum {
	
	INIT("init"), COMPLETED("completed");
	
	private String displayName;

	SomeEnum(String displayName) {
		this.displayName = displayName;
	}

	public String getName() {
		return name();
	}

	public String getDisplayName() {
		return displayName;
	}
}