net.jini.lookup.entry
Class Name

java.lang.Object
  extended by net.jini.entry.AbstractEntry
      extended by net.jini.lookup.entry.Name
All Implemented Interfaces:
Serializable, Entry

public class Name
extends AbstractEntry

The name of a service as used by users. A service may have multiple names.

Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Field Summary
 String name
          The name itself.
 
Constructor Summary
Name()
          Construct an empty instance of this class.
Name(String name)
          Construct an instance of this class, with all fields initialized appropriately.
 
Method Summary
 
Methods inherited from class net.jini.entry.AbstractEntry
equals, equals, hashCode, hashCode, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name
The name itself.

Constructor Detail

Name

public Name()
Construct an empty instance of this class.


Name

public Name(String name)
Construct an instance of this class, with all fields initialized appropriately.

Parameters:
name - the value of the name


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