Class EntitlementConstraintStructure.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EntitlementConstraintStructure.Builder>
com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder>
uk.org.netex.www.netex.EntitlementConstraintStructure.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, EntitlementConstraintStructureOrBuilder
Enclosing class:
EntitlementConstraintStructure

public static final class EntitlementConstraintStructure.Builder extends com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder> implements EntitlementConstraintStructureOrBuilder
 Entitlement constraints related product or offe.  +v1.1.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 190:57]
 
Protobuf type uk.org.netex.www.netex.EntitlementConstraintStructure
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder>
    • getDefaultInstanceForType

      public EntitlementConstraintStructure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public EntitlementConstraintStructure buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public EntitlementConstraintStructure.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntitlementConstraintStructure.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<EntitlementConstraintStructure.Builder>
    • mergeFrom

      public EntitlementConstraintStructure.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<EntitlementConstraintStructure.Builder>
      Throws:
      IOException
    • getPeriodConstraintValue

      public int getPeriodConstraintValue()
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Specified by:
      getPeriodConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for periodConstraint.
    • setPeriodConstraintValue

      public EntitlementConstraintStructure.Builder setPeriodConstraintValue(int value)
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Parameters:
      value - The enum numeric value on the wire for periodConstraint to set.
      Returns:
      This builder for chaining.
    • getPeriodConstraint

      public SamePeriodEnumeration getPeriodConstraint()
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Specified by:
      getPeriodConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The periodConstraint.
    • setPeriodConstraint

       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Parameters:
      value - The periodConstraint to set.
      Returns:
      This builder for chaining.
    • clearPeriodConstraint

      public EntitlementConstraintStructure.Builder clearPeriodConstraint()
       Constraints on  valdity period.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 220:84]
       
      .uk.org.netex.www.netex.SamePeriodEnumeration period_constraint = 1;
      Returns:
      This builder for chaining.
    • getOriginConstraintValue

      public int getOriginConstraintValue()
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Specified by:
      getOriginConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for originConstraint.
    • setOriginConstraintValue

      public EntitlementConstraintStructure.Builder setOriginConstraintValue(int value)
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Parameters:
      value - The enum numeric value on the wire for originConstraint to set.
      Returns:
      This builder for chaining.
    • getOriginConstraint

      public SameStopEnumeration getOriginConstraint()
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Specified by:
      getOriginConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The originConstraint.
    • setOriginConstraint

      public EntitlementConstraintStructure.Builder setOriginConstraint(SameStopEnumeration value)
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Parameters:
      value - The originConstraint to set.
      Returns:
      This builder for chaining.
    • clearOriginConstraint

      public EntitlementConstraintStructure.Builder clearOriginConstraint()
       Constraints on origin SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 232:82]
       
      .uk.org.netex.www.netex.SameStopEnumeration origin_constraint = 11;
      Returns:
      This builder for chaining.
    • getDestinationConstraintValue

      public int getDestinationConstraintValue()
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Specified by:
      getDestinationConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for destinationConstraint.
    • setDestinationConstraintValue

      public EntitlementConstraintStructure.Builder setDestinationConstraintValue(int value)
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Parameters:
      value - The enum numeric value on the wire for destinationConstraint to set.
      Returns:
      This builder for chaining.
    • getDestinationConstraint

      public SameStopEnumeration getDestinationConstraint()
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Specified by:
      getDestinationConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The destinationConstraint.
    • setDestinationConstraint

      public EntitlementConstraintStructure.Builder setDestinationConstraint(SameStopEnumeration value)
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Parameters:
      value - The destinationConstraint to set.
      Returns:
      This builder for chaining.
    • clearDestinationConstraint

      public EntitlementConstraintStructure.Builder clearDestinationConstraint()
       Constraints on  destination SCHEDULED STOP POINT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 237:87]
       
      .uk.org.netex.www.netex.SameStopEnumeration destination_constraint = 12;
      Returns:
      This builder for chaining.
    • getTariffZoneConstraintValue

      public int getTariffZoneConstraintValue()
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Specified by:
      getTariffZoneConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for tariffZoneConstraint.
    • setTariffZoneConstraintValue

      public EntitlementConstraintStructure.Builder setTariffZoneConstraintValue(int value)
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Parameters:
      value - The enum numeric value on the wire for tariffZoneConstraint to set.
      Returns:
      This builder for chaining.
    • getTariffZoneConstraint

      public SameZoneEnumeration getTariffZoneConstraint()
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Specified by:
      getTariffZoneConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The tariffZoneConstraint.
    • setTariffZoneConstraint

      public EntitlementConstraintStructure.Builder setTariffZoneConstraint(SameZoneEnumeration value)
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Parameters:
      value - The tariffZoneConstraint to set.
      Returns:
      This builder for chaining.
    • clearTariffZoneConstraint

      public EntitlementConstraintStructure.Builder clearTariffZoneConstraint()
       Constraints on TARIFF ZONE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 242:86]
       
      .uk.org.netex.www.netex.SameZoneEnumeration tariff_zone_constraint = 13;
      Returns:
      This builder for chaining.
    • getRouteConstraintValue

      public int getRouteConstraintValue()
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Specified by:
      getRouteConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for routeConstraint.
    • setRouteConstraintValue

      public EntitlementConstraintStructure.Builder setRouteConstraintValue(int value)
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Parameters:
      value - The enum numeric value on the wire for routeConstraint to set.
      Returns:
      This builder for chaining.
    • getRouteConstraint

      public SameRouteEnumeration getRouteConstraint()
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Specified by:
      getRouteConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The routeConstraint.
    • setRouteConstraint

       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Parameters:
      value - The routeConstraint to set.
      Returns:
      This builder for chaining.
    • clearRouteConstraint

      public EntitlementConstraintStructure.Builder clearRouteConstraint()
       Constraints on ROUTE  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 247:82]
       
      .uk.org.netex.www.netex.SameRouteEnumeration route_constraint = 14;
      Returns:
      This builder for chaining.
    • getDirectionConstraintValue

      public int getDirectionConstraintValue()
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Specified by:
      getDirectionConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for directionConstraint.
    • setDirectionConstraintValue

      public EntitlementConstraintStructure.Builder setDirectionConstraintValue(int value)
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Parameters:
      value - The enum numeric value on the wire for directionConstraint to set.
      Returns:
      This builder for chaining.
    • getDirectionConstraint

      public SameRouteEnumeration getDirectionConstraint()
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Specified by:
      getDirectionConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The directionConstraint.
    • setDirectionConstraint

      public EntitlementConstraintStructure.Builder setDirectionConstraint(SameRouteEnumeration value)
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Parameters:
      value - The directionConstraint to set.
      Returns:
      This builder for chaining.
    • clearDirectionConstraint

      public EntitlementConstraintStructure.Builder clearDirectionConstraint()
       Constraints on DIRECTION.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 252:86]
       
      .uk.org.netex.www.netex.SameRouteEnumeration direction_constraint = 15;
      Returns:
      This builder for chaining.
    • getOperatorConstraintValue

      public int getOperatorConstraintValue()
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Specified by:
      getOperatorConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for operatorConstraint.
    • setOperatorConstraintValue

      public EntitlementConstraintStructure.Builder setOperatorConstraintValue(int value)
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Parameters:
      value - The enum numeric value on the wire for operatorConstraint to set.
      Returns:
      This builder for chaining.
    • getOperatorConstraint

      public SameOperatorEnumeration getOperatorConstraint()
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Specified by:
      getOperatorConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The operatorConstraint.
    • setOperatorConstraint

       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Parameters:
      value - The operatorConstraint to set.
      Returns:
      This builder for chaining.
    • clearOperatorConstraint

      public EntitlementConstraintStructure.Builder clearOperatorConstraint()
       Constraints on OPERATOR.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 257:112]
       
      .uk.org.netex.www.netex.SameOperatorEnumeration operator_constraint = 16;
      Returns:
      This builder for chaining.
    • getTypeOfProductCategoryConstraintValue

      public int getTypeOfProductCategoryConstraintValue()
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Specified by:
      getTypeOfProductCategoryConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for typeOfProductCategoryConstraint.
    • setTypeOfProductCategoryConstraintValue

      public EntitlementConstraintStructure.Builder setTypeOfProductCategoryConstraintValue(int value)
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Parameters:
      value - The enum numeric value on the wire for typeOfProductCategoryConstraint to set.
      Returns:
      This builder for chaining.
    • getTypeOfProductCategoryConstraint

      public SameTypeOfProductCategoryEnumeration getTypeOfProductCategoryConstraint()
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Specified by:
      getTypeOfProductCategoryConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The typeOfProductCategoryConstraint.
    • setTypeOfProductCategoryConstraint

      public EntitlementConstraintStructure.Builder setTypeOfProductCategoryConstraint(SameTypeOfProductCategoryEnumeration value)
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Parameters:
      value - The typeOfProductCategoryConstraint to set.
      Returns:
      This builder for chaining.
    • clearTypeOfProductCategoryConstraint

      public EntitlementConstraintStructure.Builder clearTypeOfProductCategoryConstraint()
       Constraints on  TYPE OF PRODUCT CATEGORY  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 269:141]
       
      .uk.org.netex.www.netex.SameTypeOfProductCategoryEnumeration type_of_product_category_constraint = 21;
      Returns:
      This builder for chaining.
    • getClassOfUseConstraintValue

      public int getClassOfUseConstraintValue()
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Specified by:
      getClassOfUseConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for classOfUseConstraint.
    • setClassOfUseConstraintValue

      public EntitlementConstraintStructure.Builder setClassOfUseConstraintValue(int value)
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Parameters:
      value - The enum numeric value on the wire for classOfUseConstraint to set.
      Returns:
      This builder for chaining.
    • getClassOfUseConstraint

      public SameClassOfUseEnumeration getClassOfUseConstraint()
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Specified by:
      getClassOfUseConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The classOfUseConstraint.
    • setClassOfUseConstraint

      public EntitlementConstraintStructure.Builder setClassOfUseConstraint(SameClassOfUseEnumeration value)
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Parameters:
      value - The classOfUseConstraint to set.
      Returns:
      This builder for chaining.
    • clearClassOfUseConstraint

      public EntitlementConstraintStructure.Builder clearClassOfUseConstraint()
       Constraints on CLASS OF USE.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 274:119]
       
      .uk.org.netex.www.netex.SameClassOfUseEnumeration class_of_use_constraint = 22;
      Returns:
      This builder for chaining.
    • getTypeOfTravelDocumentConstraintValue

      public int getTypeOfTravelDocumentConstraintValue()
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Specified by:
      getTypeOfTravelDocumentConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for typeOfTravelDocumentConstraint.
    • setTypeOfTravelDocumentConstraintValue

      public EntitlementConstraintStructure.Builder setTypeOfTravelDocumentConstraintValue(int value)
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Parameters:
      value - The enum numeric value on the wire for typeOfTravelDocumentConstraint to set.
      Returns:
      This builder for chaining.
    • getTypeOfTravelDocumentConstraint

      public SameTypeOfTravelDocumentEnumeration getTypeOfTravelDocumentConstraint()
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Specified by:
      getTypeOfTravelDocumentConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The typeOfTravelDocumentConstraint.
    • setTypeOfTravelDocumentConstraint

      public EntitlementConstraintStructure.Builder setTypeOfTravelDocumentConstraint(SameTypeOfTravelDocumentEnumeration value)
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Parameters:
      value - The typeOfTravelDocumentConstraint to set.
      Returns:
      This builder for chaining.
    • clearTypeOfTravelDocumentConstraint

      public EntitlementConstraintStructure.Builder clearTypeOfTravelDocumentConstraint()
       Constraints on  TYPE OF TRAVEL DOCUMENT  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 279:112]
       
      .uk.org.netex.www.netex.SameTypeOfTravelDocumentEnumeration type_of_travel_document_constraint = 23;
      Returns:
      This builder for chaining.
    • getJourneyConstraintValue

      public int getJourneyConstraintValue()
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Specified by:
      getJourneyConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for journeyConstraint.
    • setJourneyConstraintValue

      public EntitlementConstraintStructure.Builder setJourneyConstraintValue(int value)
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Parameters:
      value - The enum numeric value on the wire for journeyConstraint to set.
      Returns:
      This builder for chaining.
    • getJourneyConstraint

      public SameJourneyEnumeration getJourneyConstraint()
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Specified by:
      getJourneyConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The journeyConstraint.
    • setJourneyConstraint

       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Parameters:
      value - The journeyConstraint to set.
      Returns:
      This builder for chaining.
    • clearJourneyConstraint

      public EntitlementConstraintStructure.Builder clearJourneyConstraint()
       Constraints on   SERVICE JOURNEYs  to be used.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 284:101]
       
      .uk.org.netex.www.netex.SameJourneyEnumeration journey_constraint = 24;
      Returns:
      This builder for chaining.
    • getUserConstraintValue

      public int getUserConstraintValue()
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Specified by:
      getUserConstraintValue in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The enum numeric value on the wire for userConstraint.
    • setUserConstraintValue

      public EntitlementConstraintStructure.Builder setUserConstraintValue(int value)
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Parameters:
      value - The enum numeric value on the wire for userConstraint to set.
      Returns:
      This builder for chaining.
    • getUserConstraint

      public SameUserEnumeration getUserConstraint()
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Specified by:
      getUserConstraint in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The userConstraint.
    • setUserConstraint

       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Parameters:
      value - The userConstraint to set.
      Returns:
      This builder for chaining.
    • clearUserConstraint

      public EntitlementConstraintStructure.Builder clearUserConstraint()
       Constraints on  USER. Default is samePerson.  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 296:101]
       
      .uk.org.netex.www.netex.SameUserEnumeration user_constraint = 31;
      Returns:
      This builder for chaining.
    • hasSpecificToProfiles

      public boolean hasSpecificToProfiles()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      hasSpecificToProfiles in interface EntitlementConstraintStructureOrBuilder
      Returns:
      Whether the specificToProfiles field is set.
    • getSpecificToProfiles

      public UserProfileRefs_RelStructure getSpecificToProfiles()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      getSpecificToProfiles in interface EntitlementConstraintStructureOrBuilder
      Returns:
      The specificToProfiles.
    • setSpecificToProfiles

       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
    • setSpecificToProfiles

      public EntitlementConstraintStructure.Builder setSpecificToProfiles(UserProfileRefs_RelStructure.Builder builderForValue)
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
    • mergeSpecificToProfiles

       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
    • clearSpecificToProfiles

      public EntitlementConstraintStructure.Builder clearSpecificToProfiles()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
    • getSpecificToProfilesBuilder

      public UserProfileRefs_RelStructure.Builder getSpecificToProfilesBuilder()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
    • getSpecificToProfilesOrBuilder

      public UserProfileRefs_RelStructureOrBuilder getSpecificToProfilesOrBuilder()
       USER PROFILEs to which entitlement applies  [netex_part_3/part3_fares/netex_usageParameterEntitlement_version.xsd at 301:93]
       
      .uk.org.netex.www.netex.UserProfileRefs_RelStructure specific_to_profiles = 32;
      Specified by:
      getSpecificToProfilesOrBuilder in interface EntitlementConstraintStructureOrBuilder