net.jini.lookup.entry
Class UIDescriptorBean

java.lang.Object
  extended by net.jini.lookup.entry.UIDescriptorBean
All Implemented Interfaces:
Serializable, EntryBean

public class UIDescriptorBean
extends Object
implements EntryBean, 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
 Entry followLink()
          Return the UIDescriptor linked to by this JavaBeans component.
 Set getAttributes()
          Return the value of the attributes field in the object linked to by this JavaBeans component.
 MarshalledObject getFactory()
          Return the value of the factory field in the object linked to by this JavaBeans component.
 String getRole()
          Return the value of the role field in the object linked to by this JavaBeans component.
 String getToolkit()
          Return the value of the toolkit field in the object linked to by this JavaBeans component.
 void makeLink(Entry e)
          Make a link to a UIDescriptor object.
 void setAttributes(Set attributes)
          Set the value of the attributes field in the object linked to by this JavaBeans component.
 void setFactory(MarshalledObject factory)
          Set the value of the factory field in the object linked to by this JavaBeans component.
 void setRole(String role)
          Set the value of the role field in the object linked to by this JavaBeans component.
 void setToolkit(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(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:
ClassCastException - the Entry is not a UIDescriptor, the correct type for this JavaBeans component

followLink

public Entry followLink()
Return the UIDescriptor linked to by this JavaBeans component.

Specified by:
followLink in interface EntryBean
Returns:
the entry linked to by this JavaBeans component.

getRole

public 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(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 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(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 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(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 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(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()


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.