solar.service.directory
Class Advertisement

java.lang.Object
  |
  +--solar.service.directory.Advertisement
All Implemented Interfaces:
java.io.Serializable, SolarConstants

public class Advertisement
extends java.lang.Object
implements java.io.Serializable, SolarConstants

A directory advertisement includes a full name and corresponding name record.

Version:
$Id: Advertisement.java,v 1.3 2003/09/25 05:29:57 glchen Exp $
Author:
Guanling Chen
See Also:
Serialized Form

Field Summary
protected  Name _name
           
protected  NameRecord _record
           
private static long serialVersionUID
           
 
Fields inherited from interface solar.SolarConstants
ADVERTISEMENT_SVID, ATTRIBUTE_RECORD_SVID, ATTRIBUTE_SVID, FILTER_CONFIG_SVID, FILTER_SPEC_SVID, GRAPH_SPEC_SVID, GUID_SVID, HEADER_SVID, ID_SVID, NAME_RECORD_SVID, PACK_POLICY_SVID, PIPE_SPEC_SVID, REQUEST_SVID, RPCACK_SVID
 
Constructor Summary
Advertisement(Name name, NameRecord record)
           
 
Method Summary
 Name getName()
          Return the name in this advertisement.
 NameRecord getNameRecord()
          Return the name record in this advertisement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

_name

protected Name _name

_record

protected NameRecord _record
Constructor Detail

Advertisement

public Advertisement(Name name,
                     NameRecord record)
Method Detail

getName

public Name getName()
Return the name in this advertisement.


getNameRecord

public NameRecord getNameRecord()
Return the name record in this advertisement.