public class Binding
extends javax.naming.NameClassPair
Title: Object Repository Interface
Description: Defines a Binding
.
Java Naming Binding
.
Copyright: Copyright (c) 2009
Company: StreamScape Technologies
Constructor and Description |
---|
Binding(java.lang.String qualifiedName,
java.lang.String className,
java.lang.String semanticType,
boolean isRelative) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Retrieves the class name of the object bound to the name of this binding.
|
java.lang.String |
getName()
Retrieves the name of this binding.
|
java.lang.String |
getNameInNamespace()
Retrieves the full name of this binding.
|
java.lang.Object |
getObject()
Retrieves the object bound to the name of this binding.
|
java.lang.String |
getType() |
boolean |
isRelative()
Determines whether the name of this binding is relative to the
target context (which is named by the first parameter of the list()
method).
|
void |
setClassName(java.lang.String name)
Sets the class name of this binding.
|
void |
setName(java.lang.String name)
Sets the name of this binding.
|
void |
setNameInNamespace(java.lang.String fullName)
Sets the full name of this binding.
|
void |
setObject(java.lang.Object xdoc)
Sets the object associated with this binding.
|
void |
setRelative(boolean relative)
Sets whether the name of this binding is relative to the target context
(which is named by the first parameter of the list() method).
|
java.lang.String |
toString()
Returns a string representation.
|
public Binding(java.lang.String qualifiedName, java.lang.String className, java.lang.String semanticType, boolean isRelative)
public java.lang.String getClassName()
getClassName
in class javax.naming.NameClassPair
public java.lang.String getName()
getName
in class javax.naming.NameClassPair
public java.lang.String getType()
public java.lang.String getNameInNamespace()
getNameInNamespace
in class javax.naming.NameClassPair
public boolean isRelative()
isRelative
in class javax.naming.NameClassPair
public void setClassName(java.lang.String name)
setClassName
in class javax.naming.NameClassPair
name
- Stringpublic void setName(java.lang.String name)
setName
in class javax.naming.NameClassPair
name
- Stringpublic void setNameInNamespace(java.lang.String fullName)
setNameInNamespace
in class javax.naming.NameClassPair
fullName
- Stringpublic void setRelative(boolean relative)
setRelative
in class javax.naming.NameClassPair
relative
- booleanpublic java.lang.Object getObject()
public void setObject(java.lang.Object xdoc)
xdoc
- Objectpublic java.lang.String toString()
toString
in class javax.naming.NameClassPair
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.