public interface ISymbolicChunkType extends IUniqueSlotContainer, IAdaptable
Modifier and Type | Method and Description |
---|---|
void |
addChild(IChunkType ct)
add a chunktype as a child,
|
void |
addChunk(IChunk c)
add an encoded chunk to this chunktypes collection
|
IChunkType |
addParent(IChunkType ct)
add a parent of this chunktype
|
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()
single inheritance parent access.
|
java.util.Collection<IChunkType> |
getParents()
Return the immediate parent of this chunktype.
|
boolean |
isA(IChunkType ct) |
void |
setName(java.lang.String name)
Set the chunktype name.
|
getSlot, hasSlot
addSlot, getSlots, getSlots, removeSlot
getAdapter
java.lang.String getName()
void setName(java.lang.String name)
name
- The new chunkTypeName valueIChunkType getParent()
java.lang.IllegalStateException
- if there are more than one parentjava.util.Collection<IChunkType> getParents()
java.util.Collection<IChunkType> getChildren()
int getNumberOfChildren()
IChunkType addParent(IChunkType ct)
void addChild(IChunkType ct)
java.util.Collection<IChunk> getChunks()
void addChunk(IChunk c)
int getNumberOfChunks()
boolean isA(IChunkType ct)
void dispose()
void encode()