|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.document.Advertisement
net.jxta.document.ExtendableAdvertisement
net.jxta.protocol.ModuleClassAdvertisement
public abstract class ModuleClassAdvertisement
A ModuleClassAdvertisement describes a module class. Its main purpose is to formally document the existence of a module class.
ModuleClassID
Constructor Summary | |
---|---|
ModuleClassAdvertisement()
|
Method Summary | |
---|---|
Object |
clone()
Clone this ModuleClassAdvertisement |
static String |
getAdvertisementType()
Returns the identifying type of this Advertisement. |
String |
getBaseAdvType()
Returns the base type of this advertisement hierarchy. |
String |
getDescription()
returns the keywords/description associated with this class |
ID |
getID()
returns a unique ID for that advertisement (for indexing purposes). |
ModuleClassID |
getModuleClassID()
returns the id of the class |
String |
getName()
returns the name of the class |
void |
setDescription(String description)
sets the description associated with this class |
void |
setModuleClassID(ModuleClassID id)
sets the id of the class |
void |
setName(String name)
sets the name of the class |
Methods inherited from class net.jxta.document.ExtendableAdvertisement |
---|
getDocument, handleElement |
Methods inherited from class net.jxta.document.Advertisement |
---|
getAdvType, getIndexFields, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleClassAdvertisement()
Method Detail |
---|
public static String getAdvertisementType()
public final String getBaseAdvType()
final
.
getBaseAdvType
in class ExtendableAdvertisement
public Object clone()
clone
in class Advertisement
public String getName()
public void setName(String name)
name
- name of the class to be setpublic String getDescription()
public void setDescription(String description)
description
- public ModuleClassID getModuleClassID()
public void setModuleClassID(ModuleClassID id)
id
- The id of the classpublic ID getID()
getID
in class Advertisement
|
JXTA J2SE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |