atavism.agis.objects
Class SocialInfo
java.lang.Object
atavism.server.objects.NamedPropertyClass
atavism.server.objects.Entity
atavism.agis.objects.SocialInfo
- All Implemented Interfaces:
- java.io.Serializable
public class SocialInfo
- extends Entity
Information related to the inventory system. Any object that wants to carry items or
currency requires one of these.
- See Also:
- Serialized Form
Methods inherited from class atavism.server.objects.Entity |
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, unregisterTransientPropertyKey |
Methods inherited from class atavism.server.objects.NamedPropertyClass |
getBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SocialInfo
public SocialInfo()
SocialInfo
public SocialInfo(OID objOid)
toString
public java.lang.String toString()
- Description copied from class:
Entity
- Returns the string describing this entity, useful for logging.
- Overrides:
toString
in class Entity
- Returns:
- string describing entity
getType
public ObjectType getType()
- Description copied from class:
Entity
- Entity object type.
- Overrides:
getType
in class Entity
- Returns:
ObjectTypes.unknown
if no object type has been set.
getID
public int getID()
setID
public void setID(int id)
addFriend
public void addFriend(OID oid,
java.lang.String name)
removeFriend
public void removeFriend(OID oid)
getFriends
public java.util.HashMap<OID,java.lang.String> getFriends()
setFriends
public void setFriends(java.util.HashMap<OID,java.lang.String> friends)
addIgnore
public void addIgnore(OID oid,
java.lang.String name)
removeIgnore
public void removeIgnore(OID oid)
getIgnores
public java.util.HashMap<OID,java.lang.String> getIgnores()
setIgnores
public void setIgnores(java.util.HashMap<OID,java.lang.String> ignores)
addChannel
public void addChannel(java.lang.String name)
removeChannel
public void removeChannel(java.lang.String name)
getChannels
public java.util.ArrayList<java.lang.String> getChannels()
setChannels
public void setChannels(java.util.ArrayList<java.lang.String> channels)