org.objectweb.jorm.naming.api

Interface FilteredPNamingContext

All Superinterfaces:
PNameCoder, PNameManager, PNamingContext

public interface FilteredPNamingContext
extends PNamingContext

Represents a PNamingContext able to say if a pname structure (pname getter, a long, ...) match a persistent object represented by this PNamingContext. A FilteredPNamingContext must support the decoding type of its parent. This means that the decodeXXX(xxx) and the match(xxx) methods, where xxx is the parent coding type, must be supported.

Author:
S.Chassande-Barrioz, P.Dechamboux

Fields inherited from interface org.objectweb.jorm.naming.api.PNameCoder

CTBIGDECIMAL, CTBIGINTEGER, CTBYTE, CTBYTEARRAY, CTCHAR, CTCHARARRAY, CTCOMPOSITE, CTDATE, CTINT, CTLONG, CTOBYTE, CTOCHAR, CTOINT, CTOLONG, CTOSHORT, CTSHORT, CTSTRING, CTSYSTEM

Method Summary

void
bindSubFPNC(FilteredPNamingContext fpnc)
binds a sub filteredPNamingContext to the current.
boolean
match(BigDecimal en)
Indicates if the identifier represented this BigDecimal value matches a Persistent object manages by the PNamingContext
boolean
match(BigInteger en)
Indicates if the identifier represented this BigInteger value matches a Persistent object manages by the PNamingContext
boolean
match(Byte en)
Indicates if the identifier represented this Byte value matches a Persistent object manages by the PNamingContext
boolean
match(Character en)
Indicates if the identifier represented this Character value matches a Persistent object manages by the PNamingContext
boolean
match(Date en)
Indicates if the identifier represented this Date value matches a Persistent object manages by the PNamingContext
boolean
match(Integer en)
Indicates if the identifier represented this Integer value matches a Persistent object manages by the PNamingContext
boolean
match(Long en)
Indicates if the identifier represented this Long value matches a Persistent object manages by the PNamingContext
boolean
match(Object en)
Indicates if the identifier represented this Object value matches a Persistent object manages by the PNamingContext
boolean
match(Short en)
Indicates if the identifier represented this Short value matches a Persistent object manages by the PNamingContext
boolean
match(String en)
Indicates if the identifier represented this String value matches a Persistent object manages by the PNamingContext
boolean
match(byte en)
Indicates if the identifier represented this byte value matches a Persistent object manages by the PNamingContext
boolean
match(byte[] en)
Indicates if the identifier represented this byte[] value matches a Persistent object manages by the PNamingContext
boolean
match(char en)
Indicates if the identifier represented this char value matches a Persistent object manages by the PNamingContext
boolean
match(char[] en)
Indicates if the identifier represented this char[] value matches a Persistent object manages by the PNamingContext
boolean
match(int en)
Indicates if the identifier represented this int value matches a Persistent object manages by the PNamingContext
boolean
match(long en)
Indicates if the identifier represented this long value matches a Persistent object manages by the PNamingContext
boolean
match(short en)
Indicates if the identifier represented this short value matches a Persistent object manages by the PNamingContext
void
unbindSubFPNC(FilteredPNamingContext fpnc)
Unbinds a sub PNC from its parent.

Methods inherited from interface org.objectweb.jorm.naming.api.PNameCoder

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

Methods inherited from interface org.objectweb.jorm.naming.api.PNameManager

export, export, unexport, unexport

Methods inherited from interface org.objectweb.jorm.naming.api.PNamingContext

resolve

Method Details

bindSubFPNC

public void bindSubFPNC(FilteredPNamingContext fpnc)
binds a sub filteredPNamingContext to the current. The implementation of this method must register the sub PNC and call the setParentCodingType method on this child.


match

public boolean match(BigDecimal en)
Indicates if the identifier represented this BigDecimal value matches a Persistent object manages by the PNamingContext


match

public boolean match(BigInteger en)
Indicates if the identifier represented this BigInteger value matches a Persistent object manages by the PNamingContext


match

public boolean match(Byte en)
Indicates if the identifier represented this Byte value matches a Persistent object manages by the PNamingContext


match

public boolean match(Character en)
Indicates if the identifier represented this Character value matches a Persistent object manages by the PNamingContext


match

public boolean match(Date en)
Indicates if the identifier represented this Date value matches a Persistent object manages by the PNamingContext


match

public boolean match(Integer en)
Indicates if the identifier represented this Integer value matches a Persistent object manages by the PNamingContext


match

public boolean match(Long en)
Indicates if the identifier represented this Long value matches a Persistent object manages by the PNamingContext


match

public boolean match(Object en)
Indicates if the identifier represented this Object value matches a Persistent object manages by the PNamingContext


match

public boolean match(Short en)
Indicates if the identifier represented this Short value matches a Persistent object manages by the PNamingContext


match

public boolean match(String en)
Indicates if the identifier represented this String value matches a Persistent object manages by the PNamingContext


match

public boolean match(byte en)
Indicates if the identifier represented this byte value matches a Persistent object manages by the PNamingContext


match

public boolean match(byte[] en)
Indicates if the identifier represented this byte[] value matches a Persistent object manages by the PNamingContext


match

public boolean match(char en)
Indicates if the identifier represented this char value matches a Persistent object manages by the PNamingContext


match

public boolean match(char[] en)
Indicates if the identifier represented this char[] value matches a Persistent object manages by the PNamingContext


match

public boolean match(int en)
Indicates if the identifier represented this int value matches a Persistent object manages by the PNamingContext


match

public boolean match(long en)
Indicates if the identifier represented this long value matches a Persistent object manages by the PNamingContext


match

public boolean match(short en)
Indicates if the identifier represented this short value matches a Persistent object manages by the PNamingContext


unbindSubFPNC

public void unbindSubFPNC(FilteredPNamingContext fpnc)
Unbinds a sub PNC from its parent.