net.jini.lookup.entry
Class UIDescriptorBean

java.lang.Object
  |
  +--net.jini.lookup.entry.UIDescriptorBean
All Implemented Interfaces:
EntryBean, java.io.Serializable

public class UIDescriptorBean
extends java.lang.Object
implements EntryBean, java.io.Serializable

A JavaBeans(TM) component that encapsulates a UIDescriptor object.

See Also:
UIDescriptor, Serialized Form

Field Summary
protected  UIDescriptor assoc
           
 
Constructor Summary
UIDescriptorBean()
          Construct a new JavaBeans component, linked to a new empty UIDescriptor object.
 
Method Summary
 net.jini.core.entry.Entry followLink()
          Return the UIDescriptor linked to by this JavaBeans component.
 java.util.Set getAttributes()
          Return the value of the attributes field in the object linked to by this JavaBeans component.
 java.rmi.MarshalledObject getFactory()
          Return the value of the factory field in the object linked to by this JavaBeans component.
 java.lang.String getRole()
          Return the value of the role field in the object linked to by this JavaBeans component.
 java.lang.String getToolkit()
          Return the value of the toolkit field in the object linked to by this JavaBeans component.
 void makeLink(net.jini.core.entry.Entry e)
          Make a link to a UIDescriptor object.
 void setAttributes(java.util.Set attributes)
          Set the value of the attributes field in the object linked to by this JavaBeans component.
 void setFactory(java.rmi.MarshalledObject factory)
          Set the value of the factory field in the object linked to by this JavaBeans component.
 void setRole(java.lang.String role)
          Set the value of the role field in the object linked to by this JavaBeans component.
 void setToolkit(java.lang.String toolkit)
          Set the value of the toolkit field in the object linked to by this JavaBeans component.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assoc

protected UIDescriptor assoc
Constructor Detail

UIDescriptorBean

public UIDescriptorBean()
Construct a new JavaBeans component, linked to a new empty UIDescriptor object.
Method Detail

makeLink

public void makeLink(net.jini.core.entry.Entry e)
Make a link to a UIDescriptor object.
Specified by:
makeLink in interface EntryBean
Parameters:
e - the Entry object, which must be a UIDescriptor, to which to link
Throws:
java.lang.ClassCastException - the Entry is not a UIDescriptor, the correct type for this JavaBeans component

followLink

public net.jini.core.entry.Entry followLink()
Return the UIDescriptor linked to by this JavaBeans component.
Specified by:
followLink in interface EntryBean

getRole

public java.lang.String getRole()
Return the value of the role field in the object linked to by this JavaBeans component.
Returns:
a String representing the role value
See Also:
setRole(java.lang.String)

setRole

public void setRole(java.lang.String role)
Set the value of the role field in the object linked to by this JavaBeans component.
Parameters:
role - a String specifying the role value
See Also:
getRole()

getToolkit

public java.lang.String getToolkit()
Return the value of the toolkit field in the object linked to by this JavaBeans component.
Returns:
a String representing the toolkit value
See Also:
setToolkit(java.lang.String)

setToolkit

public void setToolkit(java.lang.String toolkit)
Set the value of the toolkit field in the object linked to by this JavaBeans component.
Parameters:
toolkit - a String specifying the toolkit value
See Also:
getToolkit()

getAttributes

public java.util.Set getAttributes()
Return the value of the attributes field in the object linked to by this JavaBeans component.
Returns:
a Set representing the attributes value
See Also:
setAttributes(java.util.Set)

setAttributes

public void setAttributes(java.util.Set attributes)
Set the value of the attributes field in the object linked to by this JavaBeans component.
Parameters:
attributes - a Set specifying the attributes value
See Also:
getAttributes()

getFactory

public java.rmi.MarshalledObject getFactory()
Return the value of the factory field in the object linked to by this JavaBeans component.
Returns:
a MarshalledObject representing the factory value
See Also:
setFactory(java.rmi.MarshalledObject)

setFactory

public void setFactory(java.rmi.MarshalledObject factory)
Set the value of the factory field in the object linked to by this JavaBeans component.
Parameters:
factory - a MarshalledObject specifying the factory value
See Also:
getFactory()