public class XBDParamDecl extends java.lang.Object implements XBParamDecl, XBTSerializable
| Constructor and Description |
|---|
XBDParamDecl(XBBlockDecl blockDecl)
Creates a new instance of XBDParamDecl
|
| Modifier and Type | Method and Description |
|---|---|
static XBParamType |
convertParamType(boolean joinFlag,
boolean listFlag)
Convert flags into parameter type.
|
XBParamDecl |
convertToNonList()
Get new instance of the same declaration, but as list.
|
XBBlockDecl |
getBlockDecl()
Get block declaration.
|
XBParamType |
getParamType()
Get type of this parameter.
|
XBTSerialMethod |
getXBTSerializationMethod()
Serialization method serialization from and to XBUP level 0 protocol.
|
boolean |
isJoinFlag()
Get flag whether parameter is joined.
|
boolean |
isListFlag()
Get flag whether parameter is list of items.
|
void |
setBlockDecl(XBBlockDecl blockDecl) |
void |
setJoinFlag(boolean joinFlag) |
void |
setListFlag(boolean listFlag) |
public XBDParamDecl(XBBlockDecl blockDecl)
public XBBlockDecl getBlockDecl()
XBParamDeclgetBlockDecl in interface XBParamDeclpublic void setBlockDecl(XBBlockDecl blockDecl)
blockDecl - the blockDecl to setpublic boolean isListFlag()
XBParamDeclisListFlag in interface XBParamDeclpublic void setListFlag(boolean listFlag)
listFlag - the listFlag to setpublic boolean isJoinFlag()
XBParamDeclisJoinFlag in interface XBParamDeclpublic void setJoinFlag(boolean joinFlag)
joinFlag - the joinFlag to setpublic static XBParamType convertParamType(boolean joinFlag, boolean listFlag)
joinFlag - join flaglistFlag - list flagpublic XBParamType getParamType()
XBParamDeclgetParamType in interface XBParamDeclpublic XBParamDecl convertToNonList()
XBParamDeclconvertToNonList in interface XBParamDeclpublic XBTSerialMethod getXBTSerializationMethod()
XBTSerializablegetXBTSerializationMethod in interface XBTSerializable