public abstract class NetPuzlObject
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Attributes |
attributes
The attributes of the NetPuzlObject
|
private ObjID |
objID
The object ID of the NetPuzlObject
|
Constructor and Description |
---|
NetPuzlObject(ObjID objID,
Attributes attributes,
java.util.Map<ObjID,NetPuzlObject> cache)
Constructs a NetPuzlObject with the given parameters
|
Modifier and Type | Method and Description |
---|---|
TSet |
createSetTag()
Creates a set tag of this NetPuzlObject to be sent to a client
|
java.lang.String |
fullToString()
Returns a full String representation of this NetPuzlObject
|
Attributes |
getAttributes()
Gets the Attributes of this NetPuzlObject
|
ObjID |
getObjID()
Gets the object ID of this NetPuzlObject
|
void |
setAttributes(Attributes attributes)
Sets the Attributes of this NetPuzlObject
|
java.lang.String |
toString()
A simple String representation of this NetPuzlObject
|
private ObjID objID
private Attributes attributes
public NetPuzlObject(ObjID objID, Attributes attributes, java.util.Map<ObjID,NetPuzlObject> cache)
objID
- The object ID to construct this NetPuzlObject withattributes
- The Attributes to construct this NetPuzlObject withcache
- The Map to cache this NetPuzlObject inpublic TSet createSetTag()
public Attributes getAttributes()
public ObjID getObjID()
public void setAttributes(Attributes attributes)
public java.lang.String fullToString()
public java.lang.String toString()
toString
in class java.lang.Object