org.objectweb.jorm.naming.api
Interface PolymorphicPName

All Superinterfaces:
java.lang.Cloneable, PName, java.io.Serializable

public interface PolymorphicPName
extends PName

Polymorphic PNames are used for inheritance.

Author:
Y.Bersihand

Method Summary
 boolean isPolymorphic()
          It returns true if the PName is polymorphic, else it returns false.
 void setPNameManager(PNameManager pNameManager)
          Sets the pNameManager of the PName.
 void setPolymorphic(boolean polymorphic)
          It sets the PName to polymorphic.
 
Methods inherited from interface org.objectweb.jorm.naming.api.PName
codingSupported, encode, encodeAbstract, encodeBigDecimal, encodeBigInteger, encodeByte, encodeChar, encodeCharArray, encodeDate, encodeInt, encodeLong, encodeObyte, encodeOchar, encodeOint, encodeOlong, encodeOshort, encodeShort, encodeString, export, export, getPNameManager, getPType, isNull, resolve, unexport, unexport
 

Method Detail

isPolymorphic

public boolean isPolymorphic()
It returns true if the PName is polymorphic, else it returns false. A polymorphic PName has a filter which is not part of the primary key: then two kinds of PName exist, the first PName is composed of the primary key and the second PName is composed of the primary key plus the filter.


setPolymorphic

public void setPolymorphic(boolean polymorphic)
It sets the PName to polymorphic.


setPNameManager

public void setPNameManager(PNameManager pNameManager)
Sets the pNameManager of the PName. Used to change the link between the PName and a PBinder to a link between the PName and the PNCoder.