|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.discovery.topics.messages.TopicAdvertisement
public class TopicAdvertisement
This is essentially the Topic Creation Request with the addition of the UUID
by the TDN. The fields have been duplicated here for brevity.
Created on Apr 7, 2005
| Constructor Summary | |
|---|---|
TopicAdvertisement(TopicCreationRequest request)
Utility function to copy fields of TopicCreationRequest to the Advertisement |
|
| Method Summary | |
|---|---|
static TopicAdvertisement |
createObjectFromBytes(byte[] objectBytes)
Unmarshalls the bytes as a TopicAdvertisement object |
Vector |
getAuthorizedUsers()
|
byte[] |
getBytes()
Marshalls the object into an array of bytes. |
String |
getCreatorInfo()
|
Calendar |
getLifetime()
|
Certificate |
getOwnerCredentials()
|
int |
getSynopsisType()
|
String |
getTopicInfo()
|
String |
getTopicSynopsis()
|
String |
getUuid()
|
void |
setCreatorInfo(String creatorInfo)
|
void |
setLifetime(Calendar lifetime)
|
void |
setSynopsisType(int synopsisType)
|
void |
setTopicInfo(String topicInfo)
|
void |
setTopicSynopsis(String topicSynopsis)
|
void |
setUuid(String uuid)
|
String |
toString()
For debugging purposes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TopicAdvertisement(TopicCreationRequest request)
request - | Method Detail |
|---|
public byte[] getBytes()
public static TopicAdvertisement createObjectFromBytes(byte[] objectBytes)
objectBytes -
public String toString()
toString in class Objectpublic final Vector getAuthorizedUsers()
public Certificate getOwnerCredentials()
public final String getCreatorInfo()
public final void setCreatorInfo(String creatorInfo)
creatorInfo - The creatorInfo to set.public final Calendar getLifetime()
public final void setLifetime(Calendar lifetime)
lifetime - The lifetime to set.public final int getSynopsisType()
public final void setSynopsisType(int synopsisType)
synopsisType - The synopsisType to set.public final String getTopicInfo()
public final void setTopicInfo(String topicInfo)
topicInfo - The topicInfo to set.public final String getTopicSynopsis()
public final void setTopicSynopsis(String topicSynopsis)
topicSynopsis - The topicSynopsis to set.public final String getUuid()
public final void setUuid(String uuid)
uuid - The uuid to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||