public class RelationManager extends Object
Relation wrapper. This class contains
most used interrogations (such as getRelationById and methods for saving an
object of this class.
* IMPORTANT: this class has no public constructor. A singleton instance of this class is contained
in MapSessionManager class
| Modifier and Type | Method and Description |
|---|---|
Relation |
getRelationById(String symbol)
This method reads a Relation instance having
symbol as primary key value from the database
and returns it. |
protected static RelationManager |
getRelationManager() |
protected static RelationManager getRelationManager()
public Relation getRelationById(String symbol)
This method reads a Relation instance having symbol as primary key value from the database
and returns it.
symbol - the symbol (primary key) of the required relation.Relation instance having symbol as representative symbol.