livespace.services.entities
Class AudioMixerEntity

java.lang.Object
  extended by dsto.dfc.databeans.AbstractDataObject
      extended by dsto.dfc.databeans.SimpleDataObject
          extended by dsto.dfc.databeans.FancyDataObject
              extended by livespace.services.Entity
                  extended by livespace.services.entities.AudioMixerEntity
All Implemented Interfaces:
IDataObject, IDataObjectChildListener, Cloneable

public class AudioMixerEntity
extends Entity

Entity for representing volume on an AV matrix switch.

Version:
$Revision$
Author:
weberd

Field Summary
static String ENTITY_TYPE
           
static String MUTE
          The name of the boolean property for allowing the audio to be muted (if provided by the audio mixer/amplifier etc).
 int volume
           
 
Fields inherited from class livespace.services.Entity
container, id, lastTouched, name, unconfirmedUpdates
 
Fields inherited from class dsto.dfc.databeans.AbstractDataObject
listeners
 
Fields inherited from interface dsto.dfc.databeans.IDataObject
OVERRIDE, PERSISTENT, PERSISTENT_OVERRIDE, TRANSIENT, TRANSIENT_OVERRIDE
 
Constructor Summary
AudioMixerEntity()
           
AudioMixerEntity(String id, String name)
           
 
Method Summary
 String getType()
          The type of the object (eg "room", "light", "volume", etc).
 String toString()
          Generates a human-readable rendering of the object's properties.
 
Methods inherited from class livespace.services.Entity
create, createId, getElvin, getType, getTypeInfo, mutex, sameEntity, shallowClone, waitForProperty, waitForProperty, waitForProperty, waitForProperty
 
Methods inherited from class dsto.dfc.databeans.FancyDataObject
childPropertyChanged, getValue, isTransient, propertyIterator, setValue
 
Methods inherited from class dsto.dfc.databeans.SimpleDataObject
getFieldNames, setValue
 
Methods inherited from class dsto.dfc.databeans.AbstractDataObject
addFirstPropertyListener, addPropertyListener, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, firePropertyChangedEvent, getBeanValue, getBooleanValue, getBooleanValue, getCharValue, getCharValue, getDoubleValue, getDoubleValue, getFloatValue, getFloatValue, getIntValue, getIntValue, getLongValue, getLongValue, getObjectValue, getPropertyListeners, getShortValue, getStringValue, registerValue, removePropertyListener, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, unregisterValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ENTITY_TYPE

public static final String ENTITY_TYPE
See Also:
Constant Field Values

MUTE

public static final String MUTE
The name of the boolean property for allowing the audio to be muted (if provided by the audio mixer/amplifier etc).

See Also:
Constant Field Values

volume

public int volume
Constructor Detail

AudioMixerEntity

public AudioMixerEntity()

AudioMixerEntity

public AudioMixerEntity(String id,
                        String name)
Method Detail

getType

public String getType()
Description copied from class: Entity
The type of the object (eg "room", "light", "volume", etc). This must be unique to the entity class.

NOTE: it is also a good practice to provide a static field that defines the entity type on the class: eg

 public static final String ENTITY_TYPE = "room";
 

Specified by:
getType in class Entity

toString

public String toString()
Description copied from class: AbstractDataObject
Generates a human-readable rendering of the object's properties.

Overrides:
toString in class AbstractDataObject


Copyright © 2008 Commonwealth of Australia