org.objectweb.jorm.naming.api
Interface KeyFilteredNamingContext
- PNameCoder, PNameManager, PNamingContext
public interface KeyFilteredNamingContext
- S.Chassande-Barrioz
CTBIGDECIMAL , CTBIGINTEGER , CTBYTE , CTBYTEARRAY , CTCHAR , CTCHARARRAY , CTCOMPOSITE , CTDATE , CTINT , CTLONG , CTOBYTE , CTOCHAR , CTOINT , CTOLONG , CTOSHORT , CTSHORT , CTSTRING , CTSYSTEM |
codingSupported , decode , decodeAbstract , decodeBigDecimal , decodeBigInteger , decodeByte , decodeChar , decodeCharArray , decodeDate , decodeInt , decodeLong , decodeObyte , decodeOchar , decodeOint , decodeOlong , decodeOshort , decodeShort , decodeString , encode , encodeAbstract , encodeBigDecimal , encodeBigInteger , encodeByte , encodeChar , encodeCharArray , encodeDate , encodeInt , encodeLong , encodeObyte , encodeOchar , encodeOint , encodeOlong , encodeOshort , encodeShort , encodeString , getNull , getPType , setNullPName , setPType , supportCompositeField , supportDynamicComposite , supportStaticComposite |
entries
public Map entries()
- an unmodifiable map representing the associations between
a persistent class identifiers (key) and the binder of the persistent
class.
evaluate
public Object evaluate(Object png,
Object ctx)
throws PException
Evaluate the Expression/filter on a PNameGetter
png
- is a PNameGetter permitting to fill the expression parameters
- value of the expression. This value should be a key value of a
persistent class.
exportClass
public void exportClass(PBinder binder,
Object key)
throws PException
Export a new persistent class into this PNamingContext
binder
- is the PBinder instance of the persistent classkey
- is the key value permitting to identify the persistent class
PException
- if the class is already exported in this
PNamingContext.
getExpressionType
public PType getExpressionType()
lookup
public PBinder lookup(Object key)
key
- is the persistent class identifier
- the Pbinder instance corresponding a persistent class
setExpressionType
public void setExpressionType(PType type)
unexportClass
public void unexportClass(Object key)
throws PException
Unexport a persistent class from this PNamingContext
key
- is the key value permitting to identify the persistent class
PException
- if the persistent class is not managed by this
PNamingContext.