|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PName interface defines the behaviour of a persistent name as it is managed by its associated naming context. Indeed, such a behaviour is supported partly within the name implementation, and partly within its naming context.
Method Summary | |
boolean |
codingSupported(int codingtype)
It tests if a given coding type is supported for this PName. |
byte[] |
encode()
The encode method produces an encoded representation of this PName within its naming context. |
java.lang.Object |
encodeAbstract()
The encodeAbstract method produces an encoded representation of this PName. |
java.math.BigDecimal |
encodeBigDecimal()
The encodeBigDecimal method produces an encoded representation of this PName within its naming context. |
java.math.BigInteger |
encodeBigInteger()
The encodeBigInteger method produces an encoded representation of this PName within its naming context. |
byte |
encodeByte()
The encodeByte method produces an encoded representation of this PName within its naming context. |
char |
encodeChar()
The encodeChar method produces an encoded representation of this PName within its naming context. |
char[] |
encodeCharArray()
The encodeCharArray method produces an encoded representation of this PName within its naming context. |
java.util.Date |
encodeDate()
The encodeDate method produces an encoded representation of this PName within its naming context. |
int |
encodeInt()
The encodeInt method produces an encoded representation of this PName within its naming context. |
long |
encodeLong()
The encodeLong method produces an encoded representation of this PName within its naming context. |
java.lang.Byte |
encodeObyte()
The encodeObyte method produces an encoded representation of this PName within its naming context. |
java.lang.Character |
encodeOchar()
The encodeOchar method produces an encoded representation of this PName within its naming context. |
java.lang.Integer |
encodeOint()
The encodeOint method produces an encoded representation of this PName within its naming context. |
java.lang.Long |
encodeOlong()
The encodeOlong method produces an encoded representation of this PName within its naming context. |
java.lang.Short |
encodeOshort()
The encodeOshort method produces an encoded representation of this PName within its naming context. |
short |
encodeShort()
The encodeShort method produces an encoded representation of this PName within its naming context. |
java.lang.String |
encodeString()
The encodeString method produces an encoded representation of this PName within its naming context. |
PName |
export(java.lang.Object conn,
PNamingContext pnc)
It associates a PName to an information item within a naming context. |
PName |
export(java.lang.Object conn,
PNamingContext pnc,
java.lang.Object hints)
It associates a PName to an information item within a naming context. |
PNameManager |
getPNameManager()
It retrieves the name manager associated to this PName. |
PType |
getPType()
It retrieves the PType associated to this PName if any exists. |
boolean |
isNull()
It tells if this name corresponds to "null" representation within a its naming context. |
PName |
resolve(java.lang.Object conn)
It retrieves the information item associated to the given PName (if any exists). |
void |
unexport(java.lang.Object conn)
It removes this PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
void |
unexport(java.lang.Object conn,
java.lang.Object hints)
It removes this PName and all the associated information within a naming context (i.e., the association between the PName and its information item). |
Method Detail |
public boolean codingSupported(int codingtype)
codingtype
- One of the coding type defined by
PNamingContext.CTxxx constants defined within the
PNamingContext interface.
public byte[] encode() throws PExceptionNaming
PExceptionNaming
public java.lang.Object encodeAbstract() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public byte encodeByte() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.Byte encodeObyte() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public char encodeChar() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.Character encodeOchar() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public int encodeInt() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.Integer encodeOint() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public long encodeLong() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.Long encodeOlong() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public short encodeShort() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.Short encodeOshort() throws PExceptionNaming, java.lang.UnsupportedOperationException
PExceptionNaming
java.lang.UnsupportedOperationException
public java.lang.String encodeString() throws PExceptionNaming
PExceptionNaming
public char[] encodeCharArray() throws PExceptionNaming
PExceptionNaming
public java.util.Date encodeDate() throws PExceptionNaming
PExceptionNaming
public java.math.BigInteger encodeBigInteger() throws PExceptionNaming
PExceptionNaming
public java.math.BigDecimal encodeBigDecimal() throws PExceptionNaming
PExceptionNaming
public PName export(java.lang.Object conn, PNamingContext pnc) throws PException
conn
- The connection that can be used to access the data store.pnc
- Thhe naming context which must provide a PName for
this PName.
PExceptionNaming
- Raised in case of problem within the
naming context.
PExceptionIO
- Raised in case of problem during the access of
the data store
PException
public PName export(java.lang.Object conn, PNamingContext pnc, java.lang.Object hints) throws PException
conn
- The connection that can be used to access the data store.pnc
- Thhe naming context which must provide a PName for
this PName.hints
- Any information relevant for name creation.
PExceptionNaming
- Raised in case of problem within the
naming context.
PExceptionIO
- Raised in case of problem during the access of
the data store
PException
public PNameManager getPNameManager()
public PType getPType()
public boolean isNull()
public PName resolve(java.lang.Object conn) throws java.lang.UnsupportedOperationException, PException
conn
- The connection that can be used to access the data store.
PExceptionNaming
- Raised in case of problem within the
naming context.
PExceptionIO
- Raised in case of problem during the access of
the data store
java.lang.UnsupportedOperationException
PException
public void unexport(java.lang.Object conn) throws PException
conn
- The connection that can be used to access the data store.
PExceptionNaming
- Raised in case of problem within the
naming context.
PExceptionIO
- Raised in case of problem during the access of
the data store
PException
public void unexport(java.lang.Object conn, java.lang.Object hints) throws PException
conn
- The connection that can be used to access the data store.hints
- Any information relevant for name removing.
PExceptionNaming
- Raised in case of problem within the
naming context.
PExceptionIO
- Raised in case of problem during the access of
the data store
PException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |