org.jsmiparser.smi
Enum MacroType
java.lang.Object
java.lang.Enum<MacroType>
org.jsmiparser.smi.MacroType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MacroType>
public enum MacroType
- extends java.lang.Enum<MacroType>
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
OBJECT_TYPE_V1
public static final MacroType OBJECT_TYPE_V1
OBJECT_TYPE_V2
public static final MacroType OBJECT_TYPE_V2
OBJECT_IDENTITY
public static final MacroType OBJECT_IDENTITY
NOTIFICATION_TYPE
public static final MacroType NOTIFICATION_TYPE
TEXTUAL_CONVENTION
public static final MacroType TEXTUAL_CONVENTION
OBJECT_GROUP
public static final MacroType OBJECT_GROUP
NOTIFICATION_GROUP
public static final MacroType NOTIFICATION_GROUP
MODULE_COMPLIANCE
public static final MacroType MODULE_COMPLIANCE
AGENT_CAPABILITIES
public static final MacroType AGENT_CAPABILITIES
TRAP_TYPE
public static final MacroType TRAP_TYPE
values
public static final MacroType[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(MacroType c : MacroType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MacroType 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
getVersion
public SmiVersion getVersion()
getAccessFieldName
public java.lang.String getAccessFieldName()
Copyright © 2005-2007 null. All Rights Reserved.