public class AvatarMapping
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected IParsedExpression |
componentname
The name of the component to be created for an avatar.
|
protected java.lang.String |
componenttype
The component type name.
|
protected boolean |
createavatar
The flag for creating the avatar when an component is created.
|
protected boolean |
createcomponent
The flag for creating the component when an avatar is created.
|
protected boolean |
killavatar
The flag for deleting the avatar when component is killed.
|
protected boolean |
killcomponent
The flag for deleting the component when avatar is killed.
|
protected java.lang.String |
objecttype
The object type.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
IParsedExpression |
getComponentName()
Get the component name expression, if any.
|
java.lang.String |
getComponentType()
Get the componenttype.
|
java.lang.String |
getObjectType()
Get the objecttype.
|
boolean |
isCreateAvatar()
Should avatar be created.
|
boolean |
isCreateComponent()
Should component be created.
|
boolean |
isKillAvatar()
Should avatar be killed.
|
boolean |
isKillComponent()
Should component being killed.
|
void |
setComponentName(IParsedExpression componentname)
Set the component name expression.
|
void |
setComponentType(java.lang.String componenttype) |
void |
setCreateAvatar(boolean createavatar) |
void |
setCreateComponent(boolean createcomponent) |
void |
setKillAvatar(boolean killavatar) |
void |
setKillComponent(boolean killcomponent) |
void |
setObjectType(java.lang.String object) |
protected java.lang.String componenttype
protected java.lang.String objecttype
protected boolean createavatar
protected boolean createcomponent
protected boolean killavatar
protected boolean killcomponent
protected IParsedExpression componentname
public AvatarMapping()
public AvatarMapping(java.lang.String componenttype, java.lang.String objecttype)
public AvatarMapping(java.lang.String componenttype, java.lang.String objecttype, boolean createavatar, boolean createcomponent, boolean killavatar, boolean killcomponent)
public java.lang.String getComponentType()
public java.lang.String getObjectType()
public boolean isCreateAvatar()
public boolean isCreateComponent()
public boolean isKillAvatar()
public boolean isKillComponent()
public IParsedExpression getComponentName()
public void setComponentType(java.lang.String componenttype)
componenttype
- the componenttype to setpublic void setObjectType(java.lang.String object)
object
- the objecttype to setpublic void setCreateAvatar(boolean createavatar)
createavatar
- the createavatar to setpublic void setCreateComponent(boolean createcomponent)
createcomponent
- the createcomponent to setpublic void setKillAvatar(boolean killavatar)
killavatar
- the killavatar to setpublic void setKillComponent(boolean killcomponent)
killcomponent
- the killcomponent to setpublic void setComponentName(IParsedExpression componentname)
name
- The component name expression.