public class MGroupInstance
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
name
The name.
|
protected java.util.List |
positions
The positions.
|
protected java.lang.String |
typename
The type name.
|
Constructor and Description |
---|
MGroupInstance() |
Modifier and Type | Method and Description |
---|---|
void |
addMPosition(MPosition position)
Add a position.
|
MGroupType |
getGroupType(MAGRSpaceType spacetype)
Get the group type.
|
MPosition[] |
getMPositions()
Get the positions.
|
java.lang.String |
getName()
Get the name of the group type.
|
java.lang.String |
getTypeName()
Get the type name.
|
void |
setName(java.lang.String name)
Set the name of the group type.
|
void |
setTypeName(java.lang.String typename)
Set the type name.
|
java.lang.String |
toString()
Get a string representation of this AGR group instance.
|
protected java.lang.String name
protected java.lang.String typename
protected java.util.List positions
public void setName(java.lang.String name)
name
- The name of the group type.public java.lang.String getName()
public java.lang.String getTypeName()
public void setTypeName(java.lang.String typename)
typename
- The typename to set.public MPosition[] getMPositions()
public void addMPosition(MPosition position)
position
- The position.public MGroupType getGroupType(MAGRSpaceType spacetype)
public java.lang.String toString()
toString
in class java.lang.Object