com.monad.homerun.model.set
Class SetModelStatus

java.lang.Object
  extended by com.monad.homerun.model.set.SetModelStatus
All Implemented Interfaces:
ModelStatus, java.io.Serializable

public class SetModelStatus
extends java.lang.Object
implements ModelStatus, java.io.Serializable

SetModelStatus extends ModelStatus for SetModels

See Also:
Serialized Form

Constructor Summary
SetModelStatus(java.lang.String modelName, java.util.Set<java.lang.String> members, long time)
           
 
Method Summary
 java.util.Set<java.lang.String> getMembers()
           
 java.lang.String getModelName()
          Returns the name of the model whose status it is
 java.lang.String getModelType()
          Returns the type of the model.
 Value getModelValue()
          Returns the current value of the model.
 boolean hasMember(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetModelStatus

public SetModelStatus(java.lang.String modelName,
                      java.util.Set<java.lang.String> members,
                      long time)
Method Detail

getModelName

public java.lang.String getModelName()
Description copied from interface: ModelStatus
Returns the name of the model whose status it is

Specified by:
getModelName in interface ModelStatus
Returns:
the model name

getModelType

public java.lang.String getModelType()
Description copied from interface: ModelStatus
Returns the type of the model.

Specified by:
getModelType in interface ModelStatus
Returns:
the model type

getModelValue

public Value getModelValue()
Description copied from interface: ModelStatus
Returns the current value of the model.

Specified by:
getModelValue in interface ModelStatus
Returns:
the current model value

hasMember

public boolean hasMember(java.lang.String value)

getMembers

public java.util.Set<java.lang.String> getMembers()


Copyright © 2006-2009 Richard Rodgers. All Rights Reserved.