/** * Returns {@code true} if the two specified documents represents the same * element in the database. Two documents are considered same if they have * the same name and type and their parents are considered same. * * @param first the first document * @param second the second document * @return {@code true} if same, else {@code false} */ public static boolean isSame(Project first, Project second) { return first.getId().equals(second.getId()); }
@Override protected String getJavadocRepresentText() { return "A {@link " + ApplicationMetadata.class.getName() + "} class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "." + " This class contains the meta data present at code generation time."; }
@Override protected String getJavadocRepresentText() { return "A generated base {@link " + AbstractApplicationBuilder.class.getName() + "} class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "The generated {@link " + AbstractApplicationBuilder.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "The default {@link " + Speedment.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "The generated {@link " + AbstractApplicationBuilder.class.getName() + "} application interface for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; } }
@Override protected String getJavadocRepresentText() { return "The default {@link " + ApplicationBuilder.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "An {@link " + ApplicationBuilder.class.getName() + "} interface for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
ImmutableProject(Map<String, Object> project) { super(project); final Project prototype = new ProjectImpl(project); this.enabled = prototype.isEnabled(); this.id = prototype.getId(); this.name = prototype.getName(); this.companyName = prototype.getCompanyName(); this.packageName = prototype.getPackageName(); this.packageLocation = prototype.getPackageLocation(); this.configPath = prototype.getConfigPath(); this.dbmses = unmodifiableList(super.children(DBMSES, ImmutableDbms::new).collect(toList())); this.tablesByName = MapStream.fromValues( DocumentDbUtil.traverseOver(this, ImmutableTable.class), table -> DocumentUtil.relativeName(table, Dbms.class, DATABASE_NAME) ).toMap(); }
@Override protected String getJavadocRepresentText() { return "The default {@link " + Speedment.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "The generated {@link " + AbstractApplicationBuilder.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "The default {@link " + ApplicationBuilder.class.getName() + "} implementation class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "An {@link " + ApplicationBuilder.class.getName() + "} interface for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }
@Override protected String getJavadocRepresentText() { return "A {@link " + ApplicationMetadata.class.getName() + "} class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "." + " This class contains the meta data present at code generation time."; }
@Override protected String getJavadocRepresentText() { return "The generated {@link " + AbstractApplicationBuilder.class.getName() + "} application interface for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; } }
@Override protected String getJavadocRepresentText() { return "A generated base {@link " + AbstractApplicationBuilder.class.getName() + "} class for the {@link " + Project.class.getName() + "} named " + getSupport().projectOrThrow().getId() + "."; }