mam.agent
Class AgentProperties

Direct Known Subclasses:
AgentKnowledge, InformationPersonaeAgentProperties, UrlKnowledgeAgentProperties

public class AgentProperties
implements Cloneable, Comparable, Serializable, XmlSerializable


Field Summary
 protected final static StringACCOUNT_TAG_NAME
           
 final static StringDEFAULT_TAG_NAME
           
 protected final static StringDESCRIPTION_TAG_NAME
           
 protected final static StringID_TAG_NAME
           
 private Accountm_attrAccount
           
 private AgentTraitsm_attrAgentTraits
           
 private Stringm_attrDescription
           
 private MamIdm_attrMamId
           
 private Stringm_attrNickname
           
 private Stringm_attrRole
           
 protected final static StringNICKNAME_TAG_NAME
           
 protected final static StringROLE_TAG_NAME
           

Constructor Summary
AgentProperties()
           
AgentProperties(AgentProperties original)
           
AgentProperties(MamId mamId, String role, String nickname, String description, Account Account)
           

Method Summary
 Objectclone()
           
 intcompareTo(Object other)
           
 voidfromXmlElement(Element source)
           
 AccountgetAccount()
           
 AgentTraitsgetAgentTraits()
           
 StringgetDescription()
           
 MamIdgetMamId()
           
 StringgetNickname()
           
 StringgetRole()
           
 voidsetAccount(Account Account)
           
 voidsetAgentTraits(AgentTraits agentTraits)
           
 voidsetDescription(String description)
           
 voidsetMamId(MamId mamId)
           
 voidsetNickname(String nickname)
           
 voidsetRole(String role)
           
 StringtoString()
           
 ElementtoXmlElement()
           
 ElementtoXmlElement(String tagName)
           

Field Detail

ACCOUNT_TAG_NAME

protected final static String ACCOUNT_TAG_NAME

DEFAULT_TAG_NAME

public final static String DEFAULT_TAG_NAME

DESCRIPTION_TAG_NAME

protected final static String DESCRIPTION_TAG_NAME

ID_TAG_NAME

protected final static String ID_TAG_NAME

m_attrAccount

private Account m_attrAccount

m_attrAgentTraits

private AgentTraits m_attrAgentTraits

m_attrDescription

private String m_attrDescription

m_attrMamId

private MamId m_attrMamId

m_attrNickname

private String m_attrNickname

m_attrRole

private String m_attrRole

NICKNAME_TAG_NAME

protected final static String NICKNAME_TAG_NAME

ROLE_TAG_NAME

protected final static String ROLE_TAG_NAME
Constructor Detail

AgentProperties

public AgentProperties()

AgentProperties

public AgentProperties(AgentProperties original)

AgentProperties

public AgentProperties(MamId mamId, String role, String nickname, String description, Account Account)
Method Detail

clone

public Object clone()

compareTo

public int compareTo(Object other)

fromXmlElement

public void fromXmlElement(Element source)

getAccount

public Account getAccount()

getAgentTraits

public AgentTraits getAgentTraits()

getDescription

public String getDescription()

getMamId

public MamId getMamId()

getNickname

public String getNickname()

getRole

public String getRole()

setAccount

public void setAccount(Account Account)

setAgentTraits

public void setAgentTraits(AgentTraits agentTraits)

setDescription

public void setDescription(String description)

setMamId

public void setMamId(MamId mamId)

setNickname

public void setNickname(String nickname)

setRole

public void setRole(String role)

toString

public String toString()

toXmlElement

public Element toXmlElement()

toXmlElement

public Element toXmlElement(String tagName)