com.prosysopc.ua
Class ValueRanks

java.lang.Object
  extended by com.prosysopc.ua.ValueRanks

public class ValueRanks
extends Object

Constant values for the ValueRank attribute of VariableNode. n>1: the Value is an array with the specified number of dimensions.


Field Summary
static int Any
           
static int OneDimension
           
static int OneOrMoreDimensions
           
static int Scalar
           
static int ScalarOrOneDimension
           
 
Constructor Summary
ValueRanks()
           
 
Method Summary
static String toString(int valueRank)
          Converts an integer corresponding to a ValueRank value to a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Any

public static final int Any
See Also:
Constant Field Values

OneDimension

public static final int OneDimension
See Also:
Constant Field Values

OneOrMoreDimensions

public static final int OneOrMoreDimensions
See Also:
Constant Field Values

Scalar

public static final int Scalar
See Also:
Constant Field Values

ScalarOrOneDimension

public static final int ScalarOrOneDimension
See Also:
Constant Field Values
Constructor Detail

ValueRanks

public ValueRanks()
Method Detail

toString

public static String toString(int valueRank)
Converts an integer corresponding to a ValueRank value to a string.

Parameters:
valueRank - the value of the ValueRank attribute of an UA node.
Returns:
the respective String. If the value matches any of the constants, that is returned. Otherwise, if positive, just the value with " Dimensions" added..


Copyright © 2018. All rights reserved.