package org.ovirt.engine.core.common.businessentities; import java.util.HashMap; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlType; //C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to .NET attributes: @XmlAccessorType(XmlAccessType.NONE) @XmlType(name = "TabType") public enum TabType { // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Hosts(0), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Vms(1), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Users(2), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Templates(3), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Events(4), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] DataCenters(5), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Clusters(6), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Storage(7), // C# TO JAVA CONVERTER TODO TASK: Java annotations will not correspond to // .NET attributes: // [EnumMember] Pools(8); private int intValue; private static java.util.HashMap<Integer, TabType> mappings = new HashMap<Integer, TabType>(); static { for (TabType type : values()) { mappings.put(type.getValue(), type); } } private TabType(int value) { intValue = value; } public int getValue() { return intValue; } public static TabType forValue(int value) { return mappings.get(value); } }