Package jadex.extension.agr
Class MAGRSpaceType
- java.lang.Object
-
- jadex.extension.agr.MAGRSpaceType
-
public class MAGRSpaceType extends java.lang.Object
An AGR space description.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
classname
The class name.protected java.util.List
grouptypes
The grouptypes.protected java.lang.String
name
The name.
-
Constructor Summary
Constructors Constructor Description MAGRSpaceType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMGroupType(MGroupType grouptype)
Add a group type to this space type.java.lang.String
getClassName()
Get the classname.MGroupType
getGroupType(java.lang.String name)
Get a group type by name.MGroupType[]
getMGroupTypes()
Get the group types of this space type.java.lang.String
getName()
Get the name.void
removeMGroupType(MGroupType grouptype)
Remove a group type from this space type.void
setClassName(java.lang.String classname)
Set the classname.void
setName(java.lang.String name)
Set the name.java.lang.String
toString()
Get a string representation of this AGR space type.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Get the name.- Returns:
- The name.
-
setName
public void setName(java.lang.String name)
Set the name.- Parameters:
name
- The name to set.
-
getClassName
public java.lang.String getClassName()
Get the classname.- Returns:
- the classname.
-
setClassName
public void setClassName(java.lang.String classname)
Set the classname.- Parameters:
classname
- The classname to set.
-
getMGroupTypes
public MGroupType[] getMGroupTypes()
Get the group types of this space type.- Returns:
- An array of group types (if any).
-
addMGroupType
public void addMGroupType(MGroupType grouptype)
Add a group type to this space type.- Parameters:
grouptype
- The group type to add.
-
removeMGroupType
public void removeMGroupType(MGroupType grouptype)
Remove a group type from this space type.- Parameters:
grouptype
- The group type to remove.
-
getGroupType
public MGroupType getGroupType(java.lang.String name)
Get a group type by name.
-
toString
public java.lang.String toString()
Get a string representation of this AGR space type.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A string representation of this AGR space type.
-
-