Class AvatarMapping
- java.lang.Object
- 
- jadex.extension.envsupport.environment.AvatarMapping
 
- 
 public class AvatarMapping extends java.lang.ObjectRelationship specification between an component type and an avatar type.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IParsedExpressioncomponentnameThe name of the component to be created for an avatar.protected java.lang.StringcomponenttypeThe component type name.protected booleancreateavatarThe flag for creating the avatar when an component is created.protected booleancreatecomponentThe flag for creating the component when an avatar is created.protected booleankillavatarThe flag for deleting the avatar when component is killed.protected booleankillcomponentThe flag for deleting the component when avatar is killed.protected java.lang.StringobjecttypeThe object type.
 - 
Constructor SummaryConstructors Constructor Description AvatarMapping()Create a new avatar mapping.AvatarMapping(java.lang.String componenttype, java.lang.String objecttype)Create a new avatar mapping.AvatarMapping(java.lang.String componenttype, java.lang.String objecttype, boolean createavatar, boolean createcomponent, boolean killavatar, boolean killcomponent)Create a new avatar mapping.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IParsedExpressiongetComponentName()Get the component name expression, if any.java.lang.StringgetComponentType()Get the componenttype.java.lang.StringgetObjectType()Get the objecttype.booleanisCreateAvatar()Should avatar be created.booleanisCreateComponent()Should component be created.booleanisKillAvatar()Should avatar be killed.booleanisKillComponent()Should component being killed.voidsetComponentName(IParsedExpression componentname)Set the component name expression.voidsetComponentType(java.lang.String componenttype)voidsetCreateAvatar(boolean createavatar)voidsetCreateComponent(boolean createcomponent)voidsetKillAvatar(boolean killavatar)voidsetKillComponent(boolean killcomponent)voidsetObjectType(java.lang.String object)
 
- 
- 
- 
Field Detail- 
componenttypeprotected java.lang.String componenttype The component type name.
 - 
objecttypeprotected java.lang.String objecttype The object type.
 - 
createavatarprotected boolean createavatar The flag for creating the avatar when an component is created.
 - 
createcomponentprotected boolean createcomponent The flag for creating the component when an avatar is created.
 - 
killavatarprotected boolean killavatar The flag for deleting the avatar when component is killed.
 - 
killcomponentprotected boolean killcomponent The flag for deleting the component when avatar is killed.
 - 
componentnameprotected IParsedExpression componentname The name of the component to be created for an avatar.
 
- 
 - 
Constructor Detail- 
AvatarMappingpublic AvatarMapping() Create a new avatar mapping.
 - 
AvatarMappingpublic AvatarMapping(java.lang.String componenttype, java.lang.String objecttype)Create a new avatar mapping.
 - 
AvatarMappingpublic AvatarMapping(java.lang.String componenttype, java.lang.String objecttype, boolean createavatar, boolean createcomponent, boolean killavatar, boolean killcomponent)Create a new avatar mapping.
 
- 
 - 
Method Detail- 
getComponentTypepublic java.lang.String getComponentType() Get the componenttype.- Returns:
- The componenttype.
 
 - 
getObjectTypepublic java.lang.String getObjectType() Get the objecttype.- Returns:
- The objecttype.
 
 - 
isCreateAvatarpublic boolean isCreateAvatar() Should avatar be created.- Returns:
- True, for avatar being created.
 
 - 
isCreateComponentpublic boolean isCreateComponent() Should component be created.- Returns:
- True, for component being created.
 
 - 
isKillAvatarpublic boolean isKillAvatar() Should avatar be killed.- Returns:
- True, for avatar being killed.
 
 - 
isKillComponentpublic boolean isKillComponent() Should component being killed.- Returns:
- True, for component being created.
 
 - 
getComponentNamepublic IParsedExpression getComponentName() Get the component name expression, if any.- Returns:
- The component name expression or null.
 
 - 
setComponentTypepublic void setComponentType(java.lang.String componenttype) - Parameters:
- componenttype- the componenttype to set
 
 - 
setObjectTypepublic void setObjectType(java.lang.String object) - Parameters:
- object- the objecttype to set
 
 - 
setCreateAvatarpublic void setCreateAvatar(boolean createavatar) - Parameters:
- createavatar- the createavatar to set
 
 - 
setCreateComponentpublic void setCreateComponent(boolean createcomponent) - Parameters:
- createcomponent- the createcomponent to set
 
 - 
setKillAvatarpublic void setKillAvatar(boolean killavatar) - Parameters:
- killavatar- the killavatar to set
 
 - 
setKillComponentpublic void setKillComponent(boolean killcomponent) - Parameters:
- killcomponent- the killcomponent to set
 
 - 
setComponentNamepublic void setComponentName(IParsedExpression componentname) Set the component name expression.- Parameters:
- name- The component name expression.
 
 
- 
 
-