export class Archetype { public artifactId : string ; public groupId : string ; public repository ? : string ; public description ? : string ; public versions : string [ ] ; constructor ( aid , gid , repo ? , desc ? , versions = [ ] ) { this . artifactId = aid ; this . groupId = gid ; this . versions = versions ; this . description = desc ; this . repository = repo ; } public get identifier ( ) : string { return `${ this . groupId }:${ this . artifactId }` ; } }