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

Field Summary
 
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(java.math.BigDecimal en)
          Indicates if the identifier represented this BigDecimal value matches a Persistent object manages by the PNamingContext
 boolean match(java.math.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(java.lang.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(java.lang.Character en)
          Indicates if the identifier represented this Character value matches a Persistent object manages by the PNamingContext
 boolean match(java.util.Date en)
          Indicates if the identifier represented this Date 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(java.lang.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(java.lang.Long en)
          Indicates if the identifier represented this Long value matches a Persistent object manages by the PNamingContext
 boolean match(java.lang.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(java.lang.Short en)
          Indicates if the identifier represented this Short value matches a Persistent object manages by the PNamingContext
 boolean match(java.lang.String en)
          Indicates if the identifier represented this String 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.PNamingContext
resolve
 
Methods inherited from interface org.objectweb.jorm.naming.api.PNameManager
export, export, unexport, unexport
 
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
 

Method Detail

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.


unbindSubFPNC

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


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(java.lang.Object en)
Indicates if the identifier represented this Object 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(java.lang.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(java.lang.Character en)
Indicates if the identifier represented this Character 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(java.lang.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(java.lang.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


match

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


match

public boolean match(java.lang.String en)
Indicates if the identifier represented this String 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(java.util.Date en)
Indicates if the identifier represented this Date value matches a Persistent object manages by the PNamingContext


match

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


match

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