private TermParameterDefinition(Builder builder) {
   id = builder.getId();
   termId = builder.getTermId();
   name = builder.getName();
   value = builder.getValue();
   versionNumber = builder.getVersionNumber();
 }
Esempio n. 2
0
 /**
  * Constructs a ParameterType from the given builder. This constructor is private and should only
  * ever be invoked from the builder.
  *
  * @param builder the Builder from which to construct the parameter type
  */
 private ParameterType(Builder builder) {
   code = builder.getCode();
   name = builder.getName();
   active = builder.isActive();
   versionNumber = builder.getVersionNumber();
   this.objectId = builder.getObjectId();
 }
Esempio n. 3
0
 private County(Builder builder) {
   code = builder.getCode();
   name = builder.getName();
   countryCode = builder.getCountryCode();
   stateCode = builder.getStateCode();
   active = builder.isActive();
   versionNumber = builder.getVersionNumber();
 }
Esempio n. 4
0
 private Country(Builder builder) {
   this.code = builder.getCode();
   this.alternateCode = builder.getAlternateCode();
   this.name = builder.getName();
   this.restricted = builder.isRestricted();
   this.active = builder.isActive();
   this.versionNumber = builder.getVersionNumber();
 }
Esempio n. 5
0
 private Gaia(Builder builder) {
   this.name = builder.getName();
   this.objectToMutate = builder.getMutativeView();
   this.originalColor = builder.getColorToScale();
   // tango down!
   GaiaUtils.seekAndDestroy(getName());
   // good morning!!
   App.GAIAS.add(this);
   // One Bus to rule them all, One Bus to find them,
   // One Bus to bring them all and in the darkness bind them
   App.BUS.register(this);
 }
Esempio n. 6
0
 private ExtensionDefinition(Builder builder) {
   this.id = builder.getId();
   this.name = builder.getName();
   this.applicationId = builder.getApplicationId();
   this.label = builder.getLabel();
   this.description = builder.getDescription();
   this.type = builder.getType();
   this.resourceDescriptor = builder.getResourceDescriptor();
   if (builder.getConfiguration() == null) {
     this.configuration = Collections.emptyMap();
   } else {
     this.configuration =
         Collections.unmodifiableMap(new HashMap<String, String>(builder.getConfiguration()));
   }
   this.versionNumber = builder.getVersionNumber();
 }