protected Group( GrouperSession s, Stem ns, String extn, String displayExtn ) throws SchemaException { this.s = s;  this._setCreated();  this.setGroup_id( GrouperUuid.getUuid() );  Set attributes = new LinkedHashSet(); this.attr_de  = displayExtn; this.attr_dn  = Stem.constructName(ns.getDisplayName(), displayExtn); this.attr_e   = extn; this.attr_n   = Stem.constructName(ns.getName(), extn); attributes.add( new Attribute(this, FieldFinder.find("displayExtension"), attr_de ) ); attributes.add( new Attribute(this, FieldFinder.find("displayName")     , attr_dn ) ); attributes.add( new Attribute(this, FieldFinder.find("extension")       , attr_e  ) ); attributes.add( new Attribute(this, FieldFinder.find("name")            , attr_n  ) ); this.setGroup_attributes(attributes); }
public Group() {  }
  protected Group(    GrouperSession s, Stem ns, String extn, String displayExtn  )     throws SchemaException  {    this.s = s;    // Set create information    this._setCreated();    // Assign UUID    this.setGroup_id( GrouperUuid.getUuid() );    // Set naming information    Set attributes = new LinkedHashSet();    this.attr_de  = displayExtn;    this.attr_dn  = Stem.constructName(ns.getDisplayName(), displayExtn);    this.attr_e   = extn;    this.attr_n   = Stem.constructName(ns.getName(), extn);    attributes.add(      new Attribute(this, FieldFinder.find("displayExtension"), attr_de )    );    attributes.add(      new Attribute(this, FieldFinder.find("displayName")     , attr_dn )    );    attributes.add(      new Attribute(this, FieldFinder.find("extension")       , attr_e  )    );    attributes.add(      new Attribute(this, FieldFinder.find("name")            , attr_n  )    );    this.setGroup_attributes(attributes);  } // protected Group(s, ns, extn, displayExtn)