次のメソッドがあり、最後のエントリを返すようになりましたが、注釈のリストを送信するにはどうすればよいですか?
ループからすべての注釈リストを返したい
public EList<Annotation> getAnnotation()
{
EList<Annotation> annotations = null;
for (Sc currSc : sche)
{
for (EntityS entitys : ent)
{
// Get annotation
annotations = entitys.getAnnotations();
}
}
return annotations;
}