@Entity(value = "elements", noClassnameStored = true) public class ElementImpl extends BasicEntityBean{ public String type; public String locator; public String method; public int position; public ElementImpl() { type = ""; locator = ""; name = ""; method = ""; position = 0; } }
@Entity(value = "repository", noClassnameStored = true) public class RepositoryImpl extends BasicEntityBean { public String type; @Reference(ignoreMissing = true) public List<ElementImpl> rows = new ArrayList<ElementImpl>(); }
@Entity(value = "teams", noClassnameStored = true) public class GroupImpl extends BasicTaggableMongoBean { @Id ObjectId id = new ObjectId(); }
/** * Used to store counters for other entities. * * @author skot */ @Entity(value = "ids", noClassnameStored = true) public static class StoredId { final @Id String className; protected Long value = 1L; public StoredId(String name) { className = name; } protected StoredId() { className = ""; } public Long getValue() { return value; } } }
@Entity(value = "test", noClassnameStored = true) @Embedded public class CampaignLine {
@Entity(value = "tags", noClassnameStored = true) public class TagImpl implements ITaggable {
@Entity(value = "tags", noClassnameStored = true) public class TagImpl {
@Entity(value = "repository") public class RepositoryImpl extends BasicEntityBean implements IRepository{ public String type; @Embedded public ProjectImpl project; @Reference(ignoreMissing = true) public List<ElementImpl> rows = new ArrayList<>(); }
@Entity(value = "teams", noClassnameStored = true) public class UserImpl extends BasicTaggableMongoBean { @Id ObjectId id = new ObjectId(); @Reference List<GroupImpl> groups; }
@Entity(value = "test", noClassnameStored = true) @Embedded public class ComponentConfigLine {
@Entity(value = "test", noClassnameStored = true) @Embedded public class SwingPageConfigLine {
@Entity(value = "test", noClassnameStored = true) @Embedded public class ComponentConfigLine {
@Entity(value = "test", noClassnameStored = true) @Embedded public class SwingPageConfigLine {
@Entity(value = "test", noClassnameStored = true) @Embedded public class WebPageConfigLine {
@Entity(value = "test", noClassnameStored = true) @Embedded public class WebPageConfigLine{
@Entity(value = "elements") @Indexes({ @Index(value = "name") }) public class ElementImpl extends BasicEntityBean implements IElement{ public String type; public String locator; public String method; public int position; public ElementImpl() { this.type = ""; this.locator = ""; this.name = ""; this.method = ""; this.position = 0; } }
@Entity(value = "projects") @Indexes({ @Index(value = "name") }) public class ProjectImpl extends BasicTaggableMongoBean implements IProject { @Id ObjectId id = new ObjectId(); /** * serialization */ public ProjectImpl(){ //NO-OP } public ObjectId getId(){ return this.id; } public void setId(String id){ this.id = new ObjectId(id); } @Override public String getIdAsString() { return getId().toString(); } }
@Entity(value = "teams") @Indexes({ @Index(value = "name")
@Entity(value = "report.campaigns") @Indexes({ @Index(value = "name, -iteration"), @Index("iteration") }) public class Campaign extends BasicTaggableMongoBean implements ICampaign {
@Entity(value = "report.campaigns") @Indexes({ @Index(value = "name, -iteration"), @Index("iteration")