Menu

KnownConcepts

2006-09-07
2013-04-03
  • Nicholas Clarke

    Nicholas Clarke - 2006-09-07

    It would be helpful if KnownConcepts had a method to return all its known concepts, especially when it has got these concepts from an XML file.

    I for example wish to use this to display the full list of known concepts for the user to map existing fields to (before creating a RecordSet).

    I've implemented the following code:

    public Set<Concept> getConcepts(){
    return Collections.unmodifiableSet((HashSet<Concept>)this.concepts.values();
    }

    Apologies if this should have gone in feature requests - wasn't certain and didn't think it would get too lost in the posts of this forum.

    Cheers,

    Nick

     
    • Nicholas Clarke

      Nicholas Clarke - 2006-09-07

      Erm... *looks abashed*... but this doesn't seem to work, so it would be nice to have one that does.

       

Log in to post a comment.