private Builder createifnonexistent(String __value) { return createifnonexistent(Boolean.valueOf(__value)); }
private Builder removeifzero(String __value) { return removeifzero(Boolean.valueOf(__value)); }
public Builder(Datatype config) { id(config.id()); type(config.type()); array(new Array.Builder(config.array())); map(new Map.Builder(config.map())); wset(new Wset.Builder(config.wset())); annotationref(new Annotationref.Builder(config.annotationref())); sstruct(new Sstruct.Builder(config.sstruct())); }
private Builder override(Builder __superior) { key(key.override(__superior.key)); if (__superior.createifnonexistent != null) createifnonexistent(__superior.createifnonexistent); if (__superior.removeifzero != null) removeifzero(__superior.removeifzero); return this; }
private Builder override(Builder __superior) { if (__superior.id != null) id(__superior.id); if (__superior.type != null) type(__superior.type); array(array.override(__superior.array)); map(map.override(__superior.map)); wset(wset.override(__superior.wset)); annotationref(annotationref.override(__superior.annotationref)); sstruct(sstruct.override(__superior.sstruct)); return this; }
public Builder(Wset config) { key(new Key.Builder(config.key())); createifnonexistent(config.createifnonexistent()); removeifzero(config.removeifzero()); }
private void buildConfig(WeightedSetDataType type, DocumenttypesConfig.Documenttype.Datatype.Builder dataTypeBuilder, DocumenttypesConfig.Documenttype.Builder documentBuilder, Set<Integer> built) { dataTypeBuilder.type(DocumenttypesConfig.Documenttype.Datatype.Type.Enum.WSET). wset(new DocumenttypesConfig.Documenttype.Datatype.Wset.Builder(). key(new DocumenttypesConfig.Documenttype.Datatype.Wset.Key.Builder(). id(type.getNestedType().getId())). createifnonexistent(type.createIfNonExistent()). removeifzero(type.removeIfZero())); buildConfig(type.getNestedType(), documentBuilder, built); }