Package uk.org.netex.www.netex
Enum Class UsageTriggerEnumeration
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<UsageTriggerEnumeration>,Constable
@Generated
public enum UsageTriggerEnumeration
extends Enum<UsageTriggerEnumeration>
implements com.google.protobuf.ProtocolMessageEnum
Allowed values for Usage Trigger. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 305:49]Protobuf enum
uk.org.netex.www.netex.UsageTriggerEnumeration-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValidity period starts when user activates a product.Validity period starts a specifed number of days before beginning of specified start date .Validity period starts on completion of outbound trip of a return or multi-part trip.Validity period starts when user registers (e.g. creates a customer account).Validity period starts when user collects their travel documents.Validity period starts when user makes a purchase.Validity period starts when user makes a reservation.Validity period starts on date specified on produc..Validity period starts at beginning of interval specified for product (e.g.Validity period starts on commencement of outbound trip.Validity period starts on commencement of return trip.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intValidity period starts when user activates a product.static final intValidity period starts a specifed number of days before beginning of specified start date .static final intValidity period starts on completion of outbound trip of a return or multi-part trip.static final intValidity period starts when user registers (e.g. creates a customer account).static final intValidity period starts when user collects their travel documents.static final intValidity period starts when user makes a purchase.static final intValidity period starts when user makes a reservation.static final intValidity period starts on date specified on produc..static final intValidity period starts at beginning of interval specified for product (e.g.static final intValidity period starts on commencement of outbound trip.static final intValidity period starts on commencement of return trip.static final intDefault -
Method Summary
Modifier and TypeMethodDescriptionstatic UsageTriggerEnumerationforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<UsageTriggerEnumeration> static UsageTriggerEnumerationvalueOf(int value) Deprecated.static UsageTriggerEnumerationvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static UsageTriggerEnumerationReturns the enum constant of this class with the specified name.static UsageTriggerEnumeration[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USAGE_TRIGGER_ENUMERATION_UNSPECIFIED
Default
USAGE_TRIGGER_ENUMERATION_UNSPECIFIED = 0; -
USAGE_TRIGGER_ENUMERATION_ENROLMENT
Validity period starts when user registers (e.g. creates a customer account). [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 310:39]
USAGE_TRIGGER_ENUMERATION_ENROLMENT = 1; -
USAGE_TRIGGER_ENUMERATION_RESERVATION
Validity period starts when user makes a reservation. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 315:41]
USAGE_TRIGGER_ENUMERATION_RESERVATION = 2; -
USAGE_TRIGGER_ENUMERATION_PURCHASE
Validity period starts when user makes a purchase. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 320:38]
USAGE_TRIGGER_ENUMERATION_PURCHASE = 3; -
USAGE_TRIGGER_ENUMERATION_FULFILMENT
Validity period starts when user collects their travel documents. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 325:40]
USAGE_TRIGGER_ENUMERATION_FULFILMENT = 4; -
USAGE_TRIGGER_ENUMERATION_ACTIVATION
Validity period starts when user activates a product. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 330:40]
USAGE_TRIGGER_ENUMERATION_ACTIVATION = 5; -
USAGE_TRIGGER_ENUMERATION_SPECIFIED_START_DATE
Validity period starts on date specified on produc.. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 335:48]
USAGE_TRIGGER_ENUMERATION_SPECIFIED_START_DATE = 6; -
USAGE_TRIGGER_ENUMERATION_START_OUTBOUND_RIDE
Validity period starts on commencement of outbound trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 340:47]
USAGE_TRIGGER_ENUMERATION_START_OUTBOUND_RIDE = 7; -
USAGE_TRIGGER_ENUMERATION_END_OUTBOUND_RIDE
Validity period starts on completion of outbound trip of a return or multi-part trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 345:45]
USAGE_TRIGGER_ENUMERATION_END_OUTBOUND_RIDE = 8; -
USAGE_TRIGGER_ENUMERATION_START_RETURN_RIDE
Validity period starts on commencement of return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 350:45]
USAGE_TRIGGER_ENUMERATION_START_RETURN_RIDE = 9; -
USAGE_TRIGGER_ENUMERATION_START_OF_PERIOD
Validity period starts at beginning of interval specified for product (e.g. every month for a monthly pass that renews automatically). [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 355:43]
USAGE_TRIGGER_ENUMERATION_START_OF_PERIOD = 10; -
USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIOD
public static final UsageTriggerEnumeration USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIODValidity period starts a specifed number of days before beginning of specified start date . [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 360:59]
USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIOD = 11; -
UNRECOGNIZED
-
-
Field Details
-
USAGE_TRIGGER_ENUMERATION_UNSPECIFIED_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_UNSPECIFIED_VALUEDefault
USAGE_TRIGGER_ENUMERATION_UNSPECIFIED = 0;- See Also:
-
USAGE_TRIGGER_ENUMERATION_ENROLMENT_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_ENROLMENT_VALUEValidity period starts when user registers (e.g. creates a customer account). [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 310:39]
USAGE_TRIGGER_ENUMERATION_ENROLMENT = 1;- See Also:
-
USAGE_TRIGGER_ENUMERATION_RESERVATION_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_RESERVATION_VALUEValidity period starts when user makes a reservation. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 315:41]
USAGE_TRIGGER_ENUMERATION_RESERVATION = 2;- See Also:
-
USAGE_TRIGGER_ENUMERATION_PURCHASE_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_PURCHASE_VALUEValidity period starts when user makes a purchase. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 320:38]
USAGE_TRIGGER_ENUMERATION_PURCHASE = 3;- See Also:
-
USAGE_TRIGGER_ENUMERATION_FULFILMENT_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_FULFILMENT_VALUEValidity period starts when user collects their travel documents. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 325:40]
USAGE_TRIGGER_ENUMERATION_FULFILMENT = 4;- See Also:
-
USAGE_TRIGGER_ENUMERATION_ACTIVATION_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_ACTIVATION_VALUEValidity period starts when user activates a product. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 330:40]
USAGE_TRIGGER_ENUMERATION_ACTIVATION = 5;- See Also:
-
USAGE_TRIGGER_ENUMERATION_SPECIFIED_START_DATE_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_SPECIFIED_START_DATE_VALUEValidity period starts on date specified on produc.. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 335:48]
USAGE_TRIGGER_ENUMERATION_SPECIFIED_START_DATE = 6;- See Also:
-
USAGE_TRIGGER_ENUMERATION_START_OUTBOUND_RIDE_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_START_OUTBOUND_RIDE_VALUEValidity period starts on commencement of outbound trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 340:47]
USAGE_TRIGGER_ENUMERATION_START_OUTBOUND_RIDE = 7;- See Also:
-
USAGE_TRIGGER_ENUMERATION_END_OUTBOUND_RIDE_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_END_OUTBOUND_RIDE_VALUEValidity period starts on completion of outbound trip of a return or multi-part trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 345:45]
USAGE_TRIGGER_ENUMERATION_END_OUTBOUND_RIDE = 8;- See Also:
-
USAGE_TRIGGER_ENUMERATION_START_RETURN_RIDE_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_START_RETURN_RIDE_VALUEValidity period starts on commencement of return trip. [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 350:45]
USAGE_TRIGGER_ENUMERATION_START_RETURN_RIDE = 9;- See Also:
-
USAGE_TRIGGER_ENUMERATION_START_OF_PERIOD_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_START_OF_PERIOD_VALUEValidity period starts at beginning of interval specified for product (e.g. every month for a monthly pass that renews automatically). [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 355:43]
USAGE_TRIGGER_ENUMERATION_START_OF_PERIOD = 10;- See Also:
-
USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIOD_VALUE
public static final int USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIOD_VALUEValidity period starts a specifed number of days before beginning of specified start date . [netex_part_3/part3_fares/netex_usageParameterTravel_support.xsd at 360:59]
USAGE_TRIGGER_ENUMERATION_DAY_OFFSET_BEFORE_CALENDAR_PERIOD = 11;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<UsageTriggerEnumeration> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static UsageTriggerEnumeration valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-