|
Log4j 0.9d | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.psnc.expres.wfm.model.factory.WfmResourceFactory
public class WfmResourceFactory
WfmResourceFactory
class - factory class for retrieving resources and
their properties
Constructor Summary | |
---|---|
WfmResourceFactory()
|
Method Summary | |
---|---|
static ResourceValue |
getResource(int id)
Get the resource by the given id |
static ResourceValue |
getResource(String abbr)
Get the resource by resource abbreviation |
static int |
nextSequenceNumber()
Get next resource identifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WfmResourceFactory()
Method Detail |
---|
public static ResourceValue getResource(int id) throws ResourceNotFoundException
id
- resource id
ResourceNotFoundException
public static ResourceValue getResource(String abbr) throws ResourceNotFoundException
abbr
- resource abbreviation
ResourceValue
ResourceNotFoundException
- when resource with the given
abbreviation does not existpublic static int nextSequenceNumber()
|
Log4j 0.9d | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |