eu.xtreemos.xosd.xmlextractor.constants
Enum XACMLConstants.ResourceJSDLConstants

java.lang.Object
  extended by java.lang.Enum<XACMLConstants.ResourceJSDLConstants>
      extended by eu.xtreemos.xosd.xmlextractor.constants.XACMLConstants.ResourceJSDLConstants
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<XACMLConstants.ResourceJSDLConstants>
Enclosing class:
XACMLConstants

public static enum XACMLConstants.ResourceJSDLConstants
extends java.lang.Enum<XACMLConstants.ResourceJSDLConstants>

These constants are XPaths for JSDL tags from XML document.

Author:
ales

Enum Constant Summary
JsdlResourcesIndividualCPUCountExact
           
JsdlResourcesIndividualCPUCountLowerBoundedRange
           
JsdlResourcesIndividualCPUCountUpperBoundedRange
           
JsdlResourcesIndividualCPUSpeed
           
JsdlResourcesIndividualMemorySizeLowerBoundedRange
           
JsdlResourcesIndividualMemorySizeUpperBoundedRange
           
JsdlResourcesNetworkNetmask
           
JsdlResourcesNetworkPorts
           
JsdlResourcesNetworkProto
           
JsdlResourcesOSTypeName
           
JsdlResourcesResourceCountExact
           
 
Field Summary
private  java.lang.String attributeName
           
private  java.lang.String dataType
           
private  java.lang.String xpath
           
 
Method Summary
 java.lang.String getAttributeName()
           
 java.lang.String getDataType()
          Gets datatype od the attribute.
 java.lang.String getXPath()
           
static XACMLConstants.ResourceJSDLConstants valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static XACMLConstants.ResourceJSDLConstants[] 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

JsdlResourcesOSTypeName

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesOSTypeName

JsdlResourcesIndividualCPUSpeed

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualCPUSpeed

JsdlResourcesIndividualCPUCountExact

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualCPUCountExact

JsdlResourcesIndividualCPUCountLowerBoundedRange

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualCPUCountLowerBoundedRange

JsdlResourcesIndividualCPUCountUpperBoundedRange

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualCPUCountUpperBoundedRange

JsdlResourcesIndividualMemorySizeLowerBoundedRange

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualMemorySizeLowerBoundedRange

JsdlResourcesIndividualMemorySizeUpperBoundedRange

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesIndividualMemorySizeUpperBoundedRange

JsdlResourcesNetworkProto

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesNetworkProto

JsdlResourcesNetworkNetmask

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesNetworkNetmask

JsdlResourcesNetworkPorts

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesNetworkPorts

JsdlResourcesResourceCountExact

public static final XACMLConstants.ResourceJSDLConstants JsdlResourcesResourceCountExact
Field Detail

xpath

private java.lang.String xpath

attributeName

private java.lang.String attributeName

dataType

private java.lang.String dataType
Method Detail

values

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

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

valueOf

public static XACMLConstants.ResourceJSDLConstants 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

getAttributeName

public java.lang.String getAttributeName()

getXPath

public java.lang.String getXPath()

getDataType

public java.lang.String getDataType()
Gets datatype od the attribute.

Returns:
String presenting XACML datatype