public  JavaBeanGeneratorCreator<T> fixedProperties(String... fixedPropertyNames)
	{
		if(fixedPropertyNames == null || fixedPropertyNames.length == 0)
		{
			return this;
		}
		
		HashSet<String> fixSet = new HashSet<>(Arrays.asList(fixedPropertyNames));
		
		Map<Object,Object> map = null;
		
		if(this.prototype != null)
		{
			map  =JavaBean.toMap(this.prototype);
		}
		else
			map = JavaBean.toMap(ClassPath.newInstance(this.creationClass));
		
		if(map == null || map.isEmpty())
			return this;
		
		String propertyName = null;
		for(Object propertyNameObject : map.keySet())
		{
			propertyName = String.valueOf(propertyNameObject);
			if(!fixSet.contains(propertyName))
			{
				this.randomizeProperty(propertyName);
			}
		}
		
		return this;
	}
public JavaBeanGeneratorCreator < T > fixedProperties ( String ... fixedPropertyNames ) { if ( fixedPropertyNames == null || fixedPropertyNames . length == 0 ) { return this ; } HashSet < String > fixSet = new HashSet < > ( Arrays . asList ( fixedPropertyNames ) ) ; Map < Object , Object > map = null ; if ( this . prototype != null ) { map = JavaBean . toMap ( this . prototype ) ; } else map = JavaBean . toMap ( ClassPath . newInstance ( this . creationClass ) ) ; if ( map == null || map . isEmpty ( ) ) return this ; String propertyName = null ; for ( Object propertyNameObject : map . keySet ( ) ) { propertyName = String . valueOf ( propertyNameObject ) ; if ( ! fixSet . contains ( propertyName ) ) { this . randomizeProperty ( propertyName ) ; } } return this ; }
Randomized to records that are not in fixed list
@param fixedPropertyNames the fixed list of property names
@return the creator factory