private TermParameterDefinition(Builder builder) {
   id = builder.getId();
   termId = builder.getTermId();
   name = builder.getName();
   value = builder.getValue();
   versionNumber = builder.getVersionNumber();
 }
예제 #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();
 }
예제 #3
0
 private County(Builder builder) {
   code = builder.getCode();
   name = builder.getName();
   countryCode = builder.getCountryCode();
   stateCode = builder.getStateCode();
   active = builder.isActive();
   versionNumber = builder.getVersionNumber();
 }
예제 #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();
 }
예제 #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);
 }
예제 #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();
 }