public class XBCBlockDef extends java.lang.Object implements XBBlockDef, XBTSerializable
| Constructor and Description |
|---|
XBCBlockDef(XBACatalog catalog,
XBCBlockSpec blockSpec) |
| Modifier and Type | Method and Description |
|---|---|
XBCBlockSpec |
getBlockSpec() |
XBACatalog |
getCatalog() |
long |
getParamCount()
Get count of parameter's declarations.
|
XBParamDecl |
getParamDecl(int index)
Get specific parameter declaration.
|
java.util.List<XBParamDecl> |
getParamDecls()
Get list of parameters in order of appearance.
|
XBTBlock |
getParameter(XBTBlock block,
int index)
Get n-th parameter of the given block.
|
int |
getParametersCount(XBTBlock block)
Get count of parameters defined in given block.
|
java.util.List<XBRevisionDef> |
getRevisionDefs()
Get list of revisions in order of appliance.
|
XBTSerialMethod |
getXBTSerializationMethod()
Serialization method serialization from and to XBUP level 0 protocol.
|
void |
setParameter(XBTEditableBlock block,
int index,
XBTBlock parameter)
Set n-th parameter of the given block.
|
public XBCBlockDef(XBACatalog catalog, XBCBlockSpec blockSpec)
public java.util.List<XBRevisionDef> getRevisionDefs()
XBBlockDefgetRevisionDefs in interface XBBlockDefpublic XBParamDecl getParamDecl(int index)
XBBlockDefgetParamDecl in interface XBBlockDefpublic java.util.List<XBParamDecl> getParamDecls()
XBBlockDefgetParamDecls in interface XBBlockDefpublic long getParamCount()
XBBlockDefgetParamCount in interface XBBlockDefpublic XBTBlock getParameter(XBTBlock block, int index)
XBBlockDefgetParameter in interface XBBlockDefblock - block to get parameter fromindex - index of the requested parameterpublic void setParameter(XBTEditableBlock block, int index, XBTBlock parameter)
XBBlockDefsetParameter in interface XBBlockDefblock - block to modify parameter inindex - index of parameter to modifyparameter - parameter contentpublic int getParametersCount(XBTBlock block)
XBBlockDefgetParametersCount in interface XBBlockDefblock - block to get count of parameters frompublic XBCBlockSpec getBlockSpec()
public XBACatalog getCatalog()
public XBTSerialMethod getXBTSerializationMethod()
XBTSerializablegetXBTSerializationMethod in interface XBTSerializable