class template in uml

Has anyone used the class template in uml diagrams? I am trying to use a class template for writing and reading data. I am having trouble using the template parameters as an input type or return type for operations within the template class.
[248 byte] By [lisayuhna] at [2007-11-26 15:39:36]
# 1
Could you please be a bit more specific of what your issue is. Maybe providing an example of what you want for input type or return type for operations will help.
petersla at 2007-7-8 21:58:00 > top of Java-index,Development Tools,Java Tools...
# 2

I have a class template DataReaderListener. The template parameter is ElementType. One of its operations is take() and should return data of type ElementType. I want to show that the class RawPulseListener is derived from DataReaderListener with RawPulse substituted for ElementType. So in my uml diagram I am using the derivation classifier to show RawPulseListener. Then I use the derivation edge to show the relationship between the template class DataReaderListener and the derived class RawPulseListener. Is this correct?

lisayuhna at 2007-7-8 21:58:00 > top of Java-index,Development Tools,Java Tools...
# 3
That's correct. What was the issue you had?
sherylsua at 2007-7-8 21:58:00 > top of Java-index,Development Tools,Java Tools...
# 4
How do I use this derived class in a sequence diagram? It does not show the template operations when I try to show a message between another object and the derived template instance?
lisayuhna at 2007-7-8 21:58:00 > top of Java-index,Development Tools,Java Tools...
# 5
Yes, you are correct. That is a good usecase that we do not currently handle. Can you create an issue Issuezilla http://uml.netbeans.org/issues/enter_bug.cgi?component=uml&issue_type=DEFEC T
TreySpivaa at 2007-7-8 21:58:00 > top of Java-index,Development Tools,Java Tools...