import java.util.List;
import java.util.Map;
+import net.pterodactylus.jsite.core.Node;
+import net.pterodactylus.jsite.util.IdGenerator;
import net.pterodactylus.util.beans.AbstractBean;
+import net.pterodactylus.util.number.Hex;
/**
* Container for project information. A Project is capable of notifying
* Creates a new project.
*/
public Project() {
- /* do nothing. */
+ id = Hex.toHex(IdGenerator.generateId());
}
/**
* @param project
*/
Project(Project project) {
+ this();
this.name = project.name;
this.description = project.description;
this.publicKey = project.publicKey;