cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages
Class EmptyCompositeImpl

Package class diagram package EmptyCompositeImpl
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.Empty
          extended by cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.EmptyCompositeImpl
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, IWorldObject, ICompositeWorldObject, cz.cuni.amis.utils.listener.Event

public class EmptyCompositeImpl
extends Empty

Composite implementation of the EMP abstract message. It wraps Local/Shared/Static parts in single object allowing to presenting a nice facade for users.

Complete message documentation:


Nested Class Summary
 
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.Empty
Empty.EmptyUpdate
 
Field Summary
protected  EmptyLocalImpl partLocal
           
protected  EmptyStaticImpl partStatic
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.Empty
EmptyId, PROTOTYPE, SimTime
 
Constructor Summary
EmptyCompositeImpl()
          Parameter-less contructor for the message.
EmptyCompositeImpl(EmptyCompositeImpl original)
          Cloning constructor.
EmptyCompositeImpl(EmptyLocalImpl partLocal, EmptySharedImpl partShared, EmptyStaticImpl partStatic)
          Composite-impl constructor.
 
Method Summary
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
           
 EmptyLocal getLocal()
           
 EmptyShared getShared()
           
 EmptyStatic getStatic()
           
 void setSimTime(long SimTime)
          Used by Yylex to slip correct time of the object or programmatically.
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut3.communication.messages.gbinfomessages.Empty
getSimTime, toJsonLiteral
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

partStatic

protected EmptyStaticImpl partStatic

partLocal

protected EmptyLocalImpl partLocal
Constructor Detail

EmptyCompositeImpl

public EmptyCompositeImpl()
Parameter-less contructor for the message.


EmptyCompositeImpl

public EmptyCompositeImpl(EmptyLocalImpl partLocal,
                          EmptySharedImpl partShared,
                          EmptyStaticImpl partStatic)
Composite-impl constructor. It assembles the message from its three fragments - local/shared/static.

Parameters:
partLocal - local-part of the message
partShared - shared-part of the message
partStatic - static-part of the message

EmptyCompositeImpl

public EmptyCompositeImpl(EmptyCompositeImpl original)
Cloning constructor.

Parameters:
original -
Method Detail

getId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
Specified by:
getId in interface IWorldObject
Overrides:
getId in class Empty

setSimTime

public void setSimTime(long SimTime)
Description copied from class: Empty
Used by Yylex to slip correct time of the object or programmatically.

Overrides:
setSimTime in class Empty

getStatic

public EmptyStatic getStatic()

getLocal

public EmptyLocal getLocal()

getShared

public EmptyShared getShared()

toString

public String toString()
Overrides:
toString in class Empty

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class Empty


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.