|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.codat.Codat
public class Codat
The common container for managing content within JXTA. A Codat consists of:
Document
.CodatID
.
CodatID
,
Document
Constructor Summary | |
---|---|
Codat(CodatID id,
CodatID about,
Document document)
Constructs a Codat instance for an existing Codat given it's CodatID and a document. |
|
Codat(PeerGroupID groupID,
CodatID about,
Document document)
Constructs a Codat instance with a new CodatId given a PeerGroupID and a Document. |
Method Summary | |
---|---|
ID |
getCodatID()
Returns the CodatID of this Codat. |
Document |
getDocument()
Returns a Document containing the data of this Codat. |
ID |
getMetaID()
Returns the CodatID of an associated Codat for which this Codat is metadata or null if there is no associated Codat. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Codat(PeerGroupID groupID, CodatID about, Document document) throws IOException
groupID
- The peer group to which this Codat will belong.about
- The CodatID of an associated Codat for which this Codat is
metadata or null if there is no associated Codat.document
- Document which contains the content data for this Codat.
IOException
- if there is an error accessing the document.public Codat(CodatID id, CodatID about, Document document)
id
- CodatId of the new Codat.about
- CodatID of an associated Codat for which this Codat is metadata.document
- Document which contains the content data for this Codat.Method Detail |
---|
public ID getCodatID()
public ID getMetaID()
public Document getDocument()
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |