org.qi4j.library.alarm
Interface AlarmStatus

All Superinterfaces:
Composite, Value, ValueComposite
All Known Implementing Classes:
AlarmStatus.AlarmStatusMixin

@Mixins(value=AlarmStatus.AlarmStatusMixin.class)
public interface AlarmStatus
extends ValueComposite

Status of an Alarm.


Nested Class Summary
static class AlarmStatus.AlarmStatusMixin
           
 
Method Summary
 Property<Date> creationDate()
          Returns the Date/Time of when this state was created.
 Property<String> name()
          Returns the Name of the AlarmStatus.
 String name(Locale locale)
          Returns the Name of the AlarmStatus in a locale.
 
Methods inherited from interface org.qi4j.api.value.Value
buildWith, state, toJSON
 
Methods inherited from interface org.qi4j.api.composite.Composite
metaInfo, type
 

Method Detail

name

String name(Locale locale)
Returns the Name of the AlarmStatus in a locale. This is the technical name of the AlarmStatus, such as Normal, Activated and so forth in a locale specific form.

Parameters:
locale - the locale to return the name in.
Returns:
the name of the AlarmStatus in the given locale.
See Also:
name()

creationDate

Property<Date> creationDate()
Returns the Date/Time of when this state was created.

Returns:
the timestamp of when the state was created.

name

Property<String> name()
Returns the Name of the AlarmStatus. This is the technical name of the AlarmStatus, such as Normal, Activated and so forth in non-locale specific form.

Returns:
the name of the AlarmStatus in the default locale.
See Also:
name(Locale)