@@ -0,0 +1,1157 @@
+/**%0A * Copyright (c) 2016, Michael Sonntag%0A *%0A * All rights reserved.%0A *%0A * Redistribution and use in source and binary forms, with or without%0A * modification, are permitted under the terms of the BSD License. See%0A * LICENSE file in the root of the Project.%0A */%0A%0Apackage lib;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.UUID;%0A%0A/**%0A * Instances contain all information of a tagged entity.%0A */%0Apublic class TaggedEntity %7B%0A%0A    private String entityID;%0A    private List%3CString%3E tags;%0A    private String body;%0A%0A    TaggedEntity() %7B%0A        this.entityID = UUID.randomUUID().toString();%0A        this.tags = new ArrayList%3C%3E();%0A        this.body = %22%22;%0A    %7D%0A%0A    TaggedEntity(String entityID) %7B%0A        this.entityID = entityID;%0A        this.tags = new ArrayList%3C%3E();%0A        this.body = %22%22;%0A    %7D%0A%0A%0A    public String getEntityID() %7B%0A        return entityID;%0A    %7D%0A%0A    public List%3CString%3E getTags() %7B%0A        return tags;%0A    %7D%0A%0A    public void setTags(List%3CString%3E tags) %7B%0A        this.tags = tags;%0A    %7D%0A%0A    public String getBody() %7B%0A        return body;%0A    %7D%0A%0A    public void setBody(String body) %7B%0A        this.body = body;%0A    %7D%0A%7D%0A

add tagged entity