thinkmap.client
Class Entity

java.lang.Object
  extended by thinkmap.client.Entity
Direct Known Subclasses:
SourceEntity

public class Entity
extends Object

An entity acts as the represention of one discrete piece of information in a Thinkmap interface.

Every entity is managed by a Manager. All of the entities managed by the same manager are said to be on the "same level".

Entities may have a parent entity. An entity's parent entity is the entity which represents the same piece of information in it's Manager's parent Manager. Therefore, the following piece of code should always evaluate to true: getManager().getParentManager().getEntity( this ) == getParentEntity()

Entities also implement the IEntityFactory interface, so that they can be used to construct new Entities. An Entity used in this fashion will copy itself to create new entities.

JVM Compatibility:
Java 1.1+

Version:
$Revision: 1.18 $ $Date: 2005/10/28 21:37:10 $

Field Summary
protected  PropertyHandler phDeferred
           
 
Constructor Summary
Entity()
           
 
Method Summary
 Object getProperty(String sPropName)
           
 Enumeration getPropertyNames()
           
 void removeProperty(String name)
           
 void setProperty(String name, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

phDeferred

protected PropertyHandler phDeferred
Constructor Detail

Entity

public Entity()
Method Detail

getProperty

public Object getProperty(String sPropName)

setProperty

public void setProperty(String name,
                        Object value)

getPropertyNames

public Enumeration getPropertyNames()

removeProperty

public void removeProperty(String name)


Copyright © 2013 Thinkmap, Inc. All Rights Reserved.