|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.cog.CogHeader
public class CogHeader
A CogHeader contains properties of a Cog data structure as a whole, as opposed to node-specific properties. It serves primarily to maintain the link to the schema and event listeners.
Copyright 2005-2009 Partner Software, Inc.
| Constructor Summary | |
|---|---|
CogHeader()
Creates an empty CogHeader. |
|
| Method Summary | |
|---|---|
void |
addCogEventListener(CogEventListener nosey)
|
CogHeader |
copy()
Creates a complete, deep copy of this CogHeader. |
void |
dispatchEvent(CogEvent event)
|
boolean |
equals(java.lang.Object nother)
|
CogSchema |
getSchema()
Gets the schema that defines the data types for this cog's nodes. |
void |
removeCogEventListener(CogEventListener nosey)
|
void |
setSchema(CogSchema newSchema)
Sets the schema that defines the data types for this cog's nodes. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CogHeader()
| Method Detail |
|---|
public CogSchema getSchema()
public void setSchema(CogSchema newSchema)
newSchema - schema for this cogpublic CogHeader copy()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object nother)
equals in class java.lang.Objectpublic void dispatchEvent(CogEvent event)
public void addCogEventListener(CogEventListener nosey)
public void removeCogEventListener(CogEventListener nosey)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||