public class Factory
extends java.lang.Object
Constructor and Description |
---|
Factory()
Constructor,
|
Modifier and Type | Method and Description |
---|---|
com.uoc.footballteam.presentation.Command |
getCommand(java.lang.String param)
Permet obtenir una instància d'una de les
implementacions de la interfície
Command . |
static Factory |
getReference()
Permet obtenir una instància de la classe Factory.
|
public static Factory getReference()
public com.uoc.footballteam.presentation.Command getCommand(java.lang.String param)
Command
.param
- - Nom de la implementació concreta de la
interfície 'Command'.