Interface CBProtocolDeclarationType
- All Known Implementing Classes:
CBProtocolDeclaration
public interface CBProtocolDeclarationType
The base type of protocol declarations.
-
Method Details
-
owner
CBPackageType owner()- Returns:
- The package that owns this declaration
-
name
String name()- Returns:
- The package-unique declaration name
-
versions
Map<BigInteger,CBProtocolVersionDeclarationType> versions()- Returns:
- The protocols by version
-
protocolVersionsForType
Find all protocol versions to which the given type belongs.- Parameters:
type- The type- Returns:
- The protocol versions
-
id
- Returns:
- The unique ID of the protocol
-
documentation
- Returns:
- Documentation for the protocol declaration
-