Class FieldVariableType


  • public class FieldVariableType
    extends FieldType
    Represents an OPC UA field variable type.
    Author:
    Jan-Hendrik Cepok, SSE
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String dimensions  
      private java.lang.String level  
      private boolean optional  
      private java.lang.String rank  
      private java.lang.String variableType  
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldVariableType​(java.lang.String nodeId, java.lang.String browseName, java.lang.String displayName, java.lang.String description, java.lang.String dataType, java.lang.String variableType, boolean optional, java.lang.String level, java.lang.String rank, java.lang.String dimensions)
      Creates an OPC UA field variable type instance.
    • Field Detail

      • variableType

        private java.lang.String variableType
      • optional

        private boolean optional
      • level

        private java.lang.String level
      • rank

        private java.lang.String rank
      • dimensions

        private java.lang.String dimensions
    • Constructor Detail

      • FieldVariableType

        public FieldVariableType​(java.lang.String nodeId,
                                 java.lang.String browseName,
                                 java.lang.String displayName,
                                 java.lang.String description,
                                 java.lang.String dataType,
                                 java.lang.String variableType,
                                 boolean optional,
                                 java.lang.String level,
                                 java.lang.String rank,
                                 java.lang.String dimensions)
        Creates an OPC UA field variable type instance.
        Parameters:
        nodeId - the node id
        browseName - the browse name
        displayName - the display name
        description - the description
        dataType - the type of the field
        variableType - the variable type
        optional - whether the type is optional
        level - the level
        rank - the rank
        dimensions - the dimensions
    • Method Detail

      • getVariableType

        public java.lang.String getVariableType()
        Returns the variable type.
        Returns:
        the variable type
      • getLevel

        public java.lang.String getLevel()
        Returns the level.
        Returns:
        the level
      • getRank

        public java.lang.String getRank()
        Returns the rank.
        Returns:
        the rank
      • getDimensions

        public java.lang.String getDimensions()
        Returns the dimensions.
        Returns:
        the dimensions
      • toString

        public java.lang.String toString()
        Description copied from class: BaseType
        Formats the respective OPC UA type in IVML.
        Overrides:
        toString in class FieldType
        Returns:
        the IVML representation of the OPC UA type