|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RegisteredClasses
Storage for generated classes. Classes can be retrieved with the ExpandedNodeId of the
type node.
| Method Summary | |
|---|---|
boolean |
containsClass(org.opcfoundation.ua.builtintypes.ExpandedNodeId id)
|
Class<? extends UaInstance> |
getClass(org.opcfoundation.ua.builtintypes.ExpandedNodeId id)
Get a previously registered class. |
void |
registerClass(Class<? extends UaInstance> clazz)
Register a class to the store. |
void |
registerClass(Class<? extends UaInstance> clazz,
org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinitionId)
Register a class to the store. |
void |
registerClasses(Collection<Class<? extends UaInstance>> classes)
Register all classes in the collection. |
| Method Detail |
|---|
boolean containsClass(org.opcfoundation.ua.builtintypes.ExpandedNodeId id)
id - the TypeDefinitionId to check.
Class<? extends UaInstance> getClass(org.opcfoundation.ua.builtintypes.ExpandedNodeId id)
id - The TypeDefinitionId of the type to look for. The NodeId must be defined with a
namespace URI (instead of namespace index)
void registerClass(Class<? extends UaInstance> clazz)
throws AnnotationException
clazz - the class representing the type. The Class must have the TypeDefinitionId
annotation.
AnnotationException
void registerClass(Class<? extends UaInstance> clazz,
org.opcfoundation.ua.builtintypes.ExpandedNodeId typeDefinitionId)
clazz - the class representing the typetypeDefinitionId - the TypeDefinitionId of the type. The NodeId must be defined with a
namespace URI (instead of namespace index)void registerClasses(Collection<Class<? extends UaInstance>> classes)
classes - that are registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||