org.objectweb.jorm.naming.lib
Class BasicPolymorphicPName

java.lang.Object
  extended byorg.objectweb.jorm.naming.lib.BasicPName
      extended byorg.objectweb.jorm.naming.lib.BasicPolymorphicPName
All Implemented Interfaces:
java.lang.Cloneable, PName, PolymorphicPName, java.io.Serializable
Direct Known Subclasses:
BasicCompositePName, BasidName, RdbSequencePName

public abstract class BasicPolymorphicPName
extends BasicPName
implements PolymorphicPName

Author:
Y.Bersihand
See Also:
Serialized Form

Field Summary
protected  boolean polymorphic
           
 
Fields inherited from class org.objectweb.jorm.naming.lib.BasicPName
pnc
 
Constructor Summary
BasicPolymorphicPName()
           
 
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 class org.objectweb.jorm.naming.lib.BasicPName
codingSupported, encode, encodeAbstract, encodeBigDecimal, encodeBigInteger, encodeByte, encodeChar, encodeCharArray, encodeDate, encodeInt, encodeLong, encodeObyte, encodeOchar, encodeOint, encodeOlong, encodeOshort, encodeShort, encodeString, export, export, getPNameManager, getPType, resolve, setPNamingContext, toString, unexport, unexport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 

Field Detail

polymorphic

protected boolean polymorphic
Constructor Detail

BasicPolymorphicPName

public BasicPolymorphicPName()
Method Detail

setPNameManager

public void setPNameManager(PNameManager pNameManager)
Description copied from interface: PolymorphicPName
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.

Specified by:
setPNameManager in interface PolymorphicPName

setPolymorphic

public void setPolymorphic(boolean polymorphic)
Description copied from interface: PolymorphicPName
It sets the PName to polymorphic.

Specified by:
setPolymorphic in interface PolymorphicPName

isPolymorphic

public boolean isPolymorphic()
Description copied from interface: PolymorphicPName
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.

Specified by:
isPolymorphic in interface PolymorphicPName