Package gamedata
Class ConversionMap.Group
- java.lang.Object
-
- gamedata.ConversionMap.Entry
-
- gamedata.ConversionMap.NamedEntry
-
- gamedata.ConversionMap.Group
-
- Enclosing class:
- ConversionMap
public static final class ConversionMap.Group extends ConversionMap.NamedEntry
Represents a conversion group in a conversion map file.
-
-
Constructor Summary
Constructors Constructor Description Group(java.lang.String id, java.lang.String name, java.util.Set<ConversionMap.Group> linkedGroups)
Creates a new group entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addLinkedGroups(java.util.Set<ConversionMap.Group> newLinkedGroups)
java.util.Set<ConversionMap.Group>
getLinkedGroups()
Returns the set ofGroup
s this group links to.-
Methods inherited from class gamedata.ConversionMap.NamedEntry
getName, setName
-
Methods inherited from class gamedata.ConversionMap.Entry
equals, getId, hashCode
-
-
-
-
Constructor Detail
-
Group
public Group(java.lang.String id, java.lang.String name, java.util.Set<ConversionMap.Group> linkedGroups)
Creates a new group entry.- Parameters:
id
- the group idname
- the group namelinkedGroups
- a set of groups this group links to
-
-
Method Detail
-
getLinkedGroups
public java.util.Set<ConversionMap.Group> getLinkedGroups()
Returns the set ofGroup
s this group links to. The linked groups will be available as conversion options for all component types in this group.- Returns:
- the set of linked groups
-
addLinkedGroups
protected void addLinkedGroups(java.util.Set<ConversionMap.Group> newLinkedGroups)
-
-