Package org.jlab.jaws.entity
Class Alarm.Builder
- java.lang.Object
-
- org.apache.avro.data.RecordBuilderBase<T>
-
- org.apache.avro.specific.SpecificRecordBuilderBase<Alarm>
-
- org.jlab.jaws.entity.Alarm.Builder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Alarm
build()
Alarm.Builder
clearActivation()
Clears the value of the 'activation' field.Alarm.Builder
clearClass$()
Clears the value of the 'class$' field.Alarm.Builder
clearEffectiveRegistration()
Clears the value of the 'effectiveRegistration' field.Alarm.Builder
clearOverrides()
Clears the value of the 'overrides' field.Alarm.Builder
clearRegistration()
Clears the value of the 'registration' field.Alarm.Builder
clearState()
Clears the value of the 'state' field.Alarm.Builder
clearTransitions()
Clears the value of the 'transitions' field.AlarmActivationUnion
getActivation()
Gets the value of the 'activation' field.AlarmActivationUnion.Builder
getActivationBuilder()
Gets the Builder instance for the 'activation' field and creates one if it doesn't exist yet.AlarmClass
getClass$()
Gets the value of the 'class$' field.AlarmClass.Builder
getClass$Builder()
Gets the Builder instance for the 'class$' field and creates one if it doesn't exist yet.AlarmRegistration
getEffectiveRegistration()
Gets the value of the 'effectiveRegistration' field.AlarmRegistration.Builder
getEffectiveRegistrationBuilder()
Gets the Builder instance for the 'effectiveRegistration' field and creates one if it doesn't exist yet.AlarmOverrideSet
getOverrides()
Gets the value of the 'overrides' field.AlarmOverrideSet.Builder
getOverridesBuilder()
Gets the Builder instance for the 'overrides' field and creates one if it doesn't exist yet.AlarmRegistration
getRegistration()
Gets the value of the 'registration' field.AlarmRegistration.Builder
getRegistrationBuilder()
Gets the Builder instance for the 'registration' field and creates one if it doesn't exist yet.AlarmState
getState()
Gets the value of the 'state' field.ProcessorTransitions
getTransitions()
Gets the value of the 'transitions' field.ProcessorTransitions.Builder
getTransitionsBuilder()
Gets the Builder instance for the 'transitions' field and creates one if it doesn't exist yet.boolean
hasActivation()
Checks whether the 'activation' field has been set.boolean
hasActivationBuilder()
Checks whether the 'activation' field has an active Builder instance The alarm activationboolean
hasClass$()
Checks whether the 'class$' field has been set.boolean
hasClass$Builder()
Checks whether the 'class$' field has an active Builder instance The alarm classboolean
hasEffectiveRegistration()
Checks whether the 'effectiveRegistration' field has been set.boolean
hasEffectiveRegistrationBuilder()
Checks whether the 'effectiveRegistration' field has an active Builder instance The effective alarm registration accounting for alarm class defaultsboolean
hasOverrides()
Checks whether the 'overrides' field has been set.boolean
hasOverridesBuilder()
Checks whether the 'overrides' field has an active Builder instance The alarm overridesboolean
hasRegistration()
Checks whether the 'registration' field has been set.boolean
hasRegistrationBuilder()
Checks whether the 'registration' field has an active Builder instance The alarm registrationboolean
hasState()
Checks whether the 'state' field has been set.boolean
hasTransitions()
Checks whether the 'transitions' field has been set.boolean
hasTransitionsBuilder()
Checks whether the 'transitions' field has an active Builder instance override transition states used by alarm processorAlarm.Builder
setActivation(AlarmActivationUnion value)
Sets the value of the 'activation' field.Alarm.Builder
setActivationBuilder(AlarmActivationUnion.Builder value)
Sets the Builder instance for the 'activation' field The alarm activationAlarm.Builder
setClass$(AlarmClass value)
Sets the value of the 'class$' field.Alarm.Builder
setClass$Builder(AlarmClass.Builder value)
Sets the Builder instance for the 'class$' field The alarm classAlarm.Builder
setEffectiveRegistration(AlarmRegistration value)
Sets the value of the 'effectiveRegistration' field.Alarm.Builder
setEffectiveRegistrationBuilder(AlarmRegistration.Builder value)
Sets the Builder instance for the 'effectiveRegistration' field The effective alarm registration accounting for alarm class defaultsAlarm.Builder
setOverrides(AlarmOverrideSet value)
Sets the value of the 'overrides' field.Alarm.Builder
setOverridesBuilder(AlarmOverrideSet.Builder value)
Sets the Builder instance for the 'overrides' field The alarm overridesAlarm.Builder
setRegistration(AlarmRegistration value)
Sets the value of the 'registration' field.Alarm.Builder
setRegistrationBuilder(AlarmRegistration.Builder value)
Sets the Builder instance for the 'registration' field The alarm registrationAlarm.Builder
setState(AlarmState value)
Sets the value of the 'state' field.Alarm.Builder
setTransitions(ProcessorTransitions value)
Sets the value of the 'transitions' field.Alarm.Builder
setTransitionsBuilder(ProcessorTransitions.Builder value)
Sets the Builder instance for the 'transitions' field override transition states used by alarm processor
-
-
-
Method Detail
-
getRegistration
public AlarmRegistration getRegistration()
Gets the value of the 'registration' field. The alarm registration- Returns:
- The value.
-
setRegistration
public Alarm.Builder setRegistration(AlarmRegistration value)
Sets the value of the 'registration' field. The alarm registration- Parameters:
value
- The value of 'registration'.- Returns:
- This builder.
-
hasRegistration
public boolean hasRegistration()
Checks whether the 'registration' field has been set. The alarm registration- Returns:
- True if the 'registration' field has been set, false otherwise.
-
getRegistrationBuilder
public AlarmRegistration.Builder getRegistrationBuilder()
Gets the Builder instance for the 'registration' field and creates one if it doesn't exist yet. The alarm registration- Returns:
- This builder.
-
setRegistrationBuilder
public Alarm.Builder setRegistrationBuilder(AlarmRegistration.Builder value)
Sets the Builder instance for the 'registration' field The alarm registration- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasRegistrationBuilder
public boolean hasRegistrationBuilder()
Checks whether the 'registration' field has an active Builder instance The alarm registration- Returns:
- True if the 'registration' field has an active Builder instance
-
clearRegistration
public Alarm.Builder clearRegistration()
Clears the value of the 'registration' field. The alarm registration- Returns:
- This builder.
-
getClass$
public AlarmClass getClass$()
Gets the value of the 'class$' field. The alarm class- Returns:
- The value.
-
setClass$
public Alarm.Builder setClass$(AlarmClass value)
Sets the value of the 'class$' field. The alarm class- Parameters:
value
- The value of 'class$'.- Returns:
- This builder.
-
hasClass$
public boolean hasClass$()
Checks whether the 'class$' field has been set. The alarm class- Returns:
- True if the 'class$' field has been set, false otherwise.
-
getClass$Builder
public AlarmClass.Builder getClass$Builder()
Gets the Builder instance for the 'class$' field and creates one if it doesn't exist yet. The alarm class- Returns:
- This builder.
-
setClass$Builder
public Alarm.Builder setClass$Builder(AlarmClass.Builder value)
Sets the Builder instance for the 'class$' field The alarm class- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasClass$Builder
public boolean hasClass$Builder()
Checks whether the 'class$' field has an active Builder instance The alarm class- Returns:
- True if the 'class$' field has an active Builder instance
-
clearClass$
public Alarm.Builder clearClass$()
Clears the value of the 'class$' field. The alarm class- Returns:
- This builder.
-
getEffectiveRegistration
public AlarmRegistration getEffectiveRegistration()
Gets the value of the 'effectiveRegistration' field. The effective alarm registration accounting for alarm class defaults- Returns:
- The value.
-
setEffectiveRegistration
public Alarm.Builder setEffectiveRegistration(AlarmRegistration value)
Sets the value of the 'effectiveRegistration' field. The effective alarm registration accounting for alarm class defaults- Parameters:
value
- The value of 'effectiveRegistration'.- Returns:
- This builder.
-
hasEffectiveRegistration
public boolean hasEffectiveRegistration()
Checks whether the 'effectiveRegistration' field has been set. The effective alarm registration accounting for alarm class defaults- Returns:
- True if the 'effectiveRegistration' field has been set, false otherwise.
-
getEffectiveRegistrationBuilder
public AlarmRegistration.Builder getEffectiveRegistrationBuilder()
Gets the Builder instance for the 'effectiveRegistration' field and creates one if it doesn't exist yet. The effective alarm registration accounting for alarm class defaults- Returns:
- This builder.
-
setEffectiveRegistrationBuilder
public Alarm.Builder setEffectiveRegistrationBuilder(AlarmRegistration.Builder value)
Sets the Builder instance for the 'effectiveRegistration' field The effective alarm registration accounting for alarm class defaults- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasEffectiveRegistrationBuilder
public boolean hasEffectiveRegistrationBuilder()
Checks whether the 'effectiveRegistration' field has an active Builder instance The effective alarm registration accounting for alarm class defaults- Returns:
- True if the 'effectiveRegistration' field has an active Builder instance
-
clearEffectiveRegistration
public Alarm.Builder clearEffectiveRegistration()
Clears the value of the 'effectiveRegistration' field. The effective alarm registration accounting for alarm class defaults- Returns:
- This builder.
-
getActivation
public AlarmActivationUnion getActivation()
Gets the value of the 'activation' field. The alarm activation- Returns:
- The value.
-
setActivation
public Alarm.Builder setActivation(AlarmActivationUnion value)
Sets the value of the 'activation' field. The alarm activation- Parameters:
value
- The value of 'activation'.- Returns:
- This builder.
-
hasActivation
public boolean hasActivation()
Checks whether the 'activation' field has been set. The alarm activation- Returns:
- True if the 'activation' field has been set, false otherwise.
-
getActivationBuilder
public AlarmActivationUnion.Builder getActivationBuilder()
Gets the Builder instance for the 'activation' field and creates one if it doesn't exist yet. The alarm activation- Returns:
- This builder.
-
setActivationBuilder
public Alarm.Builder setActivationBuilder(AlarmActivationUnion.Builder value)
Sets the Builder instance for the 'activation' field The alarm activation- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasActivationBuilder
public boolean hasActivationBuilder()
Checks whether the 'activation' field has an active Builder instance The alarm activation- Returns:
- True if the 'activation' field has an active Builder instance
-
clearActivation
public Alarm.Builder clearActivation()
Clears the value of the 'activation' field. The alarm activation- Returns:
- This builder.
-
getOverrides
public AlarmOverrideSet getOverrides()
Gets the value of the 'overrides' field. The alarm overrides- Returns:
- The value.
-
setOverrides
public Alarm.Builder setOverrides(AlarmOverrideSet value)
Sets the value of the 'overrides' field. The alarm overrides- Parameters:
value
- The value of 'overrides'.- Returns:
- This builder.
-
hasOverrides
public boolean hasOverrides()
Checks whether the 'overrides' field has been set. The alarm overrides- Returns:
- True if the 'overrides' field has been set, false otherwise.
-
getOverridesBuilder
public AlarmOverrideSet.Builder getOverridesBuilder()
Gets the Builder instance for the 'overrides' field and creates one if it doesn't exist yet. The alarm overrides- Returns:
- This builder.
-
setOverridesBuilder
public Alarm.Builder setOverridesBuilder(AlarmOverrideSet.Builder value)
Sets the Builder instance for the 'overrides' field The alarm overrides- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasOverridesBuilder
public boolean hasOverridesBuilder()
Checks whether the 'overrides' field has an active Builder instance The alarm overrides- Returns:
- True if the 'overrides' field has an active Builder instance
-
clearOverrides
public Alarm.Builder clearOverrides()
Clears the value of the 'overrides' field. The alarm overrides- Returns:
- This builder.
-
getTransitions
public ProcessorTransitions getTransitions()
Gets the value of the 'transitions' field. override transition states used by alarm processor- Returns:
- The value.
-
setTransitions
public Alarm.Builder setTransitions(ProcessorTransitions value)
Sets the value of the 'transitions' field. override transition states used by alarm processor- Parameters:
value
- The value of 'transitions'.- Returns:
- This builder.
-
hasTransitions
public boolean hasTransitions()
Checks whether the 'transitions' field has been set. override transition states used by alarm processor- Returns:
- True if the 'transitions' field has been set, false otherwise.
-
getTransitionsBuilder
public ProcessorTransitions.Builder getTransitionsBuilder()
Gets the Builder instance for the 'transitions' field and creates one if it doesn't exist yet. override transition states used by alarm processor- Returns:
- This builder.
-
setTransitionsBuilder
public Alarm.Builder setTransitionsBuilder(ProcessorTransitions.Builder value)
Sets the Builder instance for the 'transitions' field override transition states used by alarm processor- Parameters:
value
- The builder instance that must be set.- Returns:
- This builder.
-
hasTransitionsBuilder
public boolean hasTransitionsBuilder()
Checks whether the 'transitions' field has an active Builder instance override transition states used by alarm processor- Returns:
- True if the 'transitions' field has an active Builder instance
-
clearTransitions
public Alarm.Builder clearTransitions()
Clears the value of the 'transitions' field. override transition states used by alarm processor- Returns:
- This builder.
-
getState
public AlarmState getState()
Gets the value of the 'state' field. The computed effective state given active and override state- Returns:
- The value.
-
setState
public Alarm.Builder setState(AlarmState value)
Sets the value of the 'state' field. The computed effective state given active and override state- Parameters:
value
- The value of 'state'.- Returns:
- This builder.
-
hasState
public boolean hasState()
Checks whether the 'state' field has been set. The computed effective state given active and override state- Returns:
- True if the 'state' field has been set, false otherwise.
-
clearState
public Alarm.Builder clearState()
Clears the value of the 'state' field. The computed effective state given active and override state- Returns:
- This builder.
-
-