|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ISymbolicChunkType
This is the basic interface for the symbolic component of chunktypes. Since ChunkTypes can utilize an inheritance structure, implementations must be sure that added slots are propagated to children chunktypes and chunk instances. Likewise, the addition of new parents (not a common occurrence) should be propogated appropriately.
| Method Summary | |
|---|---|
void |
addChild(IChunkType ct)
add a chunktype as a child, |
void |
addChunk(IChunk c)
add an encoded chunk to this chunktypes collection |
void |
dispose()
Description of the Method |
void |
encode()
|
java.util.Collection<IChunkType> |
getChildren()
return an array of all the children chunk types |
java.util.Collection<IChunk> |
getChunks()
return all chunks of this type |
java.lang.String |
getName()
Return the unique chunktype name. |
int |
getNumberOfChildren()
Gets the numberOfChildren attribute of the ISymbolicChunkType object |
int |
getNumberOfChunks()
Gets the numberOfChunks attribute of the ISymbolicChunkType object |
IChunkType |
getParent()
Return the immediate parent of this chunktype |
boolean |
isA(IChunkType ct)
|
void |
setName(java.lang.String name)
Set the chunktype name. |
| Methods inherited from interface org.jactr.core.slot.IUniqueSlotContainer |
|---|
getSlot |
| Methods inherited from interface org.jactr.core.slot.ISlotContainer |
|---|
addSlot, getSlots, getSlots, removeSlot |
| Method Detail |
|---|
java.lang.String getName()
void setName(java.lang.String name)
name - The new chunkTypeName valueIChunkType getParent()
java.util.Collection<IChunkType> getChildren()
int getNumberOfChildren()
void addChild(IChunkType ct)
java.util.Collection<IChunk> getChunks()
void addChunk(IChunk c)
int getNumberOfChunks()
boolean isA(IChunkType ct)
void dispose()
void encode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||