# Interface SmiValueType

All Known Subinterfaces:
  `SmiObjectType, SmiObjectTypeIndex, SmiTextualConvention`

public interface SmiValueType
Ths SmiValueType interface abstracts the common element of the OBJECT-TYPE and the TEXTUAL-CONVENTION SMI constructs.

Since:
  1.2 (Pro edition only)
Author:
  Frank Fock

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getSmiSyntax()`
  Gets the SMI syntax as defined by `SMIConstants` for this value type.
  `SmiSyntax`
  `getSyntax()`
  Gets the SYNTAX clause of this OBJECT-TYPE or TEXTUAL-CONVENTION.

- ## Method Details

  - ### getSyntax

    SmiSyntax getSyntax()
    Gets the SYNTAX clause of this OBJECT-TYPE or TEXTUAL-CONVENTION.
    Returns:
      a SmiSyntax instance representing the SYNTAX clause.

  - ### getSmiSyntax

    int getSmiSyntax()
    Gets the SMI syntax as defined by `SMIConstants` for this value type. If this SmiObject is not of type `SmiType.OBJECT_TYPE_SCALAR`, `SmiType.OBJECT_TYPE_COLUMN` and not of type `SmiType.TEXTUAL_CONVENTION` then zero is returned.
    Returns:
      the SMI BER syntax identifier or 0 if this object has no syntax.
    Since:
      1.3.2