com.eu.miscedautils.ipxact.Component
Enum UsageType

java.lang.Object
  extended by java.lang.Enum<UsageType>
      extended by com.eu.miscedautils.ipxact.Component.UsageType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<UsageType>

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

Java class for usageType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="usageType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="memory"/>
     <enumeration value="register"/>
     <enumeration value="reserved"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
MEMORY
          Denotes an address range that can be used for read-write or read-only data storage.
REGISTER
          Denotes an address block that is used to communicate with hardware.
RESERVED
          Denotes an address range that must remain unoccupied.
 
Method Summary
static UsageType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static UsageType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static UsageType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MEMORY

public static final UsageType MEMORY
Denotes an address range that can be used for read-write or read-only data storage.


REGISTER

public static final UsageType REGISTER
Denotes an address block that is used to communicate with hardware.


RESERVED

public static final UsageType RESERVED
Denotes an address range that must remain unoccupied.

Method Detail

values

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

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

valueOf

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

value

public java.lang.String value()

fromValue

public static UsageType fromValue(java.lang.String v)