Interface TrainSizeStructureOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TrainSizeStructure, TrainSizeStructure.Builder

public interface TrainSizeStructureOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Number of cars needed in TRAIN.
    Nature of Train Size., Short, long, normal.
    int
    Nature of Train Size., Short, long, normal.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getNumberOfCars

      int getNumberOfCars()
       Number of cars needed in TRAIN.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 239:81]
       
      uint32 number_of_cars = 1;
      Returns:
      The numberOfCars.
    • getTrainSizeTypeValue

      int getTrainSizeTypeValue()
       Nature of Train Size., Short, long, normal. Default is normal.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 244:97]
       
      .uk.org.netex.www.netex.TrainSizeEnumeration train_size_type = 2;
      Returns:
      The enum numeric value on the wire for trainSizeType.
    • getTrainSizeType

      TrainSizeEnumeration getTrainSizeType()
       Nature of Train Size., Short, long, normal. Default is normal.  [netex_framework/netex_reusableComponents/netex_trainElement_version.xsd at 244:97]
       
      .uk.org.netex.www.netex.TrainSizeEnumeration train_size_type = 2;
      Returns:
      The trainSizeType.